Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.207/2.207, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001422/0.001422, allocations: 177.7 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.557/2.557, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 103.9 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004885, allocations: 11.94 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2381, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.229/1.467, allocations: 389 MB / 1.279 GB, free: 13.07 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003743/1.467, allocations: 103.1 kB / 1.279 GB, free: 13.01 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.39/2.858, allocations: 228.9 MB / 1.503 GB, free: 255 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.713e-06/2.858, allocations: 0 / 1.503 GB, free: 255 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.96e-05/2.858, allocations: 23.05 kB / 1.503 GB, free: 255 MB / 0.8855 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.002752/2.861, allocations: 1.083 MB / 1.504 GB, free: 253.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/2.861, allocations: 12.03 kB / 1.504 GB, free: 253.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/2.861, allocations: 83.91 kB / 1.504 GB, free: 253.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/2.862, allocations: 0.5137 MB / 1.505 GB, free: 253.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/2.862, allocations: 41.38 kB / 1.505 GB, free: 253.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/2.862, allocations: 52.38 kB / 1.505 GB, free: 253.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/2.864, allocations: 0.626 MB / 1.505 GB, free: 252.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/2.864, allocations: 7.875 kB / 1.505 GB, free: 252.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.505e-05/2.864, allocations: 24 kB / 1.505 GB, free: 252.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/2.864, allocations: 12 kB / 1.505 GB, free: 252.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/2.866, allocations: 0.5034 MB / 1.506 GB, free: 251.9 MB / 0.8855 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.004933/2.871, allocations: 3.199 MB / 1.509 GB, free: 248.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/2.872, allocations: 340.1 kB / 1.509 GB, free: 248.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007558/2.873, allocations: 232.7 kB / 1.51 GB, free: 247.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003336/2.873, allocations: 362.7 kB / 1.51 GB, free: 247.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/2.873, allocations: 30.56 kB / 1.51 GB, free: 247.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=38): time 3.136e-06/2.873, allocations: 0 / 1.51 GB, free: 247.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=38): time 0.003346/2.876, allocations: 0.8387 MB / 1.511 GB, free: 246.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/2.876, allocations: 59.16 kB / 1.511 GB, free: 246.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008502/2.877, allocations: 0.5743 MB / 1.511 GB, free: 246 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.663e-05/2.877, allocations: 33.7 kB / 1.511 GB, free: 245.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/2.878, allocations: 330 kB / 1.512 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/2.878, allocations: 129.9 kB / 1.512 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/2.878, allocations: 16 kB / 1.512 GB, free: 245.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001122/2.878, allocations: 374.8 kB / 1.512 GB, free: 245.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008203/2.879, allocations: 209.2 kB / 1.512 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008914/2.88, allocations: 404.2 kB / 1.513 GB, free: 244.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008573/2.881, allocations: 244.7 kB / 1.513 GB, free: 244.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/2.881, allocations: 4 kB / 1.513 GB, free: 244.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002317/2.883, allocations: 0.7226 MB / 1.514 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/2.883, allocations: 220.7 kB / 1.514 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/2.883, allocations: 8 kB / 1.514 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009178/2.884, allocations: 148.7 kB / 1.514 GB, free: 243 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/2.885, allocations: 163.8 kB / 1.514 GB, free: 242.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008669/2.886, allocations: 0.6264 MB / 1.515 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/2.887, allocations: 103.4 kB / 1.515 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.113e-05/2.887, allocations: 35.98 kB / 1.515 GB, free: 242 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/2.888, allocations: 11.94 kB / 1.515 GB, free: 242 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001947/2.889, allocations: 0.6077 MB / 1.516 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/2.89, allocations: 8.047 kB / 1.516 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/2.89, allocations: 11.98 kB / 1.516 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/2.891, allocations: 163.8 kB / 1.516 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/2.891, allocations: 12.02 kB / 1.516 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/2.892, allocations: 95.62 kB / 1.516 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.131e-05/2.892, allocations: 35.97 kB / 1.516 GB, free: 241.1 MB / 0.8855 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 (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.0004473/2.892, allocations: 272.9 kB / 1.516 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/2.893, allocations: 71.03 kB / 1.516 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/2.895, allocations: 0.655 MB / 1.517 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/2.895, allocations: 4 kB / 1.517 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/2.895, allocations: 0 / 1.517 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/2.895, allocations: 4 kB / 1.517 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003596/2.898, allocations: 1.376 MB / 1.518 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/2.899, allocations: 3.938 kB / 1.518 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006582/2.899, allocations: 91.88 kB / 1.518 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000655/2.9, allocations: 124.9 kB / 1.519 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.45e-05/2.9, allocations: 15.92 kB / 1.519 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007989/2.901, allocations: 0.6422 MB / 1.519 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/2.901, allocations: 0 / 1.519 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/2.903, allocations: 0.7162 MB / 1.52 GB, free: 237 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003919/2.903, allocations: 204 kB / 1.52 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/2.903, allocations: 11.98 kB / 1.52 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008127/2.904, allocations: 55.86 kB / 1.52 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/2.904, allocations: 39.88 kB / 1.52 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-05/2.904, allocations: 19.98 kB / 1.52 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006263/2.905, allocations: 391.1 kB / 1.521 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.51e-07/2.905, allocations: 0 / 1.521 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001733/2.907, allocations: 419.4 kB / 1.521 GB, free: 235.9 MB / 0.8855 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 () * Number of clocked 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.001099/2.908, allocations: 416.8 kB / 1.521 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003225/2.911, allocations: 0.905 MB / 1.522 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/2.911, allocations: 4 kB / 1.522 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/2.912, allocations: 299.9 kB / 1.523 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/2.915, allocations: 259 kB / 1.523 GB, free: 234 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/2.918, allocations: 1.277 MB / 1.524 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/2.918, allocations: 0.9042 MB / 1.525 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001021/2.919, allocations: 152.9 kB / 1.525 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/2.919, allocations: 67.34 kB / 1.525 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of SimCode: time 8.01e-07/2.919, allocations: 0 / 1.525 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.03307/2.952, allocations: 13.07 MB / 1.538 GB, free: 218.7 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)