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.005976/0.005976, allocations: 101.5 kB / 15.73 MB, free: 6.445 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.001246/0.001247, allocations: 193.7 kB / 16.67 MB, free: 6.355 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002197/0.002196, allocations: 283 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9575/0.9575, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 91.86 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1677, allocations: 86.98 MB / 0.7664 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Pressure): time 0.5606/0.7283, allocations: 169.4 MB / 0.9319 GB, free: 9.328 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.008207/0.7365, allocations: 7.313 MB / 0.939 GB, free: 1.992 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000493/0.7371, allocations: 15.88 kB / 0.939 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007445/0.7378, allocations: 210.6 kB / 0.9392 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.7393, allocations: 0.5755 MB / 0.9398 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.7405, allocations: 431.4 kB / 0.9402 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0008022/0.7413, allocations: 0.709 MB / 0.9409 GB, free: 64 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004131/0.7417, allocations: 267.5 kB / 0.9411 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006503/0.7424, allocations: 382.5 kB / 0.9415 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.7427, allocations: 211.1 kB / 0.9417 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/0.7427, allocations: 20 kB / 0.9417 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.7438, allocations: 0.7093 MB / 0.9424 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.7439, allocations: 103.7 kB / 0.9425 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.7441, allocations: 155.2 kB / 0.9427 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0007982/0.7449, allocations: 0.594 MB / 0.9433 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7449, allocations: 0 / 0.9433 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7449, allocations: 0 / 0.9433 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.7449, allocations: 0 / 0.9433 GB, free: 13.65 MB / 0.7012 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.000923/0.7458, allocations: 0.6498 MB / 0.9439 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.7459, allocations: 12.02 kB / 0.9439 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004038/0.7463, allocations: 63.72 kB / 0.944 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006012/0.7469, allocations: 326.2 kB / 0.9443 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.7469, allocations: 24.44 kB / 0.9443 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.747, allocations: 20 kB / 0.9443 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.7475, allocations: 296.6 kB / 0.9446 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.7476, allocations: 0 / 0.9446 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.7476, allocations: 19.92 kB / 0.9446 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.7476, allocations: 4 kB / 0.9446 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003827/0.748, allocations: 179.7 kB / 0.9448 GB, free: 11.95 MB / 0.7012 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.001696/0.7497, allocations: 1.694 MB / 0.9464 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.75, allocations: 86.56 kB / 0.9465 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.7502, allocations: 80.84 kB / 0.9466 GB, free: 9.961 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003222/0.7505, allocations: 194.1 kB / 0.9468 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.7505, allocations: 34.5 kB / 0.9468 GB, free: 9.691 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.7506, allocations: 0 / 0.9468 GB, free: 9.691 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.0006788/0.7512, allocations: 226 kB / 0.947 GB, free: 9.465 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.7513, allocations: 55.41 kB / 0.9471 GB, free: 9.398 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/0.7516, allocations: 320.5 kB / 0.9474 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.7517, allocations: 25.7 kB / 0.9474 GB, free: 9.039 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.7518, allocations: 200.2 kB / 0.9476 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.7519, allocations: 43.58 kB / 0.9477 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.076e-05/0.752, allocations: 53.7 kB / 0.9477 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.7521, allocations: 338.8 kB / 0.948 GB, free: 8.398 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.7523, allocations: 56.81 kB / 0.9481 GB, free: 8.34 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.7525, allocations: 199.1 kB / 0.9483 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.7529, allocations: 233.4 kB / 0.9485 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.7529, allocations: 4.812 kB / 0.9485 GB, free: 7.805 MB / 0.7012 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004458/0.7534, allocations: 261 kB / 0.9487 GB, free: 7.543 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.7534, allocations: 8 kB / 0.9488 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.7534, allocations: 4 kB / 0.9488 GB, free: 7.531 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.7534, allocations: 4 kB / 0.9488 GB, free: 7.527 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.7536, allocations: 48.31 kB / 0.9488 GB, free: 7.48 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.7536, allocations: 8 kB / 0.9488 GB, free: 7.473 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.7538, allocations: 37.45 kB / 0.9489 GB, free: 7.438 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.7539, allocations: 8 kB / 0.9489 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002203/0.7541, allocations: 172.1 kB / 0.949 GB, free: 7.258 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002227/0.7543, allocations: 200.9 kB / 0.9492 GB, free: 7 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003307/0.7547, allocations: 225.5 kB / 0.9494 GB, free: 6.73 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.7547, allocations: 3.938 kB / 0.9494 GB, free: 6.727 MB / 0.7012 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004304/0.7551, allocations: 253 kB / 0.9497 GB, free: 6.473 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.7551, allocations: 14.91 kB / 0.9497 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.7551, allocations: 3.984 kB / 0.9497 GB, free: 6.457 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.418e-06/0.7551, allocations: 8 kB / 0.9497 GB, free: 6.449 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.7553, allocations: 48.33 kB / 0.9497 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.7553, allocations: 6.5 kB / 0.9498 GB, free: 6.398 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.7555, allocations: 35.86 kB / 0.9498 GB, free: 6.363 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.7556, allocations: 12 kB / 0.9498 GB, free: 6.352 MB / 0.7012 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.0001111/0.7557, allocations: 203.1 kB / 0.95 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.7557, allocations: 35.75 kB / 0.95 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000358/0.7561, allocations: 165 kB / 0.9502 GB, free: 5.941 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.7561, allocations: 4 kB / 0.9502 GB, free: 5.938 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7561, allocations: 0 / 0.9502 GB, free: 5.938 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.7561, allocations: 0 / 0.9502 GB, free: 5.938 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008388/0.757, allocations: 0.6152 MB / 0.9508 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.757, allocations: 3.938 kB / 0.9508 GB, free: 5.242 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.7571, allocations: 31.92 kB / 0.9508 GB, free: 5.211 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.7571, allocations: 4 kB / 0.9508 GB, free: 5.207 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.7571, allocations: 4 kB / 0.9508 GB, free: 5.203 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.7571, allocations: 0 / 0.9508 GB, free: 5.203 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.7571, allocations: 4 kB / 0.9508 GB, free: 5.199 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003721/0.7575, allocations: 307.6 kB / 0.9511 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 9.666e-05/0.7576, allocations: 120.8 kB / 0.9512 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.7577, allocations: 4 kB / 0.9512 GB, free: 4.723 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.7578, allocations: 15.92 kB / 0.9513 GB, free: 4.707 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.7579, allocations: 15.92 kB / 0.9513 GB, free: 4.691 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.7579, allocations: 4.875 kB / 0.9513 GB, free: 4.688 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002056/0.7581, allocations: 231 kB / 0.9515 GB, free: 4.461 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.126e-06/0.7581, allocations: 0 / 0.9515 GB, free: 4.461 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0005208/0.7587, allocations: 135.8 kB / 0.9516 GB, free: 4.328 MB / 0.7012 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.0003732/0.759, allocations: 158 kB / 0.9518 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005394/0.7596, allocations: 248.2 kB / 0.952 GB, free: 3.93 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7596, allocations: 0 / 0.952 GB, free: 3.93 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.7598, allocations: 65.14 kB / 0.9521 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006924/0.7605, allocations: 123.4 kB / 0.9522 GB, free: 3.758 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007235/0.7612, allocations: 0.5088 MB / 0.9527 GB, free: 3.203 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.7616, allocations: 0.7795 MB / 0.9535 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002266/0.7618, allocations: 94.97 kB / 0.9535 GB, free: 2.305 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.739e-05/0.7619, allocations: 27.42 kB / 0.9536 GB, free: 2.277 MB / 0.7012 GB Notification: Performance of SimCode: time 2.51e-07/0.7619, allocations: 0 / 0.9536 GB, free: 2.277 MB / 0.7012 GB Notification: Performance of Templates: time 0.009086/0.771, allocations: 4.904 MB / 0.9584 GB, free: 13.46 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)