Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.714/1.714, allocations: 285.6 MB / 293.1 MB, free: 10.26 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001389/0.001389, allocations: 172.9 kB / 361.4 MB, free: 6.859 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 88.22 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.6e-05/2.612e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.69/0.6901, allocations: 115.3 MB / 0.9644 GB, free: 78.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.461/5.151, allocations: 2.092 GB / 3.057 GB, free: 22.81 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/5.151, allocations: 96.27 kB / 3.057 GB, free: 22.77 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.898/10.05, allocations: 1.264 GB / 4.321 GB, free: 142.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.059e-06/10.05, allocations: 0 / 4.321 GB, free: 142.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000116/10.05, allocations: 47.22 kB / 4.321 GB, free: 142.3 MB / 0.948 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.00479/10.05, allocations: 1.819 MB / 4.323 GB, free: 141.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.417e-05/10.05, allocations: 15.84 kB / 4.323 GB, free: 141.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002242/10.06, allocations: 367.3 kB / 4.323 GB, free: 141.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/10.06, allocations: 1.129 MB / 4.324 GB, free: 141.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.134e-05/10.06, allocations: 43.25 kB / 4.324 GB, free: 141.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/10.06, allocations: 79.84 kB / 4.325 GB, free: 141.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001975/10.06, allocations: 1.102 MB / 4.326 GB, free: 141.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/10.06, allocations: 1.316 MB / 4.327 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/10.06, allocations: 3.844 kB / 4.327 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/10.06, allocations: 3.938 kB / 4.327 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.213e-05/10.06, allocations: 47.48 kB / 4.327 GB, free: 140.9 MB / 0.948 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.007429/10.07, allocations: 6.247 MB / 4.333 GB, free: 137.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/10.07, allocations: 0.7376 MB / 4.334 GB, free: 137.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005246/10.07, allocations: 385.2 kB / 4.334 GB, free: 137.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006412/10.07, allocations: 418.7 kB / 4.335 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/10.07, allocations: 39 kB / 4.335 GB, free: 137.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.977e-06/10.07, allocations: 0 / 4.335 GB, free: 137.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.002374/10.08, allocations: 1.005 MB / 4.336 GB, free: 137 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/10.08, allocations: 62.94 kB / 4.336 GB, free: 136.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000986/10.08, allocations: 0.7281 MB / 4.336 GB, free: 136.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.906e-05/10.08, allocations: 29.55 kB / 4.336 GB, free: 136.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005023/10.08, allocations: 0.7056 MB / 4.337 GB, free: 136.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/10.08, allocations: 254.9 kB / 4.337 GB, free: 136.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/10.08, allocations: 2.953 kB / 4.337 GB, free: 136.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001075/10.08, allocations: 345.1 kB / 4.338 GB, free: 136 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004393/10.08, allocations: 313 kB / 4.338 GB, free: 136 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006931/10.08, allocations: 0.7011 MB / 4.339 GB, free: 135.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009703/10.08, allocations: 0.543 MB / 4.339 GB, free: 135.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/10.08, allocations: 3.562 kB / 4.339 GB, free: 135.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002222/10.08, allocations: 1.232 MB / 4.34 GB, free: 135.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/10.08, allocations: 10.97 kB / 4.34 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/10.08, allocations: 7.344 kB / 4.34 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004228/10.08, allocations: 147.4 kB / 4.34 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007514/10.08, allocations: 196.1 kB / 4.341 GB, free: 135.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003489/10.09, allocations: 4.615 MB / 4.345 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/10.09, allocations: 119.3 kB / 4.345 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/10.09, allocations: 49.75 kB / 4.345 GB, free: 131.5 MB / 0.948 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.0002559/10.09, allocations: 135.3 kB / 4.345 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002005/10.09, allocations: 0.953 MB / 4.346 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/10.09, allocations: 119.5 kB / 4.347 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/10.09, allocations: 1.059 MB / 4.348 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/10.09, allocations: 11.27 kB / 4.348 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/10.09, allocations: 3.125 kB / 4.348 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001395/10.1, allocations: 0.9779 MB / 4.349 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004391/10.1, allocations: 2.267 MB / 4.351 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/10.1, allocations: 2.562 kB / 4.351 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006996/10.1, allocations: 137 kB / 4.351 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003802/10.1, allocations: 132.3 kB / 4.351 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.797e-05/10.1, allocations: 13.67 kB / 4.351 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003402/10.1, allocations: 4.598 MB / 4.356 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/10.1, allocations: 5.625 kB / 4.356 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/10.11, allocations: 1.654 MB / 4.357 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007576/10.11, allocations: 287.4 kB / 4.357 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003167/10.11, allocations: 14.41 kB / 4.357 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/10.11, allocations: 52.22 kB / 4.357 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/10.11, allocations: 58.78 kB / 4.358 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.627e-05/10.11, allocations: 29.78 kB / 4.358 GB, free: 125.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001097/10.11, allocations: 0.5597 MB / 4.358 GB, free: 125.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/10.11, allocations: 3.938 kB / 4.358 GB, free: 125.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003093/10.11, allocations: 0.6033 MB / 4.359 GB, free: 125.6 MB / 0.948 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.007353/10.12, allocations: 5.46 MB / 4.364 GB, free: 123.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001923/10.12, allocations: 1.103 MB / 4.365 GB, free: 122.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/10.12, allocations: 2.875 kB / 4.365 GB, free: 122.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009243/10.12, allocations: 0.6889 MB / 4.366 GB, free: 122.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003782/10.13, allocations: 0.5785 MB / 4.366 GB, free: 122.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0067/10.13, allocations: 2.378 MB / 4.369 GB, free: 121.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/10.14, allocations: 1.379 MB / 4.37 GB, free: 121 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001832/10.14, allocations: 301.3 kB / 4.37 GB, free: 121 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/10.14, allocations: 0.5162 MB / 4.371 GB, free: 121 MB / 0.948 GB Notification: Performance of SimCode: time 2.655e-06/10.14, allocations: 3.25 kB / 4.371 GB, free: 121 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1153/10.25, allocations: 50.53 MB / 4.42 GB, free: 100.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/10.25, allocations: 161.9 kB / 4.42 GB, free: 100.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.165/14.42, allocations: 0 / 4.42 GB, free: 100.4 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)