Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.007649/0.007649, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001586/0.001586, allocations: 185.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6413/0.6413, allocations: 95.47 MB / 365.4 MB, free: 9.785 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 74.09 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1356, allocations: 69.08 MB / 0.5711 GB, free: 8.297 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.5951/0.7308, allocations: 187.7 MB / 0.7544 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01152/0.7424, allocations: 8.819 MB / 0.763 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007372/0.7431, allocations: 11.94 kB / 0.763 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.7443, allocations: 290.2 kB / 0.7633 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.7459, allocations: 0.5158 MB / 0.7638 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003521/0.7494, allocations: 1.253 MB / 0.765 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001703/0.7511, allocations: 1.123 MB / 0.7661 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005878/0.7517, allocations: 379.9 kB / 0.7665 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000944/0.7527, allocations: 0.4977 MB / 0.767 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004484/0.7531, allocations: 354.6 kB / 0.7673 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.438e-05/0.7532, allocations: 44 kB / 0.7674 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/0.7557, allocations: 1.271 MB / 0.7686 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.756, allocations: 199.5 kB / 0.7688 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00033/0.7563, allocations: 286.7 kB / 0.7691 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002638/0.7589, allocations: 1.379 MB / 0.7704 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.759, allocations: 0 / 0.7704 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.386e-06/0.759, allocations: 3.984 kB / 0.7704 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.759, allocations: 4 kB / 0.7704 GB, free: 2.219 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001698/0.7607, allocations: 0.939 MB / 0.7713 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.7608, allocations: 15.98 kB / 0.7714 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000265/0.761, allocations: 67.36 kB / 0.7714 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006147/0.7616, allocations: 411.3 kB / 0.7718 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.7617, allocations: 29 kB / 0.7718 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.708e-05/0.7617, allocations: 36 kB / 0.7719 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008836/0.7626, allocations: 0.5 MB / 0.7724 GB, free: 112 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.7627, allocations: 0 / 0.7724 GB, free: 112 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-05/0.7627, allocations: 16 kB / 0.7724 GB, free: 96 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.7627, allocations: 19.88 kB / 0.7724 GB, free: 76 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007781/0.7635, allocations: 435.6 kB / 0.7728 GB, free: 15.65 MB / 0.5919 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.003034/0.7666, allocations: 2.443 MB / 0.7752 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.7669, allocations: 146.5 kB / 0.7753 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.7671, allocations: 64.81 kB / 0.7754 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000266/0.7674, allocations: 356.5 kB / 0.7757 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.7674, allocations: 34.56 kB / 0.7758 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.7674, allocations: 0 / 0.7758 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.0007095/0.7681, allocations: 259.6 kB / 0.776 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.7682, allocations: 55.41 kB / 0.7761 GB, free: 12 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005642/0.7688, allocations: 0.5409 MB / 0.7766 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.7688, allocations: 33.7 kB / 0.7766 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.769, allocations: 282.9 kB / 0.7769 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.769, allocations: 47.44 kB / 0.7769 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.7691, allocations: 77.59 kB / 0.777 GB, free: 11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.7693, allocations: 358.8 kB / 0.7774 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.7695, allocations: 116.8 kB / 0.7775 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.7698, allocations: 246.1 kB / 0.7777 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004946/0.7703, allocations: 346.3 kB / 0.778 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.7703, allocations: 4 kB / 0.778 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007061/0.7711, allocations: 430.2 kB / 0.7785 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.7711, allocations: 4 kB / 0.7785 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.7711, allocations: 9.5 kB / 0.7785 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.7711, allocations: 8 kB / 0.7785 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.7715, allocations: 85.08 kB / 0.7786 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.7715, allocations: 7.938 kB / 0.7786 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.7719, allocations: 59.36 kB / 0.7786 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.772, allocations: 20.23 kB / 0.7786 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003289/0.7723, allocations: 252 kB / 0.7789 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002842/0.7726, allocations: 241.5 kB / 0.7791 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000462/0.7731, allocations: 349.5 kB / 0.7794 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.066e-06/0.7731, allocations: 0 / 0.7794 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0006949/0.7738, allocations: 435.5 kB / 0.7799 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.7738, allocations: 9.469 kB / 0.7799 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.7738, allocations: 4 kB / 0.7799 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.7738, allocations: 15.94 kB / 0.7799 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.7742, allocations: 79.83 kB / 0.78 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.7742, allocations: 11.98 kB / 0.78 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.7745, allocations: 27.84 kB / 0.78 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.7746, allocations: 19.92 kB / 0.78 GB, free: 7.66 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (42): * Single equations (assignments): 42 * 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.0001228/0.7747, allocations: 208.1 kB / 0.7802 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.504e-05/0.7748, allocations: 47.53 kB / 0.7803 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004727/0.7753, allocations: 221.2 kB / 0.7805 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.7753, allocations: 0 / 0.7805 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7753, allocations: 0 / 0.7805 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7753, allocations: 0 / 0.7805 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.7757, allocations: 381.2 kB / 0.7808 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.7757, allocations: 4 kB / 0.7808 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.7759, allocations: 27.98 kB / 0.7809 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.7759, allocations: 0 / 0.7809 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.7759, allocations: 7.938 kB / 0.7809 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.7759, allocations: 0 / 0.7809 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.7759, allocations: 7.984 kB / 0.7809 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.7763, allocations: 286.9 kB / 0.7812 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.7765, allocations: 152.5 kB / 0.7813 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.712e-05/0.7766, allocations: 7.938 kB / 0.7813 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/0.7769, allocations: 15.98 kB / 0.7813 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.777, allocations: 11.98 kB / 0.7813 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.777, allocations: 11.98 kB / 0.7813 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000388/0.7774, allocations: 386.8 kB / 0.7817 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7774, allocations: 0 / 0.7817 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009621/0.7784, allocations: 347.6 kB / 0.7821 GB, free: 5.484 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0006787/0.7791, allocations: 341.2 kB / 0.7824 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007965/0.7799, allocations: 409.4 kB / 0.7828 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7799, allocations: 4.062 kB / 0.7828 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.78, allocations: 75.39 kB / 0.7828 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.7811, allocations: 229.5 kB / 0.7831 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.7822, allocations: 0.6926 MB / 0.7837 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.7825, allocations: 0.831 MB / 0.7845 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003785/0.7829, allocations: 124.5 kB / 0.7847 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.205e-05/0.783, allocations: 39.42 kB / 0.7847 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.783, allocations: 0 / 0.7847 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of Templates: time 0.01839/0.8014, allocations: 11.04 MB / 0.7955 GB, free: 7.766 MB / 0.6075 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)