Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") [/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.7159/0.7159, allocations: 117.9 MB / 133.9 MB, free: 9.219 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.001017/0.001017, allocations: 180.5 kB / 161.7 MB, free: 13.98 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.605/1.605, allocations: 205.4 MB / 394.8 MB, free: 10.08 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.0007517/0.0007517, allocations: 88.3 kB / 470.1 MB, free: 29.18 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004228/0.0004233, allocations: 12 kB / 0.5423 GB, free: 9.758 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1784, allocations: 74.54 MB / 0.6151 GB, free: 15.16 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.116/1.295, allocations: 355.9 MB / 0.9627 GB, free: 170.1 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/1.295, allocations: 99.94 kB / 0.9628 GB, free: 170 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.7911/2.086, allocations: 232.2 MB / 1.19 GB, free: 128.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.785e-06/2.086, allocations: 3.938 kB / 1.19 GB, free: 128.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.194e-05/2.086, allocations: 26.58 kB / 1.19 GB, free: 128.5 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002816/2.089, allocations: 1.051 MB / 1.191 GB, free: 127.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/2.089, allocations: 9.875 kB / 1.191 GB, free: 127.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/2.091, allocations: 255.7 kB / 1.191 GB, free: 127.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/2.092, allocations: 0.5352 MB / 1.191 GB, free: 127.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/2.092, allocations: 38.41 kB / 1.191 GB, free: 127.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/2.092, allocations: 53.97 kB / 1.192 GB, free: 127.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004551/2.097, allocations: 1.166 MB / 1.193 GB, free: 126.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/2.097, allocations: 7.875 kB / 1.193 GB, free: 126.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-05/2.097, allocations: 17.44 kB / 1.193 GB, free: 126.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/2.097, allocations: 11.44 kB / 1.193 GB, free: 126.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004559/2.102, allocations: 1.087 MB / 1.194 GB, free: 126.7 MB / 0.6198 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.004194/2.106, allocations: 3.249 MB / 1.197 GB, free: 124.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003677/2.11, allocations: 0.8392 MB / 1.198 GB, free: 124 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000712/2.11, allocations: 269.5 kB / 1.198 GB, free: 123.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003272/2.111, allocations: 349.6 kB / 1.198 GB, free: 123.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/2.111, allocations: 39.59 kB / 1.198 GB, free: 123.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=35): time 2.374e-06/2.111, allocations: 0 / 1.198 GB, free: 123.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35): time 0.009898/2.121, allocations: 1.942 MB / 1.2 GB, free: 123.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/2.121, allocations: 64.72 kB / 1.2 GB, free: 123 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/2.122, allocations: 0.5666 MB / 1.201 GB, free: 122.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001832/2.122, allocations: 36.58 kB / 1.201 GB, free: 122.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/2.123, allocations: 337 kB / 1.201 GB, free: 122.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/2.123, allocations: 125.9 kB / 1.201 GB, free: 122.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.979e-05/2.123, allocations: 10.41 kB / 1.201 GB, free: 122.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002185/2.123, allocations: 368 kB / 1.202 GB, free: 122 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/2.125, allocations: 419.7 kB / 1.202 GB, free: 121.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/2.126, allocations: 0.5871 MB / 1.203 GB, free: 121.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002642/2.129, allocations: 0.9232 MB / 1.204 GB, free: 121.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/2.129, allocations: 0 / 1.204 GB, free: 121.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003358/2.133, allocations: 1.144 MB / 1.205 GB, free: 120.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/2.133, allocations: 219.1 kB / 1.205 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/2.133, allocations: 7.719 kB / 1.205 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007659/2.133, allocations: 220.5 kB / 1.205 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/2.135, allocations: 229.9 kB / 1.205 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/2.137, allocations: 0.8163 MB / 1.206 GB, free: 120 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/2.138, allocations: 181.7 kB / 1.206 GB, free: 119.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/2.138, allocations: 36.62 kB / 1.206 GB, free: 119.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/2.138, allocations: 3.406 kB / 1.206 GB, free: 119.9 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002944/2.141, allocations: 1.002 MB / 1.207 GB, free: 119.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/2.141, allocations: 8.438 kB / 1.207 GB, free: 119.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/2.141, allocations: 7.625 kB / 1.207 GB, free: 119.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/2.143, allocations: 251.3 kB / 1.208 GB, free: 119.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.462e-05/2.143, allocations: 14.64 kB / 1.208 GB, free: 119.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/2.144, allocations: 169.2 kB / 1.208 GB, free: 119.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/2.144, allocations: 43.77 kB / 1.208 GB, free: 119.6 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (69): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005507/2.145, allocations: 264.8 kB / 1.208 GB, free: 119.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/2.145, allocations: 67.06 kB / 1.208 GB, free: 119.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00334/2.148, allocations: 1.046 MB / 1.209 GB, free: 119 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/2.148, allocations: 8.219 kB / 1.209 GB, free: 119 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/2.148, allocations: 0 / 1.209 GB, free: 119 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/2.148, allocations: 0 / 1.209 GB, free: 119 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007438/2.156, allocations: 2.172 MB / 1.211 GB, free: 118.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/2.156, allocations: 0 / 1.211 GB, free: 118.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008699/2.157, allocations: 156.5 kB / 1.211 GB, free: 118.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006972/2.158, allocations: 215.5 kB / 1.212 GB, free: 118.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.28e-05/2.158, allocations: 20.89 kB / 1.212 GB, free: 118.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/2.159, allocations: 0.8164 MB / 1.212 GB, free: 117.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/2.16, allocations: 1.312 kB / 1.212 GB, free: 117.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005016/2.165, allocations: 1.373 MB / 1.214 GB, free: 117.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005913/2.165, allocations: 209 kB / 1.214 GB, free: 116.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/2.165, allocations: 9.969 kB / 1.214 GB, free: 116.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/2.167, allocations: 130.4 kB / 1.214 GB, free: 116.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/2.167, allocations: 29.78 kB / 1.214 GB, free: 116.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.021e-05/2.167, allocations: 26.78 kB / 1.214 GB, free: 116.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007488/2.168, allocations: 400.5 kB / 1.215 GB, free: 116.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/2.168, allocations: 0 / 1.215 GB, free: 116.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002053/2.17, allocations: 407.9 kB / 1.215 GB, free: 116.6 MB / 0.6198 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001024/2.171, allocations: 361.6 kB / 1.215 GB, free: 116.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.005865/2.177, allocations: 1.539 MB / 1.217 GB, free: 116.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/2.177, allocations: 0 / 1.217 GB, free: 116.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002268/2.179, allocations: 0.5448 MB / 1.217 GB, free: 116 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/2.181, allocations: 259 kB / 1.218 GB, free: 115.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004062/2.185, allocations: 1.399 MB / 1.219 GB, free: 115.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005866/2.186, allocations: 0.8998 MB / 1.22 GB, free: 114.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001302/2.187, allocations: 159.1 kB / 1.22 GB, free: 114.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/2.188, allocations: 74.23 kB / 1.22 GB, free: 114.4 MB / 0.6198 GB Notification: Performance of SimCode: time 1.392e-06/2.188, allocations: 0 / 1.22 GB, free: 114.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.02941/2.217, allocations: 15.72 MB / 1.235 GB, free: 113.4 MB / 0.6198 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)