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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.897/1.897, allocations: 289.7 MB / 302.2 MB, free: 2.098 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.001397/0.001397, allocations: 182.4 kB / 371.6 MB, free: 3.438 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.913/1.913, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0009908/0.0009909, allocations: 91.16 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.921e-05/4.923e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3184, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.831/6.15, allocations: 2.094 GB / 3.074 GB, free: 147.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/6.15, allocations: 84.61 kB / 3.074 GB, free: 147.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.678/11.83, allocations: 1.278 GB / 4.352 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.503e-06/11.83, allocations: 0 / 4.352 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001146/11.83, allocations: 43.09 kB / 4.352 GB, free: 119.7 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.004656/11.83, allocations: 1.83 MB / 4.354 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/11.83, allocations: 8.906 kB / 4.354 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000282/11.83, allocations: 198.7 kB / 4.354 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002301/11.84, allocations: 368.4 kB / 4.354 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/11.84, allocations: 1.126 MB / 4.356 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.64e-05/11.84, allocations: 105.1 kB / 4.356 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/11.84, allocations: 134.1 kB / 4.356 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002718/11.84, allocations: 1.496 MB / 4.357 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/11.84, allocations: 6.891 kB / 4.357 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/11.84, allocations: 54.25 kB / 4.357 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.775e-05/11.84, allocations: 49.75 kB / 4.357 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/11.84, allocations: 1.193 MB / 4.359 GB, free: 118.5 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.008574/11.85, allocations: 6.561 MB / 4.365 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/11.85, allocations: 0.7612 MB / 4.366 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005542/11.85, allocations: 415.6 kB / 4.366 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006339/11.85, allocations: 408.6 kB / 4.366 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/11.86, allocations: 44.78 kB / 4.366 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=73): time 4.128e-06/11.86, allocations: 2.031 kB / 4.366 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73): time 0.002115/11.86, allocations: 0.9532 MB / 4.367 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/11.86, allocations: 58.59 kB / 4.367 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/11.86, allocations: 1.089 MB / 4.369 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.821e-05/11.86, allocations: 46.08 kB / 4.369 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005166/11.86, allocations: 0.6943 MB / 4.369 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/11.86, allocations: 263.3 kB / 4.37 GB, free: 114 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/11.86, allocations: 17.53 kB / 4.37 GB, free: 114 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000101/11.86, allocations: 344.1 kB / 4.37 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005235/11.86, allocations: 337.4 kB / 4.37 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007958/11.86, allocations: 0.7213 MB / 4.371 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007651/11.86, allocations: 459.2 kB / 4.371 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/11.86, allocations: 2.906 kB / 4.371 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002105/11.86, allocations: 1.247 MB / 4.373 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/11.86, allocations: 9.031 kB / 4.373 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/11.86, allocations: 9.469 kB / 4.373 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004421/11.86, allocations: 154.5 kB / 4.373 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007517/11.87, allocations: 199.1 kB / 4.373 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003505/11.87, allocations: 4.788 MB / 4.378 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/11.87, allocations: 182.8 kB / 4.378 GB, free: 109 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/11.87, allocations: 50.09 kB / 4.378 GB, free: 109 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.000271/11.87, allocations: 175.4 kB / 4.378 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/11.87, allocations: 145.1 kB / 4.378 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/11.87, allocations: 1.063 MB / 4.379 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/11.87, allocations: 12.73 kB / 4.379 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/11.87, allocations: 0 / 4.379 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001239/11.87, allocations: 0.9365 MB / 4.38 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003955/11.88, allocations: 2.396 MB / 4.382 GB, free: 108 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/11.88, allocations: 6.094 kB / 4.382 GB, free: 108 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006371/11.88, allocations: 131.9 kB / 4.383 GB, free: 108 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003346/11.88, allocations: 133.7 kB / 4.383 GB, free: 108 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.297e-05/11.88, allocations: 26.08 kB / 4.383 GB, free: 108 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003176/11.88, allocations: 4.762 MB / 4.387 GB, free: 104 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/11.88, allocations: 5.062 kB / 4.387 GB, free: 104 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/11.89, allocations: 1.665 MB / 4.389 GB, free: 103.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008552/11.89, allocations: 318.6 kB / 4.389 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/11.89, allocations: 23.78 kB / 4.389 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008492/11.89, allocations: 58.59 kB / 4.389 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/11.89, allocations: 60.14 kB / 4.389 GB, free: 103.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.475e-05/11.89, allocations: 27.62 kB / 4.389 GB, free: 103.2 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001341/11.89, allocations: 0.8504 MB / 4.39 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.51e-07/11.89, allocations: 0 / 4.39 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002905/11.89, allocations: 0.6737 MB / 4.391 GB, free: 103.1 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.006413/11.9, allocations: 5.187 MB / 4.396 GB, free: 100.6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00189/11.9, allocations: 1.175 MB / 4.397 GB, free: 100.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/11.9, allocations: 0 / 4.397 GB, free: 100.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007545/11.9, allocations: 0.727 MB / 4.398 GB, free: 99.95 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004208/11.9, allocations: 0.8253 MB / 4.399 GB, free: 99.93 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004929/11.91, allocations: 2.505 MB / 4.401 GB, free: 99.27 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000848/11.91, allocations: 1.372 MB / 4.402 GB, free: 98.55 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00144/11.91, allocations: 346.1 kB / 4.403 GB, free: 98.54 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006603/11.91, allocations: 0.5397 MB / 4.403 GB, free: 98.53 MB / 0.9636 GB Notification: Performance of SimCode: time 1.623e-06/11.91, allocations: 2.688 kB / 4.403 GB, free: 98.53 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1826/12.1, allocations: 82.53 MB / 4.484 GB, free: 96.05 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/12.1, allocations: 204.7 kB / 4.484 GB, free: 95.82 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.495/17.59, allocations: 4 kB / 4.484 GB, free: 95.82 MB / 0.9636 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)