Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.636/2.636, allocations: 393.5 MB / 408.4 MB, free: 11 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.001535/0.001535, allocations: 174.5 kB / 0.4901 GB, free: 2.258 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.75/1.75, allocations: 223.1 MB / 0.7992 GB, free: 15.69 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.001218/0.001218, allocations: 94.2 kB / 0.9396 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004525/0.0004528, allocations: 9.406 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3535, allocations: 143 MB / 1.229 GB, free: 85.43 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.685/7.039, allocations: 1.939 GB / 3.169 GB, free: 335.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003712/7.039, allocations: 93.61 kB / 3.169 GB, free: 335.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.731/10.77, allocations: 1.301 GB / 4.47 GB, free: 3.047 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.503e-06/10.77, allocations: 3.938 kB / 4.47 GB, free: 3.043 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001771/10.77, allocations: 43.98 kB / 4.47 GB, free: 3 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.006609/10.78, allocations: 2.062 MB / 4.472 GB, free: 0.8828 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/10.78, allocations: 12.02 kB / 4.472 GB, free: 0.8711 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000547/10.78, allocations: 194.1 kB / 4.472 GB, free: 0.6719 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003415/10.78, allocations: 401.5 kB / 4.473 GB, free: 284 kB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003547/10.78, allocations: 1.152 MB / 4.474 GB, free: 15.07 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/10.79, allocations: 102.6 kB / 4.474 GB, free: 14.96 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003182/10.79, allocations: 136 kB / 4.474 GB, free: 14.83 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0038/10.79, allocations: 1.516 MB / 4.475 GB, free: 13.24 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.332e-05/10.79, allocations: 3.938 kB / 4.475 GB, free: 13.24 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001891/10.79, allocations: 55.98 kB / 4.475 GB, free: 13.18 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.388e-05/10.79, allocations: 50.44 kB / 4.475 GB, free: 13.13 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003342/10.79, allocations: 1.224 MB / 4.477 GB, free: 11.9 MB / 1.182 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01404/10.81, allocations: 6.548 MB / 4.483 GB, free: 4.918 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/10.81, allocations: 0.9463 MB / 4.484 GB, free: 3.957 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/10.81, allocations: 409 kB / 4.484 GB, free: 3.484 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.7e-05/10.81, allocations: 43.22 kB / 4.484 GB, free: 3.434 MB / 1.182 GB Notification: Performance of pre-optimization done (n=82): time 4.288e-06/10.81, allocations: 0 / 4.484 GB, free: 3.434 MB / 1.182 GB Notification: Performance of matching and sorting (n=84): time 0.007893/10.82, allocations: 2.903 MB / 4.487 GB, free: 420 kB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/10.82, allocations: 60.41 kB / 4.487 GB, free: 348 kB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.649/11.47, allocations: 1.036 MB / 4.488 GB, free: 210.5 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.000288/11.47, allocations: 45.3 kB / 4.488 GB, free: 210.4 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006101/11.47, allocations: 0.6779 MB / 4.489 GB, free: 210.3 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004213/11.47, allocations: 298.7 kB / 4.489 GB, free: 210.3 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-05/11.47, allocations: 21.38 kB / 4.489 GB, free: 210.3 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 9.634e-05/11.47, allocations: 347.6 kB / 4.49 GB, free: 210 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007263/11.47, allocations: 366.5 kB / 4.49 GB, free: 210 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/11.47, allocations: 0.7312 MB / 4.491 GB, free: 209.6 MB / 1.182 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.01287/11.48, allocations: 2.323 MB / 4.493 GB, free: 209.5 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/11.48, allocations: 5.516 kB / 4.493 GB, free: 209.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002505/11.49, allocations: 1.29 MB / 4.494 GB, free: 209.3 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/11.49, allocations: 10.73 kB / 4.494 GB, free: 209.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/11.49, allocations: 8.625 kB / 4.494 GB, free: 209.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002961/11.49, allocations: 133.1 kB / 4.494 GB, free: 209.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008481/11.49, allocations: 206.4 kB / 4.495 GB, free: 209.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003606/11.49, allocations: 4.831 MB / 4.499 GB, free: 205.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/11.49, allocations: 119.1 kB / 4.499 GB, free: 205.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/11.49, allocations: 46 kB / 4.5 GB, free: 205.3 MB / 1.182 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 () * Number of clocked 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.001227/11.49, allocations: 427.7 kB / 4.5 GB, free: 205.2 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003757/11.49, allocations: 140.4 kB / 4.5 GB, free: 205.1 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002262/11.5, allocations: 1.09 MB / 4.501 GB, free: 205 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/11.5, allocations: 11.72 kB / 4.501 GB, free: 205 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/11.5, allocations: 0 / 4.501 GB, free: 205 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001635/11.5, allocations: 1.04 MB / 4.502 GB, free: 204.7 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006024/11.5, allocations: 3.058 MB / 4.505 GB, free: 203.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/11.5, allocations: 5.344 kB / 4.505 GB, free: 203.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007666/11.51, allocations: 153.7 kB / 4.505 GB, free: 203.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002661/11.51, allocations: 135.2 kB / 4.505 GB, free: 203.8 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.741e-05/11.51, allocations: 26.19 kB / 4.505 GB, free: 203.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003228/11.51, allocations: 4.806 MB / 4.51 GB, free: 199.9 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/11.51, allocations: 12.59 kB / 4.51 GB, free: 199.9 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002571/11.51, allocations: 2.075 MB / 4.512 GB, free: 198.8 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007341/11.51, allocations: 310.2 kB / 4.512 GB, free: 198.6 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/11.51, allocations: 24.52 kB / 4.512 GB, free: 198.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009545/11.51, allocations: 85.02 kB / 4.513 GB, free: 198.6 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/11.51, allocations: 77.91 kB / 4.513 GB, free: 198.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-05/11.51, allocations: 37.5 kB / 4.513 GB, free: 198.6 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001592/11.52, allocations: 0.8299 MB / 4.513 GB, free: 198.5 MB / 1.182 GB Notification: Performance of sort global known variables: time 5.41e-07/11.52, allocations: 0 / 4.513 GB, free: 198.5 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.003055/11.52, allocations: 0.6292 MB / 4.514 GB, free: 198.5 MB / 1.182 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 () * Number of clocked 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.007069/11.53, allocations: 6.516 MB / 4.52 GB, free: 194.8 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.002007/11.53, allocations: 1.259 MB / 4.522 GB, free: 194.4 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/11.53, allocations: 0 / 4.522 GB, free: 194.4 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0007828/11.53, allocations: 0.7818 MB / 4.522 GB, free: 194.1 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003613/11.53, allocations: 0.8496 MB / 4.523 GB, free: 194.1 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/11.54, allocations: 14.44 MB / 4.537 GB, free: 185.4 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000828/11.55, allocations: 1.389 MB / 4.539 GB, free: 184.7 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.001625/11.55, allocations: 352.6 kB / 4.539 GB, free: 184.7 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006811/11.55, allocations: 0.5514 MB / 4.54 GB, free: 184.7 MB / 1.182 GB Notification: Performance of SimCode: time 8.92e-07/11.55, allocations: 0 / 4.54 GB, free: 184.7 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1114/11.66, allocations: 77.65 MB / 4.615 GB, free: 183.7 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001382/11.66, allocations: 232.6 kB / 4.616 GB, free: 183.5 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.731/16.39, allocations: 6.938 kB / 4.616 GB, free: 183.5 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.PPM_res.mat does not exist to compare? outputFormat=mat