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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6302/0.6302, allocations: 117.9 MB / 133.9 MB, free: 4.52 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.001072/0.001072, allocations: 179.1 kB / 161.7 MB, free: 2.746 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.3 MB / 394.8 MB, free: 21.12 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.001024/0.001023, allocations: 99.78 kB / 470.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003954, allocations: 12 kB / 0.5423 GB, free: 7.086 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3726, allocations: 74.54 MB / 0.6151 GB, free: 54.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.439, allocations: 386.9 MB / 0.993 GB, free: 237.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/1.44, allocations: 110.8 kB / 0.9931 GB, free: 237.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.025/3.464, allocations: 0.645 GB / 1.638 GB, free: 88.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/3.464, allocations: 6.219 kB / 1.638 GB, free: 88.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003293/3.465, allocations: 45.5 kB / 1.638 GB, free: 88.1 MB / 0.6355 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.006474/3.471, allocations: 2.046 MB / 1.64 GB, free: 86.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/3.471, allocations: 10.34 kB / 1.64 GB, free: 86.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/3.473, allocations: 200 kB / 1.64 GB, free: 86.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005791/3.478, allocations: 1.867 MB / 1.642 GB, free: 85.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/3.479, allocations: 87.12 kB / 1.642 GB, free: 85.13 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004782/3.479, allocations: 112.9 kB / 1.642 GB, free: 85.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003618/3.483, allocations: 1.242 MB / 1.644 GB, free: 84.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.895e-05/3.483, allocations: 7.844 kB / 1.644 GB, free: 84.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/3.483, allocations: 42.94 kB / 1.644 GB, free: 84.35 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/3.483, allocations: 29.58 kB / 1.644 GB, free: 84.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/3.486, allocations: 0.9451 MB / 1.645 GB, free: 83.9 MB / 0.6355 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.007475/3.493, allocations: 5.261 MB / 1.65 GB, free: 78.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/3.495, allocations: 0.4997 MB / 1.65 GB, free: 78.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/3.495, allocations: 212.6 kB / 1.65 GB, free: 78.04 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004677/3.495, allocations: 0.6687 MB / 1.651 GB, free: 77.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/3.495, allocations: 34.56 kB / 1.651 GB, free: 77.19 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=38): time 3.828e-06/3.495, allocations: 0.6562 kB / 1.651 GB, free: 77.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38): time 0.003509/3.499, allocations: 1.074 MB / 1.652 GB, free: 76.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/3.499, allocations: 55.41 kB / 1.652 GB, free: 76.06 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/3.501, allocations: 1.345 MB / 1.654 GB, free: 74.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/3.501, allocations: 37.7 kB / 1.654 GB, free: 74.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005867/3.502, allocations: 0.7459 MB / 1.654 GB, free: 73.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/3.502, allocations: 137.4 kB / 1.654 GB, free: 73.78 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/3.502, allocations: 18.34 kB / 1.654 GB, free: 73.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.331e-05/3.502, allocations: 337.9 kB / 1.655 GB, free: 73.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006971/3.503, allocations: 310 kB / 1.655 GB, free: 73.13 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000825/3.504, allocations: 0.5925 MB / 1.656 GB, free: 72.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/3.505, allocations: 0.7886 MB / 1.656 GB, free: 71.58 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/3.505, allocations: 0 / 1.656 GB, free: 71.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002282/3.507, allocations: 1.008 MB / 1.657 GB, free: 70.58 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001609/3.508, allocations: 249.6 kB / 1.658 GB, free: 70.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/3.508, allocations: 4 kB / 1.658 GB, free: 70.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.86e-05/3.508, allocations: 16 kB / 1.658 GB, free: 70.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008614/3.509, allocations: 211.7 kB / 1.658 GB, free: 70.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/3.509, allocations: 11.94 kB / 1.658 GB, free: 70.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/3.51, allocations: 210.6 kB / 1.658 GB, free: 69.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/3.51, allocations: 39.98 kB / 1.658 GB, free: 69.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/3.51, allocations: 4 kB / 1.658 GB, free: 69.77 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001114/3.511, allocations: 0.6686 MB / 1.659 GB, free: 69.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/3.511, allocations: 4 kB / 1.659 GB, free: 69.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/3.512, allocations: 12.69 kB / 1.659 GB, free: 69.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005734/3.512, allocations: 179.2 kB / 1.659 GB, free: 68.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/3.512, allocations: 11.98 kB / 1.659 GB, free: 68.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/3.513, allocations: 151 kB / 1.659 GB, free: 68.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.298e-05/3.513, allocations: 35.98 kB / 1.659 GB, free: 68.71 MB / 0.6355 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.0009581/3.514, allocations: 436.5 kB / 1.66 GB, free: 68.28 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003235/3.515, allocations: 150.2 kB / 1.66 GB, free: 68.13 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/3.516, allocations: 0.7495 MB / 1.66 GB, free: 67.37 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/3.517, allocations: 4 kB / 1.66 GB, free: 67.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/3.517, allocations: 0 / 1.66 GB, free: 67.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001116/3.518, allocations: 0.8272 MB / 1.661 GB, free: 66.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/3.52, allocations: 1.032 MB / 1.662 GB, free: 65.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/3.52, allocations: 0 / 1.662 GB, free: 65.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005827/3.52, allocations: 123.8 kB / 1.662 GB, free: 65.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/3.52, allocations: 4 kB / 1.662 GB, free: 65.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/3.52, allocations: 12 kB / 1.662 GB, free: 65.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/3.52, allocations: 6.141 kB / 1.662 GB, free: 65.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/3.52, allocations: 0 / 1.662 GB, free: 65.24 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/3.522, allocations: 0.9801 MB / 1.663 GB, free: 64.24 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006788/3.523, allocations: 303 kB / 1.664 GB, free: 63.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003307/3.523, allocations: 4 kB / 1.664 GB, free: 63.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009886/3.524, allocations: 103.9 kB / 1.664 GB, free: 63.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.209e-05/3.524, allocations: 23.97 kB / 1.664 GB, free: 63.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.726e-05/3.524, allocations: 15.98 kB / 1.664 GB, free: 63.78 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00147/3.526, allocations: 0.9396 MB / 1.665 GB, free: 62.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/3.526, allocations: 4 kB / 1.665 GB, free: 62.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002906/3.529, allocations: 0.7642 MB / 1.665 GB, free: 62.07 MB / 0.6355 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.001551/3.53, allocations: 0.713 MB / 1.666 GB, free: 61.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002291/3.533, allocations: 1.023 MB / 1.667 GB, free: 60.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/3.533, allocations: 0 / 1.667 GB, free: 60.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000552/3.533, allocations: 260 kB / 1.667 GB, free: 60.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004078/3.537, allocations: 0.822 MB / 1.668 GB, free: 59.39 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/3.55, allocations: 3.721 MB / 1.672 GB, free: 55.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/3.551, allocations: 1.229 MB / 1.673 GB, free: 54.39 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002155/3.553, allocations: 309.5 kB / 1.673 GB, free: 54.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004834/3.554, allocations: 119.4 kB / 1.673 GB, free: 53.98 MB / 0.6355 GB Notification: Performance of SimCode: time 1.753e-06/3.554, allocations: 0 / 1.673 GB, free: 53.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.05599/3.61, allocations: 32.63 MB / 1.705 GB, free: 21.91 MB / 0.6355 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)