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.00106/0.00106, allocations: 103.1 kB / 15.98 MB, free: 6.355 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.001053/0.001053, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.276/1.276, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002015/0.002015, allocations: 291.2 kB / 291 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8851/0.8851, allocations: 169.2 MB / 0.4985 GB, free: 4.66 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 89.17 kB / 0.5953 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1691, allocations: 86.98 MB / 0.6803 GB, free: 8.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Pressure): time 0.468/0.6372, allocations: 167.2 MB / 0.8435 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007643/0.6448, allocations: 7.255 MB / 0.8506 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000511/0.6454, allocations: 11.94 kB / 0.8506 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006199/0.6461, allocations: 175 kB / 0.8508 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.6474, allocations: 0.5408 MB / 0.8513 GB, free: 284 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.6486, allocations: 391.5 kB / 0.8517 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0008482/0.6494, allocations: 0.709 MB / 0.8524 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003894/0.6498, allocations: 263 kB / 0.8526 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006785/0.6505, allocations: 378.5 kB / 0.853 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.6508, allocations: 231 kB / 0.8532 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/0.6508, allocations: 20 kB / 0.8532 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.6519, allocations: 0.7171 MB / 0.8539 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.652, allocations: 107.7 kB / 0.854 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.6522, allocations: 159.2 kB / 0.8542 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0005669/0.6528, allocations: 415.1 kB / 0.8546 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.6528, allocations: 3.984 kB / 0.8546 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.213e-06/0.6528, allocations: 0 / 0.8546 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.6528, allocations: 4 kB / 0.8546 GB, free: 12.92 MB / 0.6231 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.0008285/0.6536, allocations: 0.6355 MB / 0.8552 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.6537, allocations: 12.03 kB / 0.8552 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003414/0.654, allocations: 67.52 kB / 0.8553 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.6544, allocations: 306.1 kB / 0.8556 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.6544, allocations: 16.44 kB / 0.8556 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.6545, allocations: 28 kB / 0.8556 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004572/0.6549, allocations: 300.5 kB / 0.8559 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.6549, allocations: 4 kB / 0.8559 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.655, allocations: 11.94 kB / 0.8559 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.655, allocations: 8 kB / 0.8559 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.6553, allocations: 175.5 kB / 0.8561 GB, free: 11.25 MB / 0.6231 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.001515/0.6569, allocations: 1.694 MB / 0.8578 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.6571, allocations: 90.5 kB / 0.8578 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.6573, allocations: 84.84 kB / 0.8579 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002499/0.6575, allocations: 178.2 kB / 0.8581 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.6576, allocations: 50.48 kB / 0.8581 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/0.6576, allocations: 0 / 0.8581 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11): time 0.0006393/0.6582, allocations: 219 kB / 0.8583 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.6583, allocations: 51.41 kB / 0.8584 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.6586, allocations: 324.5 kB / 0.8587 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.6586, allocations: 33.64 kB / 0.8587 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.6587, allocations: 203.8 kB / 0.8589 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.6588, allocations: 35.45 kB / 0.859 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.397e-05/0.6588, allocations: 49.7 kB / 0.859 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.6589, allocations: 338.8 kB / 0.8593 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.6591, allocations: 56.81 kB / 0.8594 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.6593, allocations: 197.9 kB / 0.8596 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.6597, allocations: 237.5 kB / 0.8598 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6597, allocations: 4 kB / 0.8598 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004322/0.6601, allocations: 249 kB / 0.86 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.6601, allocations: 11.94 kB / 0.8601 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.6602, allocations: 4.391 kB / 0.8601 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.6602, allocations: 15.98 kB / 0.8601 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.6604, allocations: 43.92 kB / 0.8601 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.6604, allocations: 7.984 kB / 0.8601 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.6606, allocations: 40.55 kB / 0.8602 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.6607, allocations: 16 kB / 0.8602 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002093/0.6609, allocations: 168.1 kB / 0.8603 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002206/0.6611, allocations: 194.3 kB / 0.8605 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003179/0.6614, allocations: 237.5 kB / 0.8608 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.6615, allocations: 0 / 0.8608 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004057/0.6619, allocations: 242.2 kB / 0.861 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.6619, allocations: 15.97 kB / 0.861 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.6619, allocations: 4 kB / 0.861 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/0.6619, allocations: 4 kB / 0.861 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.6621, allocations: 51.84 kB / 0.8611 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.6621, allocations: 7.938 kB / 0.8611 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.6623, allocations: 39.69 kB / 0.8611 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.6624, allocations: 8 kB / 0.8611 GB, free: 5.652 MB / 0.6231 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.0001005/0.6625, allocations: 200.2 kB / 0.8613 GB, free: 5.449 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/0.6625, allocations: 31.56 kB / 0.8613 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003501/0.6629, allocations: 164.4 kB / 0.8615 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.6629, allocations: 4 kB / 0.8615 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6629, allocations: 0 / 0.8615 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6629, allocations: 0 / 0.8615 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008208/0.6637, allocations: 0.6171 MB / 0.8621 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.6638, allocations: 0 / 0.8621 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.6639, allocations: 28.2 kB / 0.8621 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.6639, allocations: 4 kB / 0.8621 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.6639, allocations: 192 / 0.8621 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.413e-06/0.6639, allocations: 4 kB / 0.8621 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.6639, allocations: 3.938 kB / 0.8621 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.6643, allocations: 317.5 kB / 0.8624 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.216e-05/0.6644, allocations: 112.7 kB / 0.8625 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.6644, allocations: 4 kB / 0.8625 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.6646, allocations: 19.98 kB / 0.8626 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.6647, allocations: 11.92 kB / 0.8626 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.6647, allocations: 4 kB / 0.8626 GB, free: 4 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001901/0.6649, allocations: 227 kB / 0.8628 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6649, allocations: 0 / 0.8628 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005378/0.6654, allocations: 131.8 kB / 0.8629 GB, free: 3.652 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003927/0.6658, allocations: 179.8 kB / 0.8631 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005507/0.6664, allocations: 249.1 kB / 0.8633 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6664, allocations: 0 / 0.8633 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.6665, allocations: 63.84 kB / 0.8634 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007561/0.6673, allocations: 132.4 kB / 0.8635 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007771/0.6681, allocations: 0.6203 MB / 0.8641 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.6684, allocations: 0.7717 MB / 0.8649 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.6684, allocations: 27.44 kB / 0.8649 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.6685, allocations: 0 / 0.8649 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of Templates: time 0.006575/0.675, allocations: 4.442 MB / 0.8692 GB, free: 13.17 MB / 0.6387 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)