Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") [/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.6434/0.6434, allocations: 117.9 MB / 133.9 MB, free: 4.504 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.0009279/0.0009278, allocations: 179.8 kB / 161.7 MB, free: 2.734 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.924/1.924, allocations: 205.4 MB / 394.8 MB, free: 21.14 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.0008979/0.0008981, allocations: 104.1 kB / 470.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 12 kB / 0.5423 GB, free: 7.062 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3835, allocations: 74.54 MB / 0.6151 GB, free: 54.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7678/1.151, allocations: 360.4 MB / 0.9671 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/1.152, allocations: 104.9 kB / 0.9672 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.438/2.59, allocations: 355.6 MB / 1.314 GB, free: 152 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.172e-06/2.59, allocations: 0 / 1.314 GB, free: 152 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.56e-05/2.59, allocations: 24.7 kB / 1.314 GB, free: 152 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002335/2.593, allocations: 1.29 MB / 1.316 GB, free: 151.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/2.593, allocations: 10.88 kB / 1.316 GB, free: 151.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006952/2.593, allocations: 187.8 kB / 1.316 GB, free: 151.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/2.595, allocations: 0.7049 MB / 1.317 GB, free: 151 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.737e-05/2.595, allocations: 61.03 kB / 1.317 GB, free: 151 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/2.595, allocations: 85.62 kB / 1.317 GB, free: 151 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002603/2.597, allocations: 0.8647 MB / 1.318 GB, free: 150.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/2.597, allocations: 3.938 kB / 1.318 GB, free: 150.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.65e-05/2.597, allocations: 24.69 kB / 1.318 GB, free: 150.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/2.598, allocations: 15.61 kB / 1.318 GB, free: 150.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/2.6, allocations: 0.7199 MB / 1.318 GB, free: 150.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.003498/2.604, allocations: 2.529 MB / 1.321 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/2.606, allocations: 0.5534 MB / 1.321 GB, free: 149.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/2.606, allocations: 139.3 kB / 1.322 GB, free: 149.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003735/2.606, allocations: 439.7 kB / 1.322 GB, free: 149.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/2.606, allocations: 33.66 kB / 1.322 GB, free: 149.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 2.725e-06/2.606, allocations: 0 / 1.322 GB, free: 149.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.004554/2.611, allocations: 1.079 MB / 1.323 GB, free: 149.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/2.611, allocations: 61.91 kB / 1.323 GB, free: 149 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000814/2.612, allocations: 0.7515 MB / 1.324 GB, free: 148.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/2.612, allocations: 47.08 kB / 1.324 GB, free: 148.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/2.612, allocations: 438.9 kB / 1.324 GB, free: 148.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.484e-05/2.612, allocations: 87.67 kB / 1.324 GB, free: 148.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/2.612, allocations: 7.625 kB / 1.324 GB, free: 148.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.744e-05/2.612, allocations: 324.8 kB / 1.325 GB, free: 148.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006608/2.613, allocations: 268.5 kB / 1.325 GB, free: 148.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/2.614, allocations: 0.9049 MB / 1.326 GB, free: 147.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/2.616, allocations: 0.5814 MB / 1.326 GB, free: 147.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/2.616, allocations: 0 / 1.326 GB, free: 147.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001684/2.617, allocations: 0.773 MB / 1.327 GB, free: 147.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.868e-05/2.617, allocations: 156.9 kB / 1.327 GB, free: 147.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/2.617, allocations: 0 / 1.327 GB, free: 147.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/2.617, allocations: 6.25 kB / 1.327 GB, free: 147.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002948/2.62, allocations: 0.5146 MB / 1.328 GB, free: 147.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008687/2.629, allocations: 6.164 MB / 1.334 GB, free: 142.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002484/2.632, allocations: 440.9 kB / 1.334 GB, free: 142.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/2.632, allocations: 26.56 kB / 1.334 GB, free: 142.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/2.632, allocations: 3.656 kB / 1.334 GB, free: 142.1 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001343/2.633, allocations: 0.5648 MB / 1.335 GB, free: 142 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/2.633, allocations: 2.688 kB / 1.335 GB, free: 142 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.308e-06/2.633, allocations: 6.875 kB / 1.335 GB, free: 142 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006903/2.634, allocations: 162.5 kB / 1.335 GB, free: 142 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/2.634, allocations: 15.52 kB / 1.335 GB, free: 142 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/2.636, allocations: 408.9 kB / 1.335 GB, free: 142 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/2.636, allocations: 28.92 kB / 1.335 GB, free: 142 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005246/2.636, allocations: 291.1 kB / 1.336 GB, free: 141.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/2.637, allocations: 76.06 kB / 1.336 GB, free: 141.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/2.638, allocations: 0.6279 MB / 1.336 GB, free: 141.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/2.638, allocations: 7.75 kB / 1.336 GB, free: 141.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/2.638, allocations: 0 / 1.336 GB, free: 141.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/2.638, allocations: 0 / 1.336 GB, free: 141.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/2.641, allocations: 1.269 MB / 1.338 GB, free: 141.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/2.641, allocations: 7.812 kB / 1.338 GB, free: 141.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002822/2.643, allocations: 0.4991 MB / 1.338 GB, free: 141.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/2.644, allocations: 3.797 kB / 1.338 GB, free: 141.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/2.644, allocations: 10.89 kB / 1.338 GB, free: 141.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007414/2.651, allocations: 5.993 MB / 1.344 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/2.651, allocations: 3.25 kB / 1.344 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/2.653, allocations: 0.6476 MB / 1.345 GB, free: 135.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006824/2.653, allocations: 205.7 kB / 1.345 GB, free: 135.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000258/2.654, allocations: 9.344 kB / 1.345 GB, free: 135.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009764/2.655, allocations: 110.3 kB / 1.345 GB, free: 135.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/2.655, allocations: 23.41 kB / 1.345 GB, free: 135.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.963e-05/2.655, allocations: 12.91 kB / 1.345 GB, free: 135.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009066/2.656, allocations: 0.5298 MB / 1.345 GB, free: 135.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.41e-07/2.656, allocations: 0 / 1.345 GB, free: 135.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002452/2.658, allocations: 0.4988 MB / 1.346 GB, free: 135.6 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001367/2.66, allocations: 439.5 kB / 1.346 GB, free: 135.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005669/2.665, allocations: 1.291 MB / 1.348 GB, free: 135.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/2.665, allocations: 0 / 1.348 GB, free: 135.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00315/2.669, allocations: 0.6622 MB / 1.348 GB, free: 135.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/2.671, allocations: 408.8 kB / 1.349 GB, free: 135.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003667/2.675, allocations: 1.535 MB / 1.35 GB, free: 134.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006217/2.675, allocations: 0.9548 MB / 1.351 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001695/2.677, allocations: 164.9 kB / 1.351 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/2.677, allocations: 75.19 kB / 1.351 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of SimCode: time 1.583e-06/2.677, allocations: 0 / 1.351 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of Templates: time 0.03807/2.716, allocations: 21.77 MB / 1.373 GB, free: 121.9 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)