Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.153/2.153, allocations: 387.4 MB / 394.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 184.8 kB / 487.4 MB, free: 5.02 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 221.5 MB / 0.7824 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009975/0.0009976, allocations: 103.8 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.146e-05/2.146e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2631, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.211/5.474, allocations: 1.938 GB / 3.144 GB, free: 346.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/5.475, allocations: 86.64 kB / 3.144 GB, free: 346.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.167/10.64, allocations: 1.286 GB / 4.43 GB, free: 209.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.174e-06/10.64, allocations: 0 / 4.43 GB, free: 209.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001374/10.64, allocations: 45.84 kB / 4.43 GB, free: 209.9 MB / 1.167 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.006142/10.65, allocations: 1.837 MB / 4.432 GB, free: 209.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/10.65, allocations: 8.906 kB / 4.432 GB, free: 209.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003126/10.65, allocations: 395.8 kB / 4.432 GB, free: 209.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003221/10.65, allocations: 1.149 MB / 4.433 GB, free: 209 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/10.65, allocations: 41.91 kB / 4.433 GB, free: 209 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/10.66, allocations: 82.56 kB / 4.434 GB, free: 209 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002014/10.66, allocations: 1.12 MB / 4.435 GB, free: 209 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/10.66, allocations: 1.311 MB / 4.436 GB, free: 208.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.547e-05/10.66, allocations: 0 / 4.436 GB, free: 208.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/10.66, allocations: 0 / 4.436 GB, free: 208.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.384e-05/10.66, allocations: 54.66 kB / 4.436 GB, free: 208.8 MB / 1.167 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.008248/10.67, allocations: 6.25 MB / 4.442 GB, free: 205.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/10.67, allocations: 0.8861 MB / 4.443 GB, free: 205.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006151/10.67, allocations: 427.3 kB / 4.443 GB, free: 205.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007516/10.67, allocations: 423.8 kB / 4.444 GB, free: 205.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/10.67, allocations: 44.78 kB / 4.444 GB, free: 205.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 5.571e-06/10.67, allocations: 0 / 4.444 GB, free: 205.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.007001/10.68, allocations: 2.494 MB / 4.446 GB, free: 204.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/10.68, allocations: 66.09 kB / 4.446 GB, free: 204.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/10.68, allocations: 0.7102 MB / 4.447 GB, free: 204.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001579/10.68, allocations: 28.83 kB / 4.447 GB, free: 204.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007065/10.68, allocations: 0.69 MB / 4.448 GB, free: 204.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003626/10.68, allocations: 288.1 kB / 4.448 GB, free: 203.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/10.68, allocations: 0 / 4.448 GB, free: 203.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001447/10.68, allocations: 352 kB / 4.448 GB, free: 203.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005617/10.68, allocations: 337.6 kB / 4.449 GB, free: 203.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000843/10.68, allocations: 0.6944 MB / 4.449 GB, free: 203.2 MB / 1.167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (sin.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00299/10.69, allocations: 1.156 MB / 4.45 GB, free: 203.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/10.69, allocations: 3.969 kB / 4.45 GB, free: 203.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002728/10.69, allocations: 1.287 MB / 4.452 GB, free: 203 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/10.69, allocations: 7.406 kB / 4.452 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/10.69, allocations: 11.47 kB / 4.452 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003807/10.69, allocations: 146.9 kB / 4.452 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007822/10.69, allocations: 202.9 kB / 4.452 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003085/10.69, allocations: 4.602 MB / 4.457 GB, free: 199.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/10.69, allocations: 85.36 kB / 4.457 GB, free: 199.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/10.69, allocations: 52.27 kB / 4.457 GB, free: 199.1 MB / 1.167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 113 * 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.0003011/10.69, allocations: 137.7 kB / 4.457 GB, free: 199 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002093/10.7, allocations: 1.045 MB / 4.458 GB, free: 198.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003789/10.7, allocations: 116.8 kB / 4.458 GB, free: 198.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/10.7, allocations: 1.118 MB / 4.459 GB, free: 198.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/10.7, allocations: 15.73 kB / 4.459 GB, free: 198.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/10.7, allocations: 0 / 4.459 GB, free: 198.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001576/10.7, allocations: 1.121 MB / 4.46 GB, free: 198.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006065/10.71, allocations: 2.959 MB / 4.463 GB, free: 197.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/10.71, allocations: 4.75 kB / 4.463 GB, free: 197.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007103/10.71, allocations: 152.7 kB / 4.463 GB, free: 197.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003314/10.71, allocations: 135.5 kB / 4.463 GB, free: 197.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.091e-05/10.71, allocations: 20.58 kB / 4.463 GB, free: 197.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003046/10.71, allocations: 4.587 MB / 4.468 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.405e-06/10.71, allocations: 8.75 kB / 4.468 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002981/10.71, allocations: 2.037 MB / 4.47 GB, free: 193 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009775/10.72, allocations: 284.6 kB / 4.47 GB, free: 192.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003946/10.72, allocations: 9.219 kB / 4.47 GB, free: 192.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/10.72, allocations: 66.52 kB / 4.47 GB, free: 192.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/10.72, allocations: 74.22 kB / 4.47 GB, free: 192.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.99e-05/10.72, allocations: 41.28 kB / 4.47 GB, free: 192.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001035/10.72, allocations: 0.5384 MB / 4.471 GB, free: 192.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/10.72, allocations: 3.375 kB / 4.471 GB, free: 192.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00294/10.72, allocations: 0.5243 MB / 4.471 GB, free: 192.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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 (75): * Single equations (assignments): 72 * 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.00768/10.73, allocations: 6.806 MB / 4.478 GB, free: 188.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002036/10.73, allocations: 1.162 MB / 4.479 GB, free: 188.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/10.73, allocations: 3.125 kB / 4.479 GB, free: 188.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008711/10.73, allocations: 0.7368 MB / 4.48 GB, free: 188.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003695/10.74, allocations: 0.5975 MB / 4.48 GB, free: 188.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00712/10.74, allocations: 2.514 MB / 4.483 GB, free: 187.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/10.74, allocations: 1.385 MB / 4.484 GB, free: 186.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001643/10.75, allocations: 304.5 kB / 4.484 GB, free: 186.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008967/10.75, allocations: 0.5353 MB / 4.485 GB, free: 186.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.243e-06/10.75, allocations: 3.562 kB / 4.485 GB, free: 186.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1092/10.86, allocations: 51.52 MB / 4.535 GB, free: 185.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/10.86, allocations: 155.8 kB / 4.535 GB, free: 185.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.867/14.72, allocations: 7.781 kB / 4.535 GB, free: 185.4 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.PPM_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.PPM_res.mat does not exist to compare? outputFormat=mat