Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8615/0.8615, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001209, allocations: 182.9 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 221.3 MB / 441.4 MB, free: 4.617 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009384/0.0009382, allocations: 92.55 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001907/0.001906, allocations: 270.3 kB / 0.5939 GB, free: 7.988 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.492e-05/3.495e-05, allocations: 8 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4212, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7686/1.19, allocations: 354.3 MB / 1.11 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/1.19, allocations: 101.6 kB / 1.11 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.8674/2.058, allocations: 240.8 MB / 1.345 GB, free: 118.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/2.058, allocations: 0 / 1.345 GB, free: 118.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.746e-05/2.058, allocations: 20 kB / 1.345 GB, free: 118.8 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001708/2.059, allocations: 0.9656 MB / 1.346 GB, free: 117.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/2.06, allocations: 12.03 kB / 1.346 GB, free: 117.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/2.06, allocations: 79.06 kB / 1.346 GB, free: 117.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008107/2.061, allocations: 0.5112 MB / 1.347 GB, free: 117.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/2.061, allocations: 37 kB / 1.347 GB, free: 117.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.189e-05/2.061, allocations: 55.94 kB / 1.347 GB, free: 117.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00074/2.061, allocations: 0.5666 MB / 1.348 GB, free: 116.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/2.061, allocations: 7.938 kB / 1.348 GB, free: 116.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.237e-05/2.061, allocations: 16 kB / 1.348 GB, free: 116.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/2.061, allocations: 15.95 kB / 1.348 GB, free: 116.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005484/2.062, allocations: 398.8 kB / 1.348 GB, free: 116 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.002966/2.065, allocations: 3.22 MB / 1.351 GB, free: 112.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/2.065, allocations: 287 kB / 1.351 GB, free: 112.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/2.066, allocations: 184.9 kB / 1.352 GB, free: 112.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002966/2.066, allocations: 344.4 kB / 1.352 GB, free: 111.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/2.066, allocations: 46.58 kB / 1.352 GB, free: 111.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=38): time 2.625e-06/2.066, allocations: 0 / 1.352 GB, free: 111.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=38): time 0.0007859/2.067, allocations: 421.5 kB / 1.352 GB, free: 111.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/2.067, allocations: 55.41 kB / 1.352 GB, free: 111.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004892/2.067, allocations: 0.5074 MB / 1.353 GB, free: 110.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/2.067, allocations: 33.7 kB / 1.353 GB, free: 110.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/2.068, allocations: 328.4 kB / 1.353 GB, free: 110.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.881e-05/2.068, allocations: 142 kB / 1.353 GB, free: 110.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/2.068, allocations: 12 kB / 1.353 GB, free: 110.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001115/2.068, allocations: 374.7 kB / 1.354 GB, free: 109.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/2.068, allocations: 161.5 kB / 1.354 GB, free: 109.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/2.068, allocations: 349.6 kB / 1.354 GB, free: 109.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/2.069, allocations: 197.5 kB / 1.354 GB, free: 109 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/2.069, allocations: 4 kB / 1.354 GB, free: 109 MB / 0.698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009025/2.07, allocations: 0.613 MB / 1.355 GB, free: 108.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003486/2.07, allocations: 1.744 MB / 1.357 GB, free: 106.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/2.07, allocations: 7.938 kB / 1.357 GB, free: 106.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005783/2.071, allocations: 148.7 kB / 1.357 GB, free: 106.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006567/2.071, allocations: 155.8 kB / 1.357 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004896/2.072, allocations: 0.611 MB / 1.358 GB, free: 105.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007347/2.073, allocations: 115.3 kB / 1.358 GB, free: 105.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.413e-05/2.073, allocations: 31.98 kB / 1.358 GB, free: 105.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/2.073, allocations: 5.25 kB / 1.358 GB, free: 105.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007807/2.073, allocations: 0.5097 MB / 1.358 GB, free: 104.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/2.074, allocations: 4 kB / 1.358 GB, free: 104.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/2.074, allocations: 8.562 kB / 1.358 GB, free: 104.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005535/2.074, allocations: 167.8 kB / 1.358 GB, free: 104.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/2.074, allocations: 11.94 kB / 1.359 GB, free: 104.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006134/2.075, allocations: 91.48 kB / 1.359 GB, free: 104.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/2.075, allocations: 35.98 kB / 1.359 GB, free: 104.6 MB / 0.698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0001527/2.075, allocations: 140.8 kB / 1.359 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.957e-05/2.075, allocations: 63.16 kB / 1.359 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009702/2.076, allocations: 0.5614 MB / 1.359 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/2.076, allocations: 4 kB / 1.359 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/2.076, allocations: 4 kB / 1.359 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/2.076, allocations: 7.938 kB / 1.359 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/2.078, allocations: 1.274 MB / 1.361 GB, free: 102.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/2.078, allocations: 4 kB / 1.361 GB, free: 102.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/2.078, allocations: 95.97 kB / 1.361 GB, free: 102.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003285/2.079, allocations: 116.8 kB / 1.361 GB, free: 102.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/2.079, allocations: 8 kB / 1.361 GB, free: 102.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004029/2.079, allocations: 0.6265 MB / 1.361 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/2.079, allocations: 3.953 kB / 1.361 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007333/2.08, allocations: 0.655 MB / 1.362 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/2.08, allocations: 192.1 kB / 1.362 GB, free: 100.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.955e-05/2.08, allocations: 15.98 kB / 1.362 GB, free: 100.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/2.08, allocations: 59.8 kB / 1.362 GB, free: 100.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.546e-05/2.081, allocations: 35.95 kB / 1.362 GB, free: 100.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/2.081, allocations: 19.98 kB / 1.362 GB, free: 100.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003399/2.081, allocations: 399.1 kB / 1.363 GB, free: 100.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/2.081, allocations: 0 / 1.363 GB, free: 100.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001166/2.082, allocations: 419.5 kB / 1.363 GB, free: 99.71 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007184/2.083, allocations: 414.4 kB / 1.364 GB, free: 99.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001225/2.084, allocations: 0.7724 MB / 1.364 GB, free: 98.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/2.084, allocations: 0 / 1.364 GB, free: 98.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004263/2.085, allocations: 252 kB / 1.365 GB, free: 98.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/2.086, allocations: 263.7 kB / 1.365 GB, free: 98.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/2.087, allocations: 0.7453 MB / 1.366 GB, free: 97.26 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/2.087, allocations: 0.9286 MB / 1.366 GB, free: 96.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006442/2.088, allocations: 173 kB / 1.367 GB, free: 96.13 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/2.088, allocations: 55.42 kB / 1.367 GB, free: 96.08 MB / 0.698 GB Notification: Performance of SimCode: time 7.82e-07/2.088, allocations: 0 / 1.367 GB, free: 96.08 MB / 0.698 GB Notification: Performance of Templates: time 0.01929/2.107, allocations: 14.15 MB / 1.38 GB, free: 82.07 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)