Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.644/2.644, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001592/0.001592, allocations: 191 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.125/2.125, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 93.67 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005069/0.000507, allocations: 17.23 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2286, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.706/6.935, allocations: 2.093 GB / 3.071 GB, free: 177.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/6.935, allocations: 90.95 kB / 3.071 GB, free: 177.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.499/14.43, allocations: 1.279 GB / 4.351 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.095e-06/14.43, allocations: 0 / 4.351 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.00023/14.43, allocations: 46.7 kB / 4.351 GB, free: 143.8 MB / 0.9636 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.009309/14.44, allocations: 2.043 MB / 4.353 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/14.44, allocations: 9.312 kB / 4.353 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001005/14.44, allocations: 202.3 kB / 4.353 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003893/14.45, allocations: 367.5 kB / 4.353 GB, free: 143.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004939/14.45, allocations: 1.143 MB / 4.354 GB, free: 142.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/14.45, allocations: 100.7 kB / 4.355 GB, free: 142.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005912/14.45, allocations: 135.8 kB / 4.355 GB, free: 142.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004932/14.46, allocations: 1.514 MB / 4.356 GB, free: 142.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.658e-05/14.46, allocations: 7.594 kB / 4.356 GB, free: 142.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/14.46, allocations: 53.44 kB / 4.356 GB, free: 142.7 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.173e-05/14.46, allocations: 49.67 kB / 4.356 GB, free: 142.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004078/14.46, allocations: 1.209 MB / 4.357 GB, free: 142.7 MB / 0.9636 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.01427/14.48, allocations: 6.569 MB / 4.364 GB, free: 139.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/14.48, allocations: 0.7597 MB / 4.365 GB, free: 139.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009706/14.48, allocations: 407.5 kB / 4.365 GB, free: 138.9 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/14.48, allocations: 47.38 kB / 4.365 GB, free: 138.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=73): time 3.667e-06/14.48, allocations: 2.375 kB / 4.365 GB, free: 138.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73): time 0.004964/14.49, allocations: 1.51 MB / 4.367 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/14.49, allocations: 59.5 kB / 4.367 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002433/14.49, allocations: 1.098 MB / 4.368 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002959/14.49, allocations: 49.33 kB / 4.368 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007189/14.49, allocations: 0.692 MB / 4.368 GB, free: 138 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004518/14.49, allocations: 265.2 kB / 4.369 GB, free: 137.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.624e-05/14.49, allocations: 20.34 kB / 4.369 GB, free: 137.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.00011/14.49, allocations: 341.8 kB / 4.369 GB, free: 137.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009695/14.49, allocations: 344.4 kB / 4.369 GB, free: 137.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/14.49, allocations: 0.7307 MB / 4.37 GB, free: 137.1 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/14.49, allocations: 473.9 kB / 4.37 GB, free: 137.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/14.49, allocations: 3.812 kB / 4.37 GB, free: 137.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00356/14.5, allocations: 1.231 MB / 4.372 GB, free: 137 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/14.5, allocations: 18.48 kB / 4.372 GB, free: 136.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/14.5, allocations: 7.781 kB / 4.372 GB, free: 136.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004662/14.5, allocations: 134.4 kB / 4.372 GB, free: 136.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/14.5, allocations: 195.8 kB / 4.372 GB, free: 136.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005507/14.51, allocations: 4.829 MB / 4.377 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/14.51, allocations: 183 kB / 4.377 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003058/14.51, allocations: 51.08 kB / 4.377 GB, free: 132.9 MB / 0.9636 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.001318/14.51, allocations: 423.9 kB / 4.377 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005393/14.51, allocations: 154.9 kB / 4.377 GB, free: 132.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003097/14.51, allocations: 1.034 MB / 4.379 GB, free: 132.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/14.51, allocations: 10.28 kB / 4.379 GB, free: 132.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/14.51, allocations: 1.672 kB / 4.379 GB, free: 132.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002292/14.52, allocations: 0.9227 MB / 4.379 GB, free: 132.3 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007639/14.52, allocations: 2.379 MB / 4.382 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/14.52, allocations: 2.312 kB / 4.382 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/14.52, allocations: 133.5 kB / 4.382 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005094/14.53, allocations: 119.1 kB / 4.382 GB, free: 131.8 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/14.53, allocations: 21.27 kB / 4.382 GB, free: 131.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005546/14.53, allocations: 4.824 MB / 4.387 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/14.53, allocations: 3.5 kB / 4.387 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004302/14.54, allocations: 1.648 MB / 4.388 GB, free: 127.3 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/14.54, allocations: 315.1 kB / 4.389 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005534/14.54, allocations: 17.61 kB / 4.389 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/14.54, allocations: 64.78 kB / 4.389 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002632/14.54, allocations: 61.69 kB / 4.389 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/14.54, allocations: 28.73 kB / 4.389 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00259/14.54, allocations: 0.8609 MB / 4.39 GB, free: 127 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.052e-06/14.54, allocations: 0 / 4.39 GB, free: 127 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004112/14.55, allocations: 0.6727 MB / 4.39 GB, free: 127 MB / 0.9636 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.009955/14.56, allocations: 5.173 MB / 4.395 GB, free: 124.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003384/14.56, allocations: 1.186 MB / 4.397 GB, free: 124.2 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/14.56, allocations: 1.438 kB / 4.397 GB, free: 124.2 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/14.56, allocations: 0.7366 MB / 4.397 GB, free: 123.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007552/14.57, allocations: 0.8385 MB / 4.398 GB, free: 123.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02472/14.59, allocations: 14.64 MB / 4.412 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/14.6, allocations: 1.374 MB / 4.414 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002501/14.6, allocations: 351.4 kB / 4.414 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/14.6, allocations: 0.5471 MB / 4.415 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of SimCode: time 1.423e-06/14.6, allocations: 0 / 4.415 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1769/14.78, allocations: 76.81 MB / 4.49 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/14.78, allocations: 235.5 kB / 4.49 GB, free: 112 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.968/20.74, allocations: 0 / 4.49 GB, free: 112 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)