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.192/2.192, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.00107/0.00107, allocations: 177 kB / 498.1 MB, free: 5.668 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.551/1.551, allocations: 223.1 MB / 0.7948 GB, free: 17.89 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.00103/0.00103, allocations: 100.9 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003377, allocations: 11.91 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2762, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.996/4.273, allocations: 1.939 GB / 3.161 GB, free: 74.86 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004334/4.273, allocations: 92.52 kB / 3.162 GB, free: 74.77 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.537/8.81, allocations: 1.301 GB / 4.463 GB, free: 100.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.895e-06/8.81, allocations: 4 kB / 4.463 GB, free: 100.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001987/8.81, allocations: 36 kB / 4.463 GB, free: 100.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.007218/8.817, allocations: 2.067 MB / 4.465 GB, free: 98.79 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/8.817, allocations: 8.031 kB / 4.465 GB, free: 98.78 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008458/8.818, allocations: 194.1 kB / 4.465 GB, free: 98.58 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003013/8.821, allocations: 397.5 kB / 4.465 GB, free: 98.19 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003653/8.825, allocations: 1.144 MB / 4.467 GB, free: 96.98 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/8.825, allocations: 106.6 kB / 4.467 GB, free: 96.88 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004671/8.825, allocations: 136 kB / 4.467 GB, free: 96.75 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003439/8.829, allocations: 1.516 MB / 4.468 GB, free: 95.16 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.688e-05/8.829, allocations: 3.938 kB / 4.468 GB, free: 95.15 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/8.829, allocations: 59.94 kB / 4.468 GB, free: 95.09 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.439e-05/8.829, allocations: 54.42 kB / 4.468 GB, free: 95.04 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/8.832, allocations: 1.22 MB / 4.47 GB, free: 93.81 MB / 1.167 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.009432/8.841, allocations: 6.552 MB / 4.476 GB, free: 86.82 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/8.842, allocations: 0.9393 MB / 4.477 GB, free: 85.88 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006316/8.843, allocations: 413 kB / 4.477 GB, free: 85.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/8.843, allocations: 43.22 kB / 4.477 GB, free: 85.35 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 3.406e-06/8.843, allocations: 0 / 4.477 GB, free: 85.35 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.005759/8.849, allocations: 2.903 MB / 4.48 GB, free: 82.32 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/8.849, allocations: 64.41 kB / 4.48 GB, free: 82.25 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/8.851, allocations: 1.038 MB / 4.481 GB, free: 81.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001249/8.851, allocations: 45.7 kB / 4.481 GB, free: 81.14 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004762/8.851, allocations: 0.6838 MB / 4.482 GB, free: 80.45 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/8.852, allocations: 295.7 kB / 4.482 GB, free: 80.16 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/8.852, allocations: 24 kB / 4.482 GB, free: 80.14 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.316e-05/8.852, allocations: 341.9 kB / 4.483 GB, free: 79.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000526/8.852, allocations: 365.8 kB / 4.483 GB, free: 79.44 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007489/8.853, allocations: 0.7426 MB / 4.484 GB, free: 78.54 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.01193/8.865, allocations: 2.32 MB / 4.486 GB, free: 76.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/8.865, allocations: 4 kB / 4.486 GB, free: 76.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002377/8.867, allocations: 1.284 MB / 4.487 GB, free: 74.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/8.867, allocations: 11.95 kB / 4.487 GB, free: 74.89 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/8.867, allocations: 8 kB / 4.487 GB, free: 74.88 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002839/8.868, allocations: 143.2 kB / 4.487 GB, free: 74.73 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000819/8.869, allocations: 199.7 kB / 4.488 GB, free: 74.54 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003382/8.872, allocations: 4.827 MB / 4.492 GB, free: 69.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/8.874, allocations: 115.7 kB / 4.492 GB, free: 69.19 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/8.874, allocations: 44 kB / 4.492 GB, free: 69.14 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 () * 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.001076/8.875, allocations: 433.3 kB / 4.493 GB, free: 68.71 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003901/8.875, allocations: 142.3 kB / 4.493 GB, free: 68.57 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/8.877, allocations: 1.088 MB / 4.494 GB, free: 67.46 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/8.877, allocations: 8 kB / 4.494 GB, free: 67.46 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/8.877, allocations: 0 / 4.494 GB, free: 67.46 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001164/8.878, allocations: 1.039 MB / 4.495 GB, free: 66.36 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005643/8.884, allocations: 3.066 MB / 4.498 GB, free: 63.09 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/8.884, allocations: 4 kB / 4.498 GB, free: 63.09 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000716/8.885, allocations: 152.5 kB / 4.498 GB, free: 62.94 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002295/8.885, allocations: 126.5 kB / 4.498 GB, free: 62.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-05/8.885, allocations: 28 kB / 4.498 GB, free: 62.78 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0031/8.888, allocations: 4.819 MB / 4.503 GB, free: 57.56 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/8.888, allocations: 8 kB / 4.503 GB, free: 57.55 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/8.891, allocations: 2.071 MB / 4.505 GB, free: 55.12 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009914/8.892, allocations: 315.3 kB / 4.505 GB, free: 54.79 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004558/8.892, allocations: 24 kB / 4.505 GB, free: 54.77 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/8.893, allocations: 79.78 kB / 4.505 GB, free: 54.69 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/8.894, allocations: 76.31 kB / 4.506 GB, free: 54.62 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.461e-05/8.894, allocations: 43.92 kB / 4.506 GB, free: 54.57 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001536/8.895, allocations: 0.8304 MB / 4.506 GB, free: 53.74 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.1e-07/8.895, allocations: 0 / 4.506 GB, free: 53.74 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002822/8.898, allocations: 0.6288 MB / 4.507 GB, free: 53.11 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 () * 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.006128/8.904, allocations: 6.517 MB / 4.513 GB, free: 46.21 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001794/8.906, allocations: 1.261 MB / 4.515 GB, free: 44.91 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/8.906, allocations: 0 / 4.515 GB, free: 44.91 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007996/8.907, allocations: 0.7821 MB / 4.515 GB, free: 44.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003901/8.911, allocations: 0.8405 MB / 4.516 GB, free: 43.27 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/8.928, allocations: 14.45 MB / 4.53 GB, free: 28.24 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/8.929, allocations: 1.386 MB / 4.532 GB, free: 26.83 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001911/8.931, allocations: 360.7 kB / 4.532 GB, free: 26.47 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008842/8.932, allocations: 0.5501 MB / 4.533 GB, free: 25.92 MB / 1.167 GB Notification: Performance of SimCode: time 1.212e-06/8.932, allocations: 0 / 4.533 GB, free: 25.92 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.815/9.747, allocations: 77.63 MB / 4.608 GB, free: 221.9 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/9.747, allocations: 234.5 kB / 4.609 GB, free: 221.7 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.866/14.61, allocations: 0 / 4.609 GB, free: 221.7 MB / 1.182 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