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.722/1.722, allocations: 289.7 MB / 302.2 MB, free: 2.129 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.001313/0.001313, allocations: 179.8 kB / 371.6 MB, free: 3.41 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.871/1.871, allocations: 205.2 MB / 0.6309 GB, free: 11.75 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.001007/0.001006, allocations: 91.84 kB / 0.745 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.271e-05/4.272e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3262, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.881/6.207, allocations: 2.094 GB / 3.074 GB, free: 102.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/6.207, allocations: 87.61 kB / 3.074 GB, free: 102.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.267/11.47, allocations: 1.278 GB / 4.352 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.486e-06/11.47, allocations: 2.062 kB / 4.352 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002207/11.47, allocations: 42.72 kB / 4.352 GB, free: 113.3 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.00706/11.48, allocations: 1.821 MB / 4.354 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/11.48, allocations: 13.88 kB / 4.354 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002354/11.48, allocations: 371.8 kB / 4.354 GB, free: 112.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002435/11.49, allocations: 1.132 MB / 4.355 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-05/11.49, allocations: 101.8 kB / 4.355 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/11.49, allocations: 136.7 kB / 4.356 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/11.49, allocations: 1.488 MB / 4.357 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/11.49, allocations: 4.625 kB / 4.357 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/11.49, allocations: 56.36 kB / 4.357 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/11.49, allocations: 48.77 kB / 4.357 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/11.49, allocations: 1.185 MB / 4.358 GB, free: 112.1 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.007637/11.5, allocations: 6.565 MB / 4.365 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/11.5, allocations: 0.761 MB / 4.365 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007071/11.5, allocations: 415.7 kB / 4.366 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007284/11.5, allocations: 406.2 kB / 4.366 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/11.5, allocations: 46.53 kB / 4.366 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=73): time 3.396e-06/11.5, allocations: 0 / 4.366 GB, free: 108.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73): time 0.002401/11.5, allocations: 0.9585 MB / 4.367 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/11.5, allocations: 59.38 kB / 4.367 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/11.51, allocations: 1.087 MB / 4.368 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.042e-05/11.51, allocations: 46.8 kB / 4.368 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/11.51, allocations: 0.7012 MB / 4.369 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/11.51, allocations: 262.2 kB / 4.369 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/11.51, allocations: 20.47 kB / 4.369 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.369e-05/11.51, allocations: 345.3 kB / 4.37 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004789/11.51, allocations: 330 kB / 4.37 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006832/11.51, allocations: 0.7248 MB / 4.371 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006394/11.51, allocations: 459.1 kB / 4.371 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.904e-06/11.51, allocations: 7.188 kB / 4.371 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001861/11.51, allocations: 1.252 MB / 4.372 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/11.51, allocations: 9.094 kB / 4.372 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/11.51, allocations: 10.53 kB / 4.372 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004703/11.51, allocations: 149.5 kB / 4.372 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008184/11.51, allocations: 195.2 kB / 4.373 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003388/11.52, allocations: 4.785 MB / 4.377 GB, free: 102.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/11.52, allocations: 188.9 kB / 4.377 GB, free: 102.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/11.52, allocations: 48.47 kB / 4.378 GB, free: 102.6 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 () * 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.000264/11.52, allocations: 176.1 kB / 4.378 GB, free: 102.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002701/11.52, allocations: 140.7 kB / 4.378 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/11.52, allocations: 1.066 MB / 4.379 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/11.52, allocations: 9.688 kB / 4.379 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/11.52, allocations: 0 / 4.379 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001232/11.52, allocations: 0.9422 MB / 4.38 GB, free: 102 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004419/11.53, allocations: 2.382 MB / 4.382 GB, free: 101.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/11.53, allocations: 2.406 kB / 4.382 GB, free: 101.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006927/11.53, allocations: 136.5 kB / 4.382 GB, free: 101.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003963/11.53, allocations: 129.9 kB / 4.382 GB, free: 101.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-05/11.53, allocations: 22.77 kB / 4.382 GB, free: 101.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003421/11.53, allocations: 4.773 MB / 4.387 GB, free: 97.51 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/11.53, allocations: 2.938 kB / 4.387 GB, free: 97.51 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002731/11.53, allocations: 1.668 MB / 4.389 GB, free: 96.96 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009226/11.53, allocations: 312.4 kB / 4.389 GB, free: 96.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/11.53, allocations: 20.06 kB / 4.389 GB, free: 96.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008915/11.54, allocations: 71.8 kB / 4.389 GB, free: 96.79 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/11.54, allocations: 59.94 kB / 4.389 GB, free: 96.79 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.314e-05/11.54, allocations: 26.94 kB / 4.389 GB, free: 96.79 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001619/11.54, allocations: 0.8489 MB / 4.39 GB, free: 96.67 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.8e-07/11.54, allocations: 0 / 4.39 GB, free: 96.67 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003028/11.54, allocations: 0.6648 MB / 4.391 GB, free: 96.65 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 () * 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.00426/11.54, allocations: 2.417 MB / 4.393 GB, free: 95.74 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002157/11.55, allocations: 1.172 MB / 4.394 GB, free: 95.39 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/11.55, allocations: 4.25 kB / 4.394 GB, free: 95.39 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008999/11.55, allocations: 0.7169 MB / 4.395 GB, free: 95.06 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004452/11.55, allocations: 0.8227 MB / 4.396 GB, free: 95.04 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/11.56, allocations: 2.134 MB / 4.398 GB, free: 94.44 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/11.56, allocations: 1.375 MB / 4.399 GB, free: 93.72 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001838/11.56, allocations: 346.5 kB / 4.399 GB, free: 93.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/11.56, allocations: 106.7 kB / 4.4 GB, free: 93.7 MB / 0.9636 GB Notification: Performance of SimCode: time 1.082e-06/11.56, allocations: 3.438 kB / 4.4 GB, free: 93.7 MB / 0.9636 GB Notification: Performance of Templates: time 0.09753/11.66, allocations: 61.77 MB / 4.46 GB, free: 91.29 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)