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.154/2.154, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001396/0.001396, allocations: 173 kB / 492.3 MB, free: 0.6133 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.556/1.556, allocations: 221.3 MB / 0.7872 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 95.12 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.297e-05/4.307e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2918, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.216/5.508, allocations: 1.938 GB / 3.151 GB, free: 332.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/5.508, allocations: 91 kB / 3.151 GB, free: 332.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.147/10.66, allocations: 1.3 GB / 4.451 GB, free: 205 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.593e-06/10.66, allocations: 0 / 4.451 GB, free: 205 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002206/10.66, allocations: 42.16 kB / 4.451 GB, free: 205 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.006815/10.66, allocations: 1.838 MB / 4.453 GB, free: 204.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/10.66, allocations: 11 kB / 4.453 GB, free: 204.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008806/10.66, allocations: 193.8 kB / 4.453 GB, free: 204.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003248/10.67, allocations: 393.8 kB / 4.453 GB, free: 204.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004166/10.67, allocations: 1.146 MB / 4.455 GB, free: 203.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/10.67, allocations: 104.3 kB / 4.455 GB, free: 203.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006068/10.67, allocations: 132.6 kB / 4.455 GB, free: 203.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004066/10.68, allocations: 1.497 MB / 4.456 GB, free: 203.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.166e-05/10.68, allocations: 0 / 4.456 GB, free: 203.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002601/10.68, allocations: 62.89 kB / 4.456 GB, free: 203.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.141e-05/10.68, allocations: 49.02 kB / 4.456 GB, free: 203.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/10.68, allocations: 1.2 MB / 4.458 GB, free: 203.7 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.01107/10.69, allocations: 6.547 MB / 4.464 GB, free: 200.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/10.69, allocations: 0.9269 MB / 4.465 GB, free: 200.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006382/10.69, allocations: 464.5 kB / 4.465 GB, free: 200.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006557/10.69, allocations: 410 kB / 4.466 GB, free: 200 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/10.69, allocations: 45.69 kB / 4.466 GB, free: 199.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 3.206e-06/10.69, allocations: 0 / 4.466 GB, free: 199.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.005779/10.7, allocations: 2.302 MB / 4.468 GB, free: 199.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/10.7, allocations: 69.67 kB / 4.468 GB, free: 199.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/10.7, allocations: 1.018 MB / 4.469 GB, free: 199.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001402/10.7, allocations: 44.39 kB / 4.469 GB, free: 199.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006343/10.7, allocations: 0.6751 MB / 4.47 GB, free: 198.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000325/10.7, allocations: 310.1 kB / 4.47 GB, free: 198.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/10.7, allocations: 20.53 kB / 4.47 GB, free: 198.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001085/10.7, allocations: 347.1 kB / 4.47 GB, free: 198.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005535/10.7, allocations: 358.2 kB / 4.471 GB, free: 198.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008581/10.7, allocations: 0.7227 MB / 4.471 GB, free: 198 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.01112/10.71, allocations: 2.341 MB / 4.474 GB, free: 197.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.548e-05/10.71, allocations: 3.25 kB / 4.474 GB, free: 197.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00283/10.72, allocations: 1.287 MB / 4.475 GB, free: 197.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/10.72, allocations: 7.594 kB / 4.475 GB, free: 197.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/10.72, allocations: 14.39 kB / 4.475 GB, free: 197.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004143/10.72, allocations: 146.1 kB / 4.475 GB, free: 197.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008275/10.72, allocations: 205 kB / 4.475 GB, free: 197.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003368/10.72, allocations: 4.779 MB / 4.48 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/10.72, allocations: 116.7 kB / 4.48 GB, free: 193.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/10.72, allocations: 48.91 kB / 4.48 GB, free: 193.8 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.000304/10.72, allocations: 168.6 kB / 4.48 GB, free: 193.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002787/10.72, allocations: 144 kB / 4.48 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/10.73, allocations: 1.094 MB / 4.482 GB, free: 193.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/10.73, allocations: 11.12 kB / 4.482 GB, free: 193.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/10.73, allocations: 0 / 4.482 GB, free: 193.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001259/10.73, allocations: 1.053 MB / 4.483 GB, free: 193.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005472/10.73, allocations: 3.072 MB / 4.486 GB, free: 192.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/10.73, allocations: 3.969 kB / 4.486 GB, free: 192.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006883/10.73, allocations: 153.8 kB / 4.486 GB, free: 192.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003318/10.73, allocations: 143.9 kB / 4.486 GB, free: 192.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.956e-05/10.73, allocations: 30.94 kB / 4.486 GB, free: 192.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003035/10.74, allocations: 4.76 MB / 4.491 GB, free: 188.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/10.74, allocations: 14.58 kB / 4.491 GB, free: 188.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/10.74, allocations: 2.072 MB / 4.493 GB, free: 187.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009057/10.74, allocations: 311.5 kB / 4.493 GB, free: 187.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/10.74, allocations: 32.34 kB / 4.493 GB, free: 187.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000922/10.74, allocations: 83.3 kB / 4.493 GB, free: 187.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/10.74, allocations: 76.2 kB / 4.493 GB, free: 187.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.046e-05/10.74, allocations: 35.33 kB / 4.493 GB, free: 187.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001218/10.74, allocations: 0.8232 MB / 4.494 GB, free: 187 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/10.74, allocations: 3 kB / 4.494 GB, free: 187 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002792/10.75, allocations: 0.6238 MB / 4.495 GB, free: 187 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.006641/10.75, allocations: 6.525 MB / 4.501 GB, free: 183.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001897/10.76, allocations: 1.238 MB / 4.502 GB, free: 182.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/10.76, allocations: 6 kB / 4.502 GB, free: 182.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007831/10.76, allocations: 0.778 MB / 4.503 GB, free: 182.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004273/10.76, allocations: 0.8414 MB / 4.504 GB, free: 182.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005197/10.77, allocations: 2.644 MB / 4.506 GB, free: 181.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008124/10.77, allocations: 1.379 MB / 4.508 GB, free: 181 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0015/10.77, allocations: 357.2 kB / 4.508 GB, free: 181 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007164/10.77, allocations: 0.5534 MB / 4.508 GB, free: 181 MB / 1.167 GB Notification: Performance of SimCode: time 1.843e-06/10.77, allocations: 0 / 4.508 GB, free: 181 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.144/10.91, allocations: 83.39 MB / 4.59 GB, free: 173.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/10.91, allocations: 201.7 kB / 4.59 GB, free: 173 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.304/16.22, allocations: 0 / 4.59 GB, free: 173 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