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.001052/0.001052, allocations: 110.1 kB / 16.42 MB, free: 6.516 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.001027/0.001027, allocations: 190.7 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 291.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9181/0.9181, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 99.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3701, allocations: 86.98 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Pressure): time 0.1708/0.5409, allocations: 169.4 MB / 0.9325 GB, free: 9.773 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008973/0.5499, allocations: 7.307 MB / 0.9397 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005182/0.5505, allocations: 11.94 kB / 0.9397 GB, free: 2.434 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007729/0.5513, allocations: 218.5 kB / 0.9399 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.5528, allocations: 0.5716 MB / 0.9405 GB, free: 1.645 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.5541, allocations: 443.2 kB / 0.9409 GB, free: 1.215 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001002/0.5551, allocations: 0.7012 MB / 0.9416 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004655/0.5556, allocations: 265.8 kB / 0.9418 GB, free: 264 kB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007729/0.5564, allocations: 386.5 kB / 0.9422 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.5568, allocations: 211.1 kB / 0.9424 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.489e-05/0.5568, allocations: 20 kB / 0.9424 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.558, allocations: 0.7054 MB / 0.9431 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.5581, allocations: 107.7 kB / 0.9432 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.5583, allocations: 159.2 kB / 0.9434 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009157/0.5593, allocations: 0.5726 MB / 0.9439 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5593, allocations: 0 / 0.9439 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5593, allocations: 0 / 0.9439 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.5593, allocations: 0 / 0.9439 GB, free: 14.11 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.0009373/0.5602, allocations: 0.6465 MB / 0.9445 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.5603, allocations: 12.03 kB / 0.9446 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003664/0.5607, allocations: 75.36 kB / 0.9446 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004974/0.5612, allocations: 314.2 kB / 0.9449 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.5612, allocations: 16.44 kB / 0.9449 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.5612, allocations: 24 kB / 0.945 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005142/0.5618, allocations: 304.5 kB / 0.9453 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.5618, allocations: 0 / 0.9453 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.5618, allocations: 11.94 kB / 0.9453 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.5618, allocations: 4 kB / 0.9453 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/0.5622, allocations: 180.4 kB / 0.9454 GB, free: 12.42 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.001727/0.564, allocations: 1.686 MB / 0.9471 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.5642, allocations: 98.53 kB / 0.9472 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.5644, allocations: 80.8 kB / 0.9473 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/0.5647, allocations: 198.1 kB / 0.9475 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.5647, allocations: 34.56 kB / 0.9475 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.5647, allocations: 0 / 0.9475 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0006936/0.5654, allocations: 225.1 kB / 0.9477 GB, free: 9.926 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.5655, allocations: 55.34 kB / 0.9478 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.5658, allocations: 316.5 kB / 0.9481 GB, free: 9.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.5658, allocations: 37.7 kB / 0.9481 GB, free: 9.496 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.566, allocations: 187.9 kB / 0.9483 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.566, allocations: 43.45 kB / 0.9483 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-05/0.5661, allocations: 45.61 kB / 0.9484 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.5662, allocations: 342.8 kB / 0.9487 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.5664, allocations: 64.81 kB / 0.9487 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.5666, allocations: 200.1 kB / 0.9489 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.567, allocations: 229.5 kB / 0.9492 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.567, allocations: 8 kB / 0.9492 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004865/0.5675, allocations: 248.9 kB / 0.9494 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.5675, allocations: 4.406 kB / 0.9494 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.5676, allocations: 8 kB / 0.9494 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.5676, allocations: 4 kB / 0.9494 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.5678, allocations: 47.92 kB / 0.9495 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.5678, allocations: 11.92 kB / 0.9495 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.568, allocations: 35.67 kB / 0.9495 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.5681, allocations: 16 kB / 0.9495 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002406/0.5683, allocations: 168.1 kB / 0.9497 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002436/0.5686, allocations: 189 kB / 0.9499 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003731/0.569, allocations: 237.5 kB / 0.9501 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.569, allocations: 4 kB / 0.9501 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004876/0.5695, allocations: 248.9 kB / 0.9503 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.5695, allocations: 12.34 kB / 0.9503 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.5695, allocations: 8 kB / 0.9503 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.5695, allocations: 7.938 kB / 0.9504 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.5697, allocations: 47.91 kB / 0.9504 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.5697, allocations: 7.938 kB / 0.9504 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.57, allocations: 27.83 kB / 0.9504 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.57, allocations: 16 kB / 0.9505 GB, free: 6.82 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.0001275/0.5701, allocations: 192.2 kB / 0.9506 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.5702, allocations: 35.66 kB / 0.9507 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003991/0.5706, allocations: 168.4 kB / 0.9508 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5706, allocations: 0 / 0.9508 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5706, allocations: 0 / 0.9508 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.5708, allocations: 116.7 kB / 0.9509 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.5708, allocations: 0 / 0.9509 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.571, allocations: 7.984 kB / 0.9509 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.571, allocations: 11.98 kB / 0.951 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004022/0.5714, allocations: 233.2 kB / 0.9512 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003693/0.5718, allocations: 326.4 kB / 0.9515 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001283/0.572, allocations: 47.95 kB / 0.9515 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002049/0.5722, allocations: 231 kB / 0.9518 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of Backend: time 1.954e-06/0.5722, allocations: 0 / 0.9518 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001214/0.5734, allocations: 424.8 kB / 0.9522 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of SimCode: time 0.001279/0.5747, allocations: 1.003 MB / 0.9531 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of Templates: time 0.3052/0.8799, allocations: 6.512 MB / 0.9595 GB, free: 190.6 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)