Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure") translateModel(IBPSA.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001579/0.001579, allocations: 104.3 kB / 16.27 MB, free: 6.352 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.001657/0.001657, allocations: 190.9 kB / 17.2 MB, free: 5.953 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.371/1.371, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8145/0.8145, allocations: 126.4 MB / 417.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.001641, allocations: 63.89 kB / 0.4953 GB, free: 3.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4599, allocations: 78.79 MB / 0.5723 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Pressure): time 0.1961/0.6561, allocations: 169.5 MB / 0.7378 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.667, allocations: 7.314 MB / 0.7449 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007342/0.6678, allocations: 15.94 kB / 0.7449 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009634/0.6687, allocations: 210.6 kB / 0.7451 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.671, allocations: 0.5677 MB / 0.7457 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.6726, allocations: 435.9 kB / 0.7461 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001247/0.6739, allocations: 0.7011 MB / 0.7468 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005734/0.6745, allocations: 271 kB / 0.747 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.6759, allocations: 0.5176 MB / 0.7475 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004522/0.6763, allocations: 211.1 kB / 0.7477 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.973e-05/0.6764, allocations: 16 kB / 0.7477 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.6779, allocations: 0.6976 MB / 0.7484 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.6781, allocations: 107.7 kB / 0.7485 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.6783, allocations: 159.2 kB / 0.7487 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.6793, allocations: 0.557 MB / 0.7492 GB, free: 436 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.6794, allocations: 0 / 0.7492 GB, free: 436 kB / 0.5762 GB Notification: Performance of FrontEnd: time 4.368e-06/0.6794, allocations: 0 / 0.7492 GB, free: 436 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.6794, allocations: 7.938 kB / 0.7492 GB, free: 428 kB / 0.5762 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.3887/1.068, allocations: 0.6356 MB / 0.7499 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/1.068, allocations: 9.844 kB / 0.7499 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004761/1.069, allocations: 61.59 kB / 0.7499 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/1.069, allocations: 310 kB / 0.7502 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/1.069, allocations: 18.97 kB / 0.7502 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.807e-05/1.069, allocations: 24.3 kB / 0.7503 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000581/1.07, allocations: 303.7 kB / 0.7505 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/1.07, allocations: 3.484 kB / 0.7505 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/1.07, allocations: 11.62 kB / 0.7506 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/1.07, allocations: 5.969 kB / 0.7506 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004371/1.07, allocations: 183 kB / 0.7507 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/1.072, allocations: 1.69 MB / 0.7524 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/1.072, allocations: 92.77 kB / 0.7525 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/1.073, allocations: 76.86 kB / 0.7526 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002663/1.073, allocations: 196.3 kB / 0.7527 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/1.073, allocations: 32.89 kB / 0.7528 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.863e-06/1.073, allocations: 2.031 kB / 0.7528 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0007316/1.074, allocations: 218.4 kB / 0.753 GB, free: 171 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/1.074, allocations: 54.06 kB / 0.753 GB, free: 171 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004157/1.074, allocations: 319 kB / 0.7533 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/1.074, allocations: 31.67 kB / 0.7534 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/1.074, allocations: 200.5 kB / 0.7536 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/1.074, allocations: 39.98 kB / 0.7536 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.473e-05/1.074, allocations: 45.38 kB / 0.7536 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.875e-05/1.074, allocations: 343.1 kB / 0.754 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/1.075, allocations: 65.22 kB / 0.754 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/1.075, allocations: 196.4 kB / 0.7542 GB, free: 170 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/1.075, allocations: 240.1 kB / 0.7544 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.075, allocations: 4.875 kB / 0.7545 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005381/1.076, allocations: 253.3 kB / 0.7547 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/1.076, allocations: 7 kB / 0.7547 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.076, allocations: 2.969 kB / 0.7547 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/1.076, allocations: 5.844 kB / 0.7547 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/1.076, allocations: 50.33 kB / 0.7548 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/1.076, allocations: 6.703 kB / 0.7548 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/1.076, allocations: 39.83 kB / 0.7548 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/1.077, allocations: 10.5 kB / 0.7548 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000273/1.077, allocations: 169.9 kB / 0.755 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002488/1.077, allocations: 197.4 kB / 0.7552 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000352/1.077, allocations: 234.8 kB / 0.7554 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/1.077, allocations: 1.281 kB / 0.7554 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005125/1.078, allocations: 254.1 kB / 0.7556 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/1.078, allocations: 6.812 kB / 0.7556 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.078, allocations: 3.75 kB / 0.7556 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/1.078, allocations: 5.781 kB / 0.7556 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/1.078, allocations: 48.58 kB / 0.7557 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/1.078, allocations: 7.203 kB / 0.7557 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/1.078, allocations: 28.77 kB / 0.7557 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/1.078, allocations: 15.66 kB / 0.7557 GB, free: 169.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.365e-05/1.079, allocations: 195.6 kB / 0.7559 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/1.079, allocations: 28.88 kB / 0.756 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004529/1.079, allocations: 175.2 kB / 0.7561 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/1.079, allocations: 3.828 kB / 0.7561 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.079, allocations: 2.375 kB / 0.7561 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.079, allocations: 0.6875 kB / 0.7561 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009766/1.08, allocations: 0.6097 MB / 0.7567 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.08, allocations: 1.969 kB / 0.7567 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/1.08, allocations: 29.22 kB / 0.7568 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/1.08, allocations: 2.562 kB / 0.7568 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/1.08, allocations: 4.219 kB / 0.7568 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/1.08, allocations: 7.453 kB / 0.7568 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.08, allocations: 1.969 kB / 0.7568 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004342/1.081, allocations: 307.1 kB / 0.7571 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.942e-05/1.081, allocations: 114.9 kB / 0.7572 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/1.081, allocations: 9.266 kB / 0.7572 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/1.081, allocations: 13.44 kB / 0.7572 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.624e-05/1.081, allocations: 9.859 kB / 0.7572 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/1.081, allocations: 9.281 kB / 0.7572 GB, free: 168 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002323/1.081, allocations: 226.3 kB / 0.7574 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.91e-07/1.081, allocations: 0.5625 kB / 0.7574 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000658/1.082, allocations: 133.1 kB / 0.7576 GB, free: 167.9 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 (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.0004146/1.083, allocations: 172.6 kB / 0.7577 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007175/1.083, allocations: 248 kB / 0.758 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.083, allocations: 0.6562 kB / 0.758 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/1.083, allocations: 60.11 kB / 0.758 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000866/1.084, allocations: 133.5 kB / 0.7581 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009419/1.085, allocations: 0.5082 MB / 0.7586 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/1.086, allocations: 0.7749 MB / 0.7594 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003503/1.086, allocations: 84.53 kB / 0.7595 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.347e-05/1.086, allocations: 25.12 kB / 0.7595 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/1.086, allocations: 0 / 0.7595 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.01051/1.097, allocations: 4.87 MB / 0.7643 GB, free: 164.4 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe 2>&1)