Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure") translateModel(BuildingSystems.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008289/0.0008289, allocations: 86.09 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008973/0.0008973, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001721/0.001721, allocations: 266.5 kB / 291.3 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9483/0.9483, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000502/0.0005021, allocations: 18.44 kB / 0.598 GB, free: 28.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1395, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Pressure): time 0.4242/0.5637, allocations: 154 MB / 0.8348 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007107/0.5708, allocations: 6.775 MB / 0.8415 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002868/0.5712, allocations: 9.656 kB / 0.8415 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005265/0.5717, allocations: 137.7 kB / 0.8416 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.5728, allocations: 447.5 kB / 0.842 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008574/0.5737, allocations: 351.8 kB / 0.8424 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007909/0.5745, allocations: 0.8655 MB / 0.8432 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.5748, allocations: 192.3 kB / 0.8434 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005259/0.5753, allocations: 317 kB / 0.8437 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.5756, allocations: 208.5 kB / 0.8439 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.5756, allocations: 10.53 kB / 0.8439 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008351/0.5764, allocations: 0.5249 MB / 0.8444 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.5766, allocations: 96.2 kB / 0.8445 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.949e-05/0.5766, allocations: 86.92 kB / 0.8446 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004106/0.5771, allocations: 393.8 kB / 0.845 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.5771, allocations: 0 / 0.845 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.815e-06/0.5771, allocations: 0 / 0.845 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.5771, allocations: 3.938 kB / 0.845 GB, free: 3.117 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000701/0.5778, allocations: 0.5875 MB / 0.8455 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.5778, allocations: 14.41 kB / 0.8455 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002951/0.5781, allocations: 60.22 kB / 0.8456 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.5785, allocations: 293 kB / 0.8459 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.5785, allocations: 24.02 kB / 0.8459 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.5785, allocations: 23.61 kB / 0.8459 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.579, allocations: 298.4 kB / 0.8462 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.579, allocations: 6.875 kB / 0.8462 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.579, allocations: 10.84 kB / 0.8462 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.579, allocations: 5.094 kB / 0.8462 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003348/0.5794, allocations: 193 kB / 0.8464 GB, free: 1.918 MB / 0.5606 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.001443/0.5808, allocations: 1.704 MB / 0.8481 GB, free: 320 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.5811, allocations: 96.94 kB / 0.8482 GB, free: 260 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.5812, allocations: 86.75 kB / 0.8483 GB, free: 216 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002388/0.5815, allocations: 185.1 kB / 0.8484 GB, free: 16 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.5815, allocations: 36.28 kB / 0.8485 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.5815, allocations: 0 / 0.8485 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0006041/0.5821, allocations: 244.6 kB / 0.8487 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.5822, allocations: 54.41 kB / 0.8488 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.5825, allocations: 313 kB / 0.8491 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.5825, allocations: 36.58 kB / 0.8491 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.5826, allocations: 196.7 kB / 0.8493 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.5826, allocations: 36.42 kB / 0.8493 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.5827, allocations: 6.875 kB / 0.8493 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.5828, allocations: 340 kB / 0.8496 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.5829, allocations: 53.41 kB / 0.8497 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.5831, allocations: 205.9 kB / 0.8499 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.5833, allocations: 88.05 kB / 0.85 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.5833, allocations: 10.5 kB / 0.85 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004183/0.5838, allocations: 257.9 kB / 0.8502 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.5839, allocations: 192.8 kB / 0.8504 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.5839, allocations: 5.031 kB / 0.8504 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.5839, allocations: 5.875 kB / 0.8504 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.5841, allocations: 54.34 kB / 0.8505 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.5841, allocations: 6.75 kB / 0.8505 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.5844, allocations: 49.45 kB / 0.8505 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.5844, allocations: 11.94 kB / 0.8505 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.432e-06/0.5844, allocations: 8.219 kB / 0.8505 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003515/0.5848, allocations: 202 kB / 0.8507 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5848, allocations: 6.891 kB / 0.8507 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.05e-06/0.5848, allocations: 5.562 kB / 0.8508 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.585, allocations: 53.77 kB / 0.8508 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.585, allocations: 14.2 kB / 0.8508 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.5852, allocations: 28.42 kB / 0.8508 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.5852, allocations: 15.5 kB / 0.8509 GB, free: 14.14 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * 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.00015/0.5854, allocations: 227.9 kB / 0.8511 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.5854, allocations: 33.36 kB / 0.8511 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/0.5858, allocations: 178.3 kB / 0.8513 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.5858, allocations: 2.844 kB / 0.8513 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5858, allocations: 0 / 0.8513 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5858, allocations: 8.219 kB / 0.8513 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008066/0.5866, allocations: 0.6315 MB / 0.8519 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.5866, allocations: 0 / 0.8519 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.5867, allocations: 25.77 kB / 0.8519 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.5868, allocations: 6.859 kB / 0.8519 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.5868, allocations: 6.875 kB / 0.8519 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5868, allocations: 2.406 kB / 0.8519 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.5868, allocations: 10.88 kB / 0.852 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.5871, allocations: 304 kB / 0.8522 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.712e-05/0.5872, allocations: 122.9 kB / 0.8524 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.5873, allocations: 6.75 kB / 0.8524 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.5875, allocations: 21.27 kB / 0.8524 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.5875, allocations: 13.11 kB / 0.8524 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.5875, allocations: 2.938 kB / 0.8524 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000189/0.5877, allocations: 229.2 kB / 0.8526 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5877, allocations: 0 / 0.8526 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000528/0.5883, allocations: 133.2 kB / 0.8528 GB, free: 12.66 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (11): * Single equations (assignments): 11 * 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.0003087/0.5886, allocations: 175.4 kB / 0.8529 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005051/0.5891, allocations: 249.4 kB / 0.8532 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5891, allocations: 0 / 0.8532 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.5893, allocations: 75.39 kB / 0.8532 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008089/0.5901, allocations: 146 kB / 0.8534 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006907/0.5908, allocations: 0.5728 MB / 0.8539 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.5911, allocations: 0.7799 MB / 0.8547 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002569/0.5914, allocations: 83.05 kB / 0.8548 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.5914, allocations: 23.38 kB / 0.8548 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.5914, allocations: 0 / 0.8548 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of Templates: time 0.007822/0.5993, allocations: 4.596 MB / 0.8593 GB, free: 8.82 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe 2>&1)