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.439/1.439, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 183.2 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001175/0.001175, allocations: 91.73 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004243/0.0004244, allocations: 12.38 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2884, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.483/6.772, allocations: 2.211 GB / 3.112 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/6.772, allocations: 92.67 kB / 3.112 GB, free: 240.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.991/11.76, allocations: 1.244 GB / 4.356 GB, free: 49.31 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.828e-06/11.76, allocations: 0 / 4.356 GB, free: 49.31 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002696/11.76, allocations: 43.92 kB / 4.356 GB, free: 49.27 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.009572/11.77, allocations: 2.052 MB / 4.358 GB, free: 47.16 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/11.77, allocations: 8.031 kB / 4.358 GB, free: 47.16 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001025/11.77, allocations: 198.2 kB / 4.358 GB, free: 46.95 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003082/11.78, allocations: 381.5 kB / 4.359 GB, free: 46.58 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004178/11.78, allocations: 1.132 MB / 4.36 GB, free: 45.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/11.78, allocations: 106.6 kB / 4.36 GB, free: 45.29 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005842/11.78, allocations: 136 kB / 4.36 GB, free: 45.16 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004/11.79, allocations: 1.526 MB / 4.362 GB, free: 43.56 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.003e-05/11.79, allocations: 3.938 kB / 4.362 GB, free: 43.56 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000281/11.79, allocations: 56 kB / 4.362 GB, free: 43.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.845e-05/11.79, allocations: 46.48 kB / 4.362 GB, free: 43.46 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002616/11.79, allocations: 1.224 MB / 4.363 GB, free: 42.23 MB / 0.8855 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.0103/11.8, allocations: 6.571 MB / 4.369 GB, free: 35.21 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/11.8, allocations: 0.7601 MB / 4.37 GB, free: 34.44 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006447/11.8, allocations: 413.5 kB / 4.37 GB, free: 33.96 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/11.8, allocations: 39.22 kB / 4.37 GB, free: 33.91 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 3.416e-06/11.8, allocations: 0 / 4.37 GB, free: 33.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.00297/11.8, allocations: 1.503 MB / 4.372 GB, free: 32.34 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/11.8, allocations: 60.06 kB / 4.372 GB, free: 32.27 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/11.81, allocations: 1.103 MB / 4.373 GB, free: 31.16 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001467/11.81, allocations: 41.7 kB / 4.373 GB, free: 31.11 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005453/11.81, allocations: 0.6913 MB / 4.374 GB, free: 30.41 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/11.81, allocations: 264.2 kB / 4.374 GB, free: 30.15 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.958e-05/11.81, allocations: 20 kB / 4.374 GB, free: 30.13 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001145/11.81, allocations: 345.9 kB / 4.374 GB, free: 29.79 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/11.81, allocations: 333.8 kB / 4.375 GB, free: 29.46 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000737/11.81, allocations: 0.7122 MB / 4.375 GB, free: 28.59 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006669/11.81, allocations: 459.1 kB / 4.376 GB, free: 28.14 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/11.81, allocations: 0 / 4.376 GB, free: 28.14 MB / 0.8855 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002063/11.81, allocations: 1.236 MB / 4.377 GB, free: 26.89 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/11.81, allocations: 16.12 kB / 4.377 GB, free: 26.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/11.81, allocations: 8 kB / 4.377 GB, free: 26.87 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003026/11.81, allocations: 130.5 kB / 4.377 GB, free: 26.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007612/11.81, allocations: 199.7 kB / 4.377 GB, free: 26.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003451/11.82, allocations: 4.835 MB / 4.382 GB, free: 21.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/11.82, allocations: 190.5 kB / 4.382 GB, free: 21.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/11.82, allocations: 47.98 kB / 4.382 GB, free: 21.06 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 () * Number of clocked 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.00109/11.82, allocations: 428 kB / 4.383 GB, free: 20.63 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005148/11.82, allocations: 146.3 kB / 4.383 GB, free: 20.49 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/11.82, allocations: 1.025 MB / 4.384 GB, free: 19.43 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/11.82, allocations: 8 kB / 4.384 GB, free: 19.42 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/11.82, allocations: 0 / 4.384 GB, free: 19.42 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001039/11.82, allocations: 0.9153 MB / 4.385 GB, free: 18.45 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004877/11.83, allocations: 2.38 MB / 4.387 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/11.83, allocations: 4 kB / 4.387 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007475/11.83, allocations: 135.8 kB / 4.387 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002481/11.83, allocations: 118.8 kB / 4.387 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.992e-05/11.83, allocations: 23.98 kB / 4.387 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003904/11.83, allocations: 4.809 MB / 4.392 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/11.83, allocations: 4 kB / 4.392 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/11.84, allocations: 1.653 MB / 4.394 GB, free: 8.676 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001572/11.84, allocations: 327.2 kB / 4.394 GB, free: 8.336 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005315/11.84, allocations: 16 kB / 4.394 GB, free: 8.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/11.84, allocations: 67.8 kB / 4.394 GB, free: 8.254 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/11.84, allocations: 56.38 kB / 4.394 GB, free: 8.195 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.079e-05/11.84, allocations: 31.98 kB / 4.394 GB, free: 8.164 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001815/11.84, allocations: 0.87 MB / 4.395 GB, free: 7.293 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.51e-07/11.84, allocations: 0 / 4.395 GB, free: 7.293 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003649/11.85, allocations: 0.6788 MB / 4.396 GB, free: 6.613 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 () * Number of clocked 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.006843/11.85, allocations: 5.159 MB / 4.401 GB, free: 1.172 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002306/11.85, allocations: 1.18 MB / 4.402 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.447e-06/11.85, allocations: 0 / 4.402 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/11.86, allocations: 0.7301 MB / 4.403 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00475/11.86, allocations: 0.8318 MB / 4.403 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7202/12.58, allocations: 14.57 MB / 4.418 GB, free: 125.1 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009991/12.58, allocations: 1.383 MB / 4.419 GB, free: 124.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001952/12.58, allocations: 350.9 kB / 4.419 GB, free: 124.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008099/12.58, allocations: 0.5309 MB / 4.42 GB, free: 124.4 MB / 0.9011 GB Notification: Performance of SimCode: time 1.232e-06/12.58, allocations: 0 / 4.42 GB, free: 124.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1586/12.74, allocations: 76.71 MB / 4.495 GB, free: 123.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/12.74, allocations: 258.2 kB / 4.495 GB, free: 123.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.064/17.81, allocations: 0 / 4.495 GB, free: 123.1 MB / 0.9011 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)