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.25/2.25, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001374/0.001374, allocations: 161 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.0009196/0.0009194, allocations: 92.02 kB / 0.9317 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.772e-05/3.791e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2763, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.984/5.26, allocations: 1.939 GB / 3.158 GB, free: 374.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/5.26, allocations: 93.31 kB / 3.158 GB, free: 374.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.752/10.01, allocations: 1.3 GB / 4.458 GB, free: 197.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.322e-06/10.01, allocations: 2.75 kB / 4.458 GB, free: 197.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002354/10.01, allocations: 45.47 kB / 4.458 GB, free: 197.1 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.006184/10.02, allocations: 1.833 MB / 4.46 GB, free: 196.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/10.02, allocations: 10.97 kB / 4.46 GB, free: 196.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008026/10.02, allocations: 196.5 kB / 4.46 GB, free: 196.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002978/10.02, allocations: 402.8 kB / 4.461 GB, free: 196.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003359/10.03, allocations: 1.15 MB / 4.462 GB, free: 196.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/10.03, allocations: 101.4 kB / 4.462 GB, free: 196.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004196/10.03, allocations: 133.9 kB / 4.462 GB, free: 196.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00312/10.03, allocations: 1.492 MB / 4.463 GB, free: 195.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/10.03, allocations: 1.375 kB / 4.463 GB, free: 195.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/10.03, allocations: 54.66 kB / 4.464 GB, free: 195.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-05/10.03, allocations: 49.53 kB / 4.464 GB, free: 195.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/10.03, allocations: 1.206 MB / 4.465 GB, free: 195.9 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.008032/10.04, allocations: 6.547 MB / 4.471 GB, free: 192.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/10.04, allocations: 0.9274 MB / 4.472 GB, free: 192.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006042/10.04, allocations: 464.7 kB / 4.472 GB, free: 192.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005769/10.04, allocations: 409.3 kB / 4.473 GB, free: 192.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/10.04, allocations: 48.62 kB / 4.473 GB, free: 192.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 2.434e-06/10.04, allocations: 0 / 4.473 GB, free: 192.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.00464/10.05, allocations: 2.283 MB / 4.475 GB, free: 191.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/10.05, allocations: 67.92 kB / 4.475 GB, free: 191.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/10.05, allocations: 1.031 MB / 4.476 GB, free: 191.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.867e-05/10.05, allocations: 45.58 kB / 4.476 GB, free: 191.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/10.05, allocations: 0.6785 MB / 4.477 GB, free: 191.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/10.05, allocations: 303.2 kB / 4.477 GB, free: 191 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/10.05, allocations: 20.75 kB / 4.477 GB, free: 191 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.885e-05/10.05, allocations: 346.8 kB / 4.478 GB, free: 190.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004763/10.05, allocations: 358.4 kB / 4.478 GB, free: 190.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006667/10.05, allocations: 0.7168 MB / 4.479 GB, free: 190.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.01024/10.06, allocations: 2.342 MB / 4.481 GB, free: 190.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/10.06, allocations: 6.312 kB / 4.481 GB, free: 190.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002378/10.06, allocations: 1.295 MB / 4.482 GB, free: 190 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/10.06, allocations: 7.812 kB / 4.482 GB, free: 190 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/10.06, allocations: 7.844 kB / 4.482 GB, free: 190 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004518/10.06, allocations: 158 kB / 4.482 GB, free: 190 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008046/10.07, allocations: 197.9 kB / 4.483 GB, free: 190 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004235/10.07, allocations: 4.774 MB / 4.487 GB, free: 186 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/10.07, allocations: 117.7 kB / 4.487 GB, free: 186 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/10.07, allocations: 45.83 kB / 4.487 GB, free: 186 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.0003574/10.07, allocations: 175.3 kB / 4.488 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000434/10.07, allocations: 141 kB / 4.488 GB, free: 185.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002425/10.08, allocations: 1.099 MB / 4.489 GB, free: 185.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/10.08, allocations: 10.78 kB / 4.489 GB, free: 185.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/10.08, allocations: 3 kB / 4.489 GB, free: 185.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001493/10.08, allocations: 1.046 MB / 4.49 GB, free: 185.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006045/10.08, allocations: 3.079 MB / 4.493 GB, free: 184.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/10.08, allocations: 7.594 kB / 4.493 GB, free: 184.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006769/10.08, allocations: 152 kB / 4.493 GB, free: 184.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003325/10.08, allocations: 142.3 kB / 4.493 GB, free: 184.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.455e-05/10.08, allocations: 31.7 kB / 4.493 GB, free: 184.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003022/10.09, allocations: 4.757 MB / 4.498 GB, free: 180.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/10.09, allocations: 9.969 kB / 4.498 GB, free: 180.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/10.09, allocations: 2.073 MB / 4.5 GB, free: 179.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000787/10.09, allocations: 318.6 kB / 4.5 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003389/10.09, allocations: 26.23 kB / 4.5 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/10.09, allocations: 78.67 kB / 4.5 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/10.09, allocations: 79.91 kB / 4.5 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-05/10.09, allocations: 33.58 kB / 4.5 GB, free: 179.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001016/10.09, allocations: 0.8237 MB / 4.501 GB, free: 179.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.91e-07/10.09, allocations: 0 / 4.501 GB, free: 179.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00261/10.1, allocations: 0.6315 MB / 4.502 GB, free: 179.2 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.006412/10.1, allocations: 6.519 MB / 4.508 GB, free: 175.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001888/10.1, allocations: 1.236 MB / 4.509 GB, free: 175 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/10.1, allocations: 2.375 kB / 4.509 GB, free: 175 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008139/10.1, allocations: 0.771 MB / 4.51 GB, free: 174.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004262/10.11, allocations: 0.8507 MB / 4.511 GB, free: 174.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005649/10.11, allocations: 2.647 MB / 4.513 GB, free: 173.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/10.12, allocations: 1.386 MB / 4.515 GB, free: 173.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001894/10.12, allocations: 357.4 kB / 4.515 GB, free: 173.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009248/10.12, allocations: 0.5538 MB / 4.516 GB, free: 173.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.413e-06/10.12, allocations: 0 / 4.516 GB, free: 173.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1297/10.25, allocations: 83.37 MB / 4.597 GB, free: 170.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/10.25, allocations: 208.4 kB / 4.597 GB, free: 170.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.112/15.36, allocations: 0 / 4.597 GB, free: 170.5 MB / 1.167 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