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.001464/0.001464, allocations: 106.4 kB / 16.41 MB, free: 6.508 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.001721/0.001721, allocations: 192.3 kB / 17.35 MB, free: 5.738 MB / 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: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002069/0.002069, allocations: 286.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9312/0.9312, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 107.8 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3968, allocations: 86.98 MB / 0.7671 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Pressure): time 0.1628/0.5597, allocations: 169.4 MB / 0.9326 GB, free: 9.672 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008108/0.5678, allocations: 7.311 MB / 0.9397 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004351/0.5683, allocations: 7.938 kB / 0.9397 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006868/0.569, allocations: 218.6 kB / 0.9399 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.5705, allocations: 0.5988 MB / 0.9405 GB, free: 1.516 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.5717, allocations: 433.9 kB / 0.9409 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0009449/0.5727, allocations: 0.709 MB / 0.9416 GB, free: 392 kB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004256/0.5731, allocations: 265.8 kB / 0.9419 GB, free: 132 kB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007384/0.5738, allocations: 390.5 kB / 0.9422 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003217/0.5742, allocations: 215 kB / 0.9424 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.951e-05/0.5742, allocations: 20 kB / 0.9424 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.5754, allocations: 0.7132 MB / 0.9431 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.5755, allocations: 103.7 kB / 0.9432 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.5757, allocations: 159.2 kB / 0.9434 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008754/0.5766, allocations: 0.5803 MB / 0.944 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.5766, allocations: 0 / 0.944 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5766, allocations: 0 / 0.944 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.5766, allocations: 4 kB / 0.944 GB, free: 13.96 MB / 0.7169 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.000905/0.5775, allocations: 0.6387 MB / 0.9446 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.5776, allocations: 12.02 kB / 0.9446 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003686/0.578, allocations: 71.44 kB / 0.9447 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.5785, allocations: 318.1 kB / 0.945 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.5785, allocations: 16.44 kB / 0.945 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.5785, allocations: 20 kB / 0.945 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004834/0.579, allocations: 296.6 kB / 0.9453 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.579, allocations: 11.94 kB / 0.9453 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.5791, allocations: 15.92 kB / 0.9453 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.5791, allocations: 8 kB / 0.9453 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003854/0.5795, allocations: 172.4 kB / 0.9455 GB, free: 12.27 MB / 0.7169 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.00159/0.5811, allocations: 1.686 MB / 0.9471 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.5813, allocations: 90.44 kB / 0.9472 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.5815, allocations: 80.84 kB / 0.9473 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002621/0.5818, allocations: 194.1 kB / 0.9475 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.5818, allocations: 34.56 kB / 0.9475 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.5818, allocations: 0 / 0.9475 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0006872/0.5825, allocations: 221.2 kB / 0.9477 GB, free: 9.797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.5826, allocations: 63.22 kB / 0.9478 GB, free: 9.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.5829, allocations: 328.5 kB / 0.9481 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.5829, allocations: 25.7 kB / 0.9481 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.583, allocations: 195.9 kB / 0.9483 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.5831, allocations: 35.45 kB / 0.9483 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.387e-05/0.5832, allocations: 53.61 kB / 0.9484 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.5833, allocations: 346.8 kB / 0.9487 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.5834, allocations: 56.81 kB / 0.9488 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.5837, allocations: 189.1 kB / 0.949 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.5841, allocations: 237.4 kB / 0.9492 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5841, allocations: 0 / 0.9492 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004943/0.5846, allocations: 257 kB / 0.9494 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.5846, allocations: 8 kB / 0.9494 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.5846, allocations: 0 / 0.9494 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.5846, allocations: 8 kB / 0.9494 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.5848, allocations: 47.91 kB / 0.9495 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.5848, allocations: 7.938 kB / 0.9495 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.5851, allocations: 40.05 kB / 0.9495 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.5851, allocations: 12 kB / 0.9496 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002339/0.5854, allocations: 168.1 kB / 0.9497 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002345/0.5856, allocations: 197 kB / 0.9499 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003393/0.586, allocations: 229.4 kB / 0.9501 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.076e-06/0.586, allocations: 4 kB / 0.9501 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004525/0.5864, allocations: 249.1 kB / 0.9504 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.5865, allocations: 11.94 kB / 0.9504 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5865, allocations: 7.984 kB / 0.9504 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-06/0.5865, allocations: 4 kB / 0.9504 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.5867, allocations: 47.92 kB / 0.9504 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.5867, allocations: 7.938 kB / 0.9504 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.5869, allocations: 36.19 kB / 0.9505 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.587, allocations: 12 kB / 0.9505 GB, free: 6.684 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.5871, allocations: 196.2 kB / 0.9507 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.5871, allocations: 27.66 kB / 0.9507 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/0.5875, allocations: 164.4 kB / 0.9509 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5875, allocations: 0 / 0.9509 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5875, allocations: 0 / 0.9509 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.5876, allocations: 120.6 kB / 0.951 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.5877, allocations: 11.94 kB / 0.951 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.5879, allocations: 15.98 kB / 0.951 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.5879, allocations: 4 kB / 0.951 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003783/0.5883, allocations: 228.7 kB / 0.9512 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003484/0.5886, allocations: 331 kB / 0.9515 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001314/0.5888, allocations: 51.95 kB / 0.9516 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001946/0.589, allocations: 223 kB / 0.9518 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of Backend: time 1.593e-06/0.589, allocations: 4 kB / 0.9518 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001157/0.5902, allocations: 421.9 kB / 0.9522 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of SimCode: time 0.001176/0.5913, allocations: 1.003 MB / 0.9532 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of Templates: time 0.339/0.9303, allocations: 6.513 MB / 0.9595 GB, free: 43.18 MB / 0.7169 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)