Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.458/1.458, allocations: 249.3 MB / 261.9 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 185.7 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008772/0.0008773, allocations: 82.48 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.304e-05/3.307e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2061, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.774/5.98, allocations: 2.211 GB / 3.103 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/5.98, allocations: 89.25 kB / 3.103 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.945/10.93, allocations: 1.243 GB / 4.346 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.345e-06/10.93, allocations: 6.031 kB / 4.346 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001786/10.93, allocations: 39.5 kB / 4.346 GB, free: 133.3 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.006206/10.93, allocations: 1.827 MB / 4.348 GB, free: 132.5 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/10.93, allocations: 9.688 kB / 4.348 GB, free: 132.5 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000351/10.93, allocations: 199 kB / 4.348 GB, free: 132.5 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002322/10.93, allocations: 372.1 kB / 4.349 GB, free: 132.4 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/10.94, allocations: 1.133 MB / 4.35 GB, free: 132.1 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.545e-05/10.94, allocations: 106.7 kB / 4.35 GB, free: 132.1 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/10.94, allocations: 134.8 kB / 4.35 GB, free: 132.1 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/10.94, allocations: 1.505 MB / 4.352 GB, free: 131.9 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/10.94, allocations: 3 kB / 4.352 GB, free: 131.9 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/10.94, allocations: 62.86 kB / 4.352 GB, free: 131.9 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.817e-05/10.94, allocations: 49.14 kB / 4.352 GB, free: 131.9 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/10.94, allocations: 1.197 MB / 4.353 GB, free: 131.9 MB / 0.9011 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.007713/10.95, allocations: 6.561 MB / 4.359 GB, free: 128.5 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/10.95, allocations: 0.7492 MB / 4.36 GB, free: 128.5 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000508/10.95, allocations: 412.1 kB / 4.36 GB, free: 128.5 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006331/10.95, allocations: 412.2 kB / 4.361 GB, free: 128.1 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/10.95, allocations: 38.44 kB / 4.361 GB, free: 128.1 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=73): time 3.687e-06/10.95, allocations: 0 / 4.361 GB, free: 128.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=73): time 0.002171/10.95, allocations: 0.9463 MB / 4.362 GB, free: 127.9 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/10.95, allocations: 62.58 kB / 4.362 GB, free: 127.9 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/10.96, allocations: 1.091 MB / 4.363 GB, free: 127.7 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/10.96, allocations: 43.83 kB / 4.363 GB, free: 127.7 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004597/10.96, allocations: 0.69 MB / 4.364 GB, free: 127.4 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/10.96, allocations: 270.1 kB / 4.364 GB, free: 127.3 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/10.96, allocations: 19.12 kB / 4.364 GB, free: 127.3 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.659e-05/10.96, allocations: 348.1 kB / 4.364 GB, free: 127 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004472/10.96, allocations: 333.8 kB / 4.365 GB, free: 127 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006534/10.96, allocations: 0.692 MB / 4.365 GB, free: 126.6 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006058/10.96, allocations: 463.6 kB / 4.366 GB, free: 126.6 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/10.96, allocations: 0 / 4.366 GB, free: 126.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001917/10.96, allocations: 1.238 MB / 4.367 GB, free: 126.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/10.96, allocations: 10.97 kB / 4.367 GB, free: 126.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/10.96, allocations: 7.156 kB / 4.367 GB, free: 126.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004145/10.96, allocations: 146.9 kB / 4.367 GB, free: 126.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007137/10.96, allocations: 200.6 kB / 4.367 GB, free: 126.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003133/10.96, allocations: 4.786 MB / 4.372 GB, free: 122.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/10.97, allocations: 191.2 kB / 4.372 GB, free: 122.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/10.97, allocations: 52.02 kB / 4.372 GB, free: 122.4 MB / 0.9011 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.0002408/10.97, allocations: 161.5 kB / 4.372 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/10.97, allocations: 145.4 kB / 4.372 GB, free: 122.2 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/10.97, allocations: 1.058 MB / 4.373 GB, free: 122.1 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/10.97, allocations: 9.5 kB / 4.373 GB, free: 122.1 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/10.97, allocations: 3.953 kB / 4.373 GB, free: 122.1 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001117/10.97, allocations: 0.9323 MB / 4.374 GB, free: 121.8 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004233/10.97, allocations: 2.388 MB / 4.377 GB, free: 121.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/10.97, allocations: 2.938 kB / 4.377 GB, free: 121.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006214/10.97, allocations: 130.3 kB / 4.377 GB, free: 121.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003142/10.98, allocations: 140.5 kB / 4.377 GB, free: 121.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.918e-05/10.98, allocations: 20.28 kB / 4.377 GB, free: 121.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003063/10.98, allocations: 4.765 MB / 4.382 GB, free: 117.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/10.98, allocations: 13.95 kB / 4.382 GB, free: 117.3 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/10.98, allocations: 1.638 MB / 4.383 GB, free: 116.8 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009417/10.98, allocations: 330.6 kB / 4.384 GB, free: 116.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/10.98, allocations: 15.53 kB / 4.384 GB, free: 116.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008612/10.98, allocations: 66.95 kB / 4.384 GB, free: 116.6 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/10.98, allocations: 65.09 kB / 4.384 GB, free: 116.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.612e-05/10.98, allocations: 29.77 kB / 4.384 GB, free: 116.6 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00124/10.98, allocations: 0.8525 MB / 4.385 GB, free: 116.5 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.8e-07/10.98, allocations: 0 / 4.385 GB, free: 116.5 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002746/10.99, allocations: 0.6754 MB / 4.385 GB, free: 116.4 MB / 0.9011 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.005843/10.99, allocations: 5.178 MB / 4.39 GB, free: 113.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001715/10.99, allocations: 1.166 MB / 4.391 GB, free: 113.5 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/10.99, allocations: 3.906 kB / 4.391 GB, free: 113.5 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007113/11, allocations: 0.7183 MB / 4.392 GB, free: 113.2 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00413/11, allocations: 0.8404 MB / 4.393 GB, free: 113.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005172/11, allocations: 2.501 MB / 4.395 GB, free: 112.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/11.01, allocations: 1.374 MB / 4.397 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001835/11.01, allocations: 350.2 kB / 4.397 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007593/11.01, allocations: 0.5391 MB / 4.398 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of SimCode: time 1.393e-06/11.01, allocations: 0 / 4.398 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1393/11.15, allocations: 82.45 MB / 4.478 GB, free: 89.96 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/11.15, allocations: 215.4 kB / 4.478 GB, free: 89.73 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.865/16.01, allocations: 4.062 kB / 4.478 GB, free: 89.73 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)