Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.792/1.792, allocations: 292.6 MB / 307.5 MB, free: 5.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001436/0.001436, allocations: 184.8 kB / 377.1 MB, free: 1.508 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.4 MB / 0.6367 GB, free: 8.602 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009891/0.0009888, allocations: 91.25 kB / 0.751 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000466/0.0004663, allocations: 15.98 kB / 0.8748 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3217, allocations: 116.3 MB / 0.9884 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.682/6.003, allocations: 2.094 GB / 3.083 GB, free: 102.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/6.004, allocations: 97.36 kB / 3.083 GB, free: 102.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.213/11.22, allocations: 1.279 GB / 4.362 GB, free: 112.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.673e-06/11.22, allocations: 0 / 4.362 GB, free: 112.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002719/11.22, allocations: 48.58 kB / 4.362 GB, free: 112.8 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.008939/11.23, allocations: 2.046 MB / 4.364 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/11.23, allocations: 8.562 kB / 4.364 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003331/11.23, allocations: 371.2 kB / 4.364 GB, free: 112 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004535/11.23, allocations: 1.14 MB / 4.365 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/11.23, allocations: 103 kB / 4.366 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006434/11.24, allocations: 132.7 kB / 4.366 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004891/11.24, allocations: 1.517 MB / 4.367 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.208e-05/11.24, allocations: 0 / 4.367 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002754/11.24, allocations: 54.86 kB / 4.367 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.738e-05/11.24, allocations: 54.84 kB / 4.367 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002887/11.24, allocations: 1.212 MB / 4.368 GB, free: 111.5 MB / 0.9636 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.01186/11.26, allocations: 6.558 MB / 4.375 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/11.26, allocations: 0.7655 MB / 4.376 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006852/11.26, allocations: 411.7 kB / 4.376 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/11.26, allocations: 42.61 kB / 4.376 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=73): time 3.446e-06/11.26, allocations: 2.406 kB / 4.376 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73): time 0.003254/11.26, allocations: 1.517 MB / 4.378 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/11.26, allocations: 61.75 kB / 4.378 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/11.26, allocations: 1.095 MB / 4.379 GB, free: 107.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001358/11.26, allocations: 45.83 kB / 4.379 GB, free: 107 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006022/11.26, allocations: 0.6923 MB / 4.379 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/11.26, allocations: 261.8 kB / 4.38 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/11.26, allocations: 21.41 kB / 4.38 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/11.26, allocations: 348.5 kB / 4.38 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006067/11.26, allocations: 336.7 kB / 4.38 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008666/11.27, allocations: 0.7312 MB / 4.381 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008249/11.27, allocations: 463.9 kB / 4.381 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/11.27, allocations: 2.188 kB / 4.381 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002603/11.27, allocations: 1.245 MB / 4.383 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/11.27, allocations: 8.531 kB / 4.383 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/11.27, allocations: 8.781 kB / 4.383 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003666/11.27, allocations: 132.2 kB / 4.383 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007996/11.27, allocations: 200.8 kB / 4.383 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00338/11.27, allocations: 4.839 MB / 4.388 GB, free: 101.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/11.28, allocations: 192.1 kB / 4.388 GB, free: 101.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/11.28, allocations: 44.98 kB / 4.388 GB, free: 101.7 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (112): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001266/11.28, allocations: 424.4 kB / 4.388 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003968/11.28, allocations: 144.4 kB / 4.389 GB, free: 101.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001901/11.28, allocations: 1.041 MB / 4.39 GB, free: 101.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/11.28, allocations: 6.281 kB / 4.39 GB, free: 101.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/11.28, allocations: 2.156 kB / 4.39 GB, free: 101.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001399/11.28, allocations: 0.926 MB / 4.39 GB, free: 101.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005372/11.29, allocations: 2.366 MB / 4.393 GB, free: 100.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/11.29, allocations: 2.75 kB / 4.393 GB, free: 100.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007326/11.29, allocations: 133.9 kB / 4.393 GB, free: 100.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002767/11.29, allocations: 123.3 kB / 4.393 GB, free: 100.6 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/11.29, allocations: 22.27 kB / 4.393 GB, free: 100.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00375/11.29, allocations: 4.819 MB / 4.398 GB, free: 96.65 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/11.29, allocations: 4.188 kB / 4.398 GB, free: 96.65 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/11.29, allocations: 1.647 MB / 4.399 GB, free: 96.11 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009785/11.3, allocations: 320.7 kB / 4.4 GB, free: 95.95 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/11.3, allocations: 22.11 kB / 4.4 GB, free: 95.95 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008891/11.3, allocations: 72.62 kB / 4.4 GB, free: 95.94 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/11.3, allocations: 56.58 kB / 4.4 GB, free: 95.94 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.78e-05/11.3, allocations: 28.09 kB / 4.4 GB, free: 95.94 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001691/11.3, allocations: 0.8638 MB / 4.401 GB, free: 95.83 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.41e-07/11.3, allocations: 0 / 4.401 GB, free: 95.83 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003116/11.3, allocations: 0.6697 MB / 4.401 GB, free: 95.8 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004343/11.31, allocations: 2.401 MB / 4.404 GB, free: 94.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002265/11.31, allocations: 1.192 MB / 4.405 GB, free: 94.55 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/11.31, allocations: 1.125 kB / 4.405 GB, free: 94.55 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009696/11.31, allocations: 0.7336 MB / 4.406 GB, free: 94.22 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004513/11.31, allocations: 0.8388 MB / 4.406 GB, free: 94.19 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005511/11.32, allocations: 3.174 MB / 4.409 GB, free: 92.83 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/11.32, allocations: 1.378 MB / 4.411 GB, free: 92.12 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001825/11.32, allocations: 349.7 kB / 4.411 GB, free: 92.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/11.32, allocations: 110.5 kB / 4.411 GB, free: 92.09 MB / 0.9636 GB Notification: Performance of SimCode: time 1.031e-06/11.32, allocations: 0 / 4.411 GB, free: 92.09 MB / 0.9636 GB Notification: Performance of Templates: time 0.09144/11.41, allocations: 55.88 MB / 4.466 GB, free: 89.9 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)