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.3/2.3, allocations: 390.5 MB / 398 MB, free: 10.93 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.001143/0.001144, allocations: 184.8 kB / 491.2 MB, free: 1.547 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.408/1.408, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0008855/0.0008855, allocations: 99.58 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.484e-05/2.485e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2975, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.857/6.155, allocations: 1.939 GB / 3.151 GB, free: 330.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/6.155, allocations: 87.95 kB / 3.151 GB, free: 330.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.003/11.16, allocations: 1.286 GB / 4.437 GB, free: 204.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.335e-06/11.16, allocations: 0 / 4.437 GB, free: 204.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002408/11.16, allocations: 51.34 kB / 4.437 GB, free: 204.6 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.006679/11.17, allocations: 1.827 MB / 4.439 GB, free: 204 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/11.17, allocations: 10.56 kB / 4.439 GB, free: 204 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003231/11.17, allocations: 399.2 kB / 4.439 GB, free: 203.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004104/11.17, allocations: 1.145 MB / 4.441 GB, free: 203.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/11.17, allocations: 43.52 kB / 4.441 GB, free: 203.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000903/11.17, allocations: 81 kB / 4.441 GB, free: 203.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004035/11.18, allocations: 1.117 MB / 4.442 GB, free: 203.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004091/11.18, allocations: 1.321 MB / 4.443 GB, free: 203.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.349e-05/11.18, allocations: 7.672 kB / 4.443 GB, free: 203.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/11.18, allocations: 0 / 4.443 GB, free: 203.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.96e-05/11.18, allocations: 49.17 kB / 4.443 GB, free: 203.4 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.008575/11.19, allocations: 6.251 MB / 4.449 GB, free: 200.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/11.19, allocations: 0.8817 MB / 4.45 GB, free: 200.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000546/11.19, allocations: 440.4 kB / 4.451 GB, free: 200.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006207/11.19, allocations: 410.5 kB / 4.451 GB, free: 199.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/11.19, allocations: 39.03 kB / 4.451 GB, free: 199.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 3.516e-06/11.19, allocations: 0 / 4.451 GB, free: 199.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.006112/11.2, allocations: 2.5 MB / 4.453 GB, free: 199.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/11.2, allocations: 66.95 kB / 4.453 GB, free: 199.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/11.2, allocations: 0.7144 MB / 4.454 GB, free: 198.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/11.2, allocations: 25.7 kB / 4.454 GB, free: 198.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005094/11.2, allocations: 0.6811 MB / 4.455 GB, free: 198.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000287/11.2, allocations: 296.3 kB / 4.455 GB, free: 198.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/11.2, allocations: 0 / 4.455 GB, free: 198.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.691e-05/11.2, allocations: 344.5 kB / 4.455 GB, free: 198.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004821/11.2, allocations: 346.4 kB / 4.456 GB, free: 198.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007338/11.2, allocations: 0.6918 MB / 4.456 GB, free: 197.8 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.00291/11.21, allocations: 1.148 MB / 4.458 GB, free: 197.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/11.21, allocations: 3.281 kB / 4.458 GB, free: 197.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002546/11.21, allocations: 1.294 MB / 4.459 GB, free: 197.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/11.21, allocations: 7.094 kB / 4.459 GB, free: 197.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/11.21, allocations: 6.344 kB / 4.459 GB, free: 197.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004072/11.21, allocations: 149.4 kB / 4.459 GB, free: 197.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008063/11.21, allocations: 209.1 kB / 4.459 GB, free: 197.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003182/11.21, allocations: 4.604 MB / 4.464 GB, free: 193.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/11.21, allocations: 83.3 kB / 4.464 GB, free: 193.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/11.21, allocations: 52.38 kB / 4.464 GB, free: 193.7 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.000258/11.22, allocations: 138 kB / 4.464 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001917/11.22, allocations: 1.043 MB / 4.465 GB, free: 193.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002574/11.22, allocations: 113.4 kB / 4.465 GB, free: 193.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/11.22, allocations: 1.12 MB / 4.466 GB, free: 193.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/11.22, allocations: 11.12 kB / 4.466 GB, free: 193.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/11.22, allocations: 0 / 4.466 GB, free: 193.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001487/11.22, allocations: 1.121 MB / 4.467 GB, free: 193 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005209/11.23, allocations: 2.949 MB / 4.47 GB, free: 192.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/11.23, allocations: 7.75 kB / 4.47 GB, free: 192.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006959/11.23, allocations: 160.8 kB / 4.47 GB, free: 192.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003132/11.23, allocations: 139.6 kB / 4.47 GB, free: 192.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.578e-05/11.23, allocations: 18.22 kB / 4.47 GB, free: 192.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00283/11.23, allocations: 4.595 MB / 4.475 GB, free: 188.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/11.23, allocations: 3.5 kB / 4.475 GB, free: 188.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002695/11.23, allocations: 2.036 MB / 4.477 GB, free: 187.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007467/11.23, allocations: 285.2 kB / 4.477 GB, free: 187.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/11.23, allocations: 11.48 kB / 4.477 GB, free: 187.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008723/11.23, allocations: 62.66 kB / 4.477 GB, free: 187.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/11.23, allocations: 78.2 kB / 4.477 GB, free: 187.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.165e-05/11.23, allocations: 34.27 kB / 4.477 GB, free: 187.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007679/11.24, allocations: 0.5384 MB / 4.478 GB, free: 187.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/11.24, allocations: 1.938 kB / 4.478 GB, free: 187.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002374/11.24, allocations: 0.5264 MB / 4.478 GB, free: 187.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.006688/11.24, allocations: 6.81 MB / 4.485 GB, free: 183.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002019/11.25, allocations: 1.167 MB / 4.486 GB, free: 183.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/11.25, allocations: 0 / 4.486 GB, free: 183.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008137/11.25, allocations: 0.7287 MB / 4.487 GB, free: 182.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/11.25, allocations: 0.6103 MB / 4.488 GB, free: 182.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005231/11.26, allocations: 2.518 MB / 4.49 GB, free: 182 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000885/11.26, allocations: 1.386 MB / 4.491 GB, free: 181.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001422/11.26, allocations: 308.7 kB / 4.492 GB, free: 181.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006588/11.26, allocations: 0.5303 MB / 4.492 GB, free: 181.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.162e-06/11.26, allocations: 0 / 4.492 GB, free: 181.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1/11.36, allocations: 51.52 MB / 4.542 GB, free: 179.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/11.36, allocations: 154.2 kB / 4.543 GB, free: 179.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.913/15.27, allocations: 3.469 kB / 4.543 GB, free: 179.6 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