Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.45/1.45, allocations: 249.5 MB / 257 MB, free: 6.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 187 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008257/0.0008257, allocations: 89.36 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.116e-05/2.095e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1753, allocations: 106.4 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.401/5.576, allocations: 2.212 GB / 3.097 GB, free: 153 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/5.576, allocations: 90.56 kB / 3.097 GB, free: 153 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.957/10.53, allocations: 1.229 GB / 4.326 GB, free: 124 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.623e-06/10.53, allocations: 0 / 4.326 GB, free: 124 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001143/10.53, allocations: 43.72 kB / 4.326 GB, free: 124 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.004989/10.54, allocations: 1.818 MB / 4.328 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/10.54, allocations: 12.91 kB / 4.328 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002274/10.54, allocations: 366.3 kB / 4.328 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002426/10.54, allocations: 1.14 MB / 4.33 GB, free: 123 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.556e-05/10.54, allocations: 42.66 kB / 4.33 GB, free: 123 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/10.54, allocations: 80.53 kB / 4.33 GB, free: 123 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001896/10.55, allocations: 1.111 MB / 4.331 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/10.55, allocations: 1.321 MB / 4.332 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/10.55, allocations: 0 / 4.332 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/10.55, allocations: 5.75 kB / 4.332 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-05/10.55, allocations: 54.23 kB / 4.332 GB, free: 122.7 MB / 0.8855 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.007334/10.56, allocations: 6.264 MB / 4.338 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008841/10.56, allocations: 0.705 MB / 4.339 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004358/10.56, allocations: 390.9 kB / 4.339 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000627/10.56, allocations: 414 kB / 4.34 GB, free: 119 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/10.56, allocations: 45.3 kB / 4.34 GB, free: 119 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 3.927e-06/10.56, allocations: 0 / 4.34 GB, free: 119 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.002273/10.56, allocations: 0.9886 MB / 4.341 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/10.56, allocations: 64.56 kB / 4.341 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009355/10.56, allocations: 0.7276 MB / 4.341 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.736e-05/10.56, allocations: 29.23 kB / 4.341 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004429/10.56, allocations: 0.7022 MB / 4.342 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/10.56, allocations: 262.1 kB / 4.342 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/10.56, allocations: 1.875 kB / 4.342 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.228e-05/10.56, allocations: 346.6 kB / 4.343 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003903/10.56, allocations: 308.2 kB / 4.343 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005819/10.56, allocations: 0.6742 MB / 4.344 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008758/10.56, allocations: 0.5395 MB / 4.344 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/10.56, allocations: 3.438 kB / 4.344 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001984/10.57, allocations: 1.228 MB / 4.345 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/10.57, allocations: 13.31 kB / 4.345 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/10.57, allocations: 7.438 kB / 4.345 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003883/10.57, allocations: 147.8 kB / 4.346 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007052/10.57, allocations: 191 kB / 4.346 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00292/10.57, allocations: 4.626 MB / 4.35 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/10.57, allocations: 120.8 kB / 4.35 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.363e-05/10.57, allocations: 48.94 kB / 4.35 GB, free: 113.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 109 * 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.0002265/10.57, allocations: 131.3 kB / 4.351 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001636/10.57, allocations: 0.9483 MB / 4.351 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/10.57, allocations: 109.7 kB / 4.352 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/10.58, allocations: 1.056 MB / 4.353 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/10.58, allocations: 7.062 kB / 4.353 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/10.58, allocations: 0 / 4.353 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001204/10.58, allocations: 0.9822 MB / 4.354 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003694/10.58, allocations: 2.263 MB / 4.356 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/10.58, allocations: 2.734 kB / 4.356 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006281/10.58, allocations: 132.4 kB / 4.356 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000367/10.58, allocations: 139.9 kB / 4.356 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.439e-05/10.58, allocations: 9.344 kB / 4.356 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002675/10.58, allocations: 4.6 MB / 4.361 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/10.58, allocations: 3.719 kB / 4.361 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/10.59, allocations: 1.633 MB / 4.362 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006177/10.59, allocations: 288.8 kB / 4.362 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/10.59, allocations: 9.781 kB / 4.362 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007995/10.59, allocations: 56.02 kB / 4.362 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/10.59, allocations: 60.02 kB / 4.363 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.268e-05/10.59, allocations: 31.06 kB / 4.363 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008013/10.59, allocations: 0.5585 MB / 4.363 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/10.59, allocations: 0 / 4.363 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002396/10.59, allocations: 0.6137 MB / 4.364 GB, free: 107.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],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 (61): * Single equations (assignments): 58 * 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.005782/10.6, allocations: 5.432 MB / 4.369 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001746/10.6, allocations: 1.1 MB / 4.37 GB, free: 105 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/10.6, allocations: 2.188 kB / 4.37 GB, free: 105 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000652/10.6, allocations: 0.6802 MB / 4.371 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003048/10.6, allocations: 0.5811 MB / 4.371 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004639/10.61, allocations: 2.388 MB / 4.374 GB, free: 104 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007987/10.61, allocations: 1.375 MB / 4.375 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001242/10.61, allocations: 298.5 kB / 4.375 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005995/10.61, allocations: 0.52 MB / 4.376 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of SimCode: time 7.12e-07/10.61, allocations: 0 / 4.376 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08944/10.7, allocations: 50.47 MB / 4.425 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/10.7, allocations: 154 kB / 4.425 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.771/14.47, allocations: 0 / 4.425 GB, free: 101.2 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)