Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8471/0.8471, allocations: 128.8 MB / 143.7 MB, free: 2.312 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001256/0.001256, allocations: 178.3 kB / 173.8 MB, free: 6.121 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009595/0.0009595, allocations: 96.59 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003233, allocations: 10.62 kB / 0.5604 GB, free: 97.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1761, allocations: 76.76 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.233/1.409, allocations: 387.9 MB / 1.014 GB, free: 236.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004014/1.41, allocations: 106.5 kB / 1.014 GB, free: 236.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.267/3.677, allocations: 0.649 GB / 1.663 GB, free: 79.34 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.806e-06/3.677, allocations: 0 / 1.663 GB, free: 79.34 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001943/3.677, allocations: 51.06 kB / 1.663 GB, free: 79.29 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.005048/3.682, allocations: 2.061 MB / 1.665 GB, free: 77.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/3.682, allocations: 8.031 kB / 1.665 GB, free: 77.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005482/3.683, allocations: 205.6 kB / 1.665 GB, free: 76.99 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003859/3.686, allocations: 1.876 MB / 1.667 GB, free: 75.11 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.904e-05/3.687, allocations: 82 kB / 1.667 GB, free: 75.04 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/3.687, allocations: 116 kB / 1.667 GB, free: 74.92 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003087/3.69, allocations: 1.249 MB / 1.669 GB, free: 73.65 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/3.69, allocations: 0 / 1.669 GB, free: 73.65 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.935e-05/3.69, allocations: 42.06 kB / 1.669 GB, free: 73.61 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-05/3.69, allocations: 35.64 kB / 1.669 GB, free: 73.58 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/3.692, allocations: 0.9414 MB / 1.67 GB, free: 72.65 MB / 0.6511 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008003/3.7, allocations: 5.283 MB / 1.675 GB, free: 67.09 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/3.702, allocations: 0.4985 MB / 1.675 GB, free: 66.57 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005857/3.703, allocations: 0.6604 MB / 1.676 GB, free: 65.77 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/3.703, allocations: 39.17 kB / 1.676 GB, free: 65.72 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=38): time 3.447e-06/3.703, allocations: 0 / 1.676 GB, free: 65.72 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38): time 0.003917/3.707, allocations: 1.073 MB / 1.677 GB, free: 64.64 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/3.707, allocations: 55.41 kB / 1.677 GB, free: 64.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/3.709, allocations: 1.216 MB / 1.678 GB, free: 63.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/3.709, allocations: 37.7 kB / 1.678 GB, free: 63.31 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005994/3.709, allocations: 0.7386 MB / 1.679 GB, free: 62.57 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/3.71, allocations: 140.7 kB / 1.679 GB, free: 62.43 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/3.71, allocations: 20 kB / 1.679 GB, free: 62.41 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001378/3.71, allocations: 333.9 kB / 1.68 GB, free: 62.08 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006891/3.71, allocations: 309.8 kB / 1.68 GB, free: 61.78 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009253/3.711, allocations: 0.5911 MB / 1.68 GB, free: 61.06 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007962/3.712, allocations: 385.9 kB / 1.681 GB, free: 60.69 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/3.712, allocations: 3.938 kB / 1.681 GB, free: 60.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001935/3.714, allocations: 1.012 MB / 1.682 GB, free: 59.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000745/3.715, allocations: 2.248 MB / 1.684 GB, free: 57.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/3.715, allocations: 8 kB / 1.684 GB, free: 57.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.828e-05/3.715, allocations: 8 kB / 1.684 GB, free: 57.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009622/3.716, allocations: 215.7 kB / 1.684 GB, free: 56.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.971e-05/3.716, allocations: 19.89 kB / 1.684 GB, free: 56.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/3.718, allocations: 202.7 kB / 1.684 GB, free: 56.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-05/3.718, allocations: 39.98 kB / 1.684 GB, free: 56.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/3.718, allocations: 4 kB / 1.684 GB, free: 56.72 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001055/3.719, allocations: 0.6691 MB / 1.685 GB, free: 56.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/3.719, allocations: 4 kB / 1.685 GB, free: 56.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/3.719, allocations: 12 kB / 1.685 GB, free: 56.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005828/3.719, allocations: 171.7 kB / 1.685 GB, free: 55.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/3.719, allocations: 16.23 kB / 1.685 GB, free: 55.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/3.72, allocations: 155 kB / 1.685 GB, free: 55.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-05/3.721, allocations: 43.78 kB / 1.685 GB, free: 55.66 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001122/3.722, allocations: 436.6 kB / 1.686 GB, free: 55.22 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/3.722, allocations: 146.1 kB / 1.686 GB, free: 55.08 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/3.724, allocations: 0.752 MB / 1.687 GB, free: 54.31 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/3.724, allocations: 4 kB / 1.687 GB, free: 54.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/3.724, allocations: 0 / 1.687 GB, free: 54.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001191/3.725, allocations: 0.8235 MB / 1.688 GB, free: 53.39 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/3.726, allocations: 1.043 MB / 1.689 GB, free: 52.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/3.726, allocations: 0 / 1.689 GB, free: 52.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006431/3.727, allocations: 123.8 kB / 1.689 GB, free: 52.19 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/3.727, allocations: 8 kB / 1.689 GB, free: 52.18 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/3.727, allocations: 11.98 kB / 1.689 GB, free: 52.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/3.727, allocations: 0 / 1.689 GB, free: 52.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/3.727, allocations: 0 / 1.689 GB, free: 52.17 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/3.729, allocations: 0.9764 MB / 1.69 GB, free: 51.17 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005873/3.73, allocations: 310.9 kB / 1.69 GB, free: 50.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/3.73, allocations: 7.938 kB / 1.69 GB, free: 50.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008418/3.731, allocations: 107.8 kB / 1.69 GB, free: 50.73 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.595e-05/3.731, allocations: 27.83 kB / 1.69 GB, free: 50.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/3.731, allocations: 15.98 kB / 1.69 GB, free: 50.69 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00123/3.732, allocations: 0.9865 MB / 1.691 GB, free: 49.71 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.21e-07/3.732, allocations: 0 / 1.691 GB, free: 49.71 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002467/3.735, allocations: 0.7744 MB / 1.692 GB, free: 48.94 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001433/3.736, allocations: 0.7265 MB / 1.693 GB, free: 48.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002216/3.738, allocations: 1.019 MB / 1.694 GB, free: 47.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/3.738, allocations: 0 / 1.694 GB, free: 47.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005632/3.739, allocations: 260 kB / 1.694 GB, free: 46.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003199/3.742, allocations: 0.8262 MB / 1.695 GB, free: 46.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/3.755, allocations: 3.71 MB / 1.698 GB, free: 42.45 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006914/3.756, allocations: 1.264 MB / 1.699 GB, free: 41.16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001802/3.758, allocations: 312.1 kB / 1.7 GB, free: 40.87 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003201/3.758, allocations: 119.4 kB / 1.7 GB, free: 40.75 MB / 0.6511 GB Notification: Performance of SimCode: time 1.413e-06/3.758, allocations: 0 / 1.7 GB, free: 40.75 MB / 0.6511 GB Notification: Performance of Templates: time 0.0616/3.82, allocations: 32.68 MB / 1.732 GB, free: 8.465 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)