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.702/1.702, allocations: 288.2 MB / 303.2 MB, free: 8.199 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.001295/0.001295, allocations: 189 kB / 371.8 MB, free: 10.25 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.974/1.974, allocations: 205.4 MB / 0.6305 GB, free: 9.977 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.0009835/0.0009841, allocations: 98.38 kB / 0.7439 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005472/0.0005478, allocations: 12.38 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3513, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.106/6.457, allocations: 2.093 GB / 3.073 GB, free: 173 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003653/6.458, allocations: 92.94 kB / 3.073 GB, free: 172.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.443/11.9, allocations: 1.279 GB / 4.352 GB, free: 146.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.014e-06/11.9, allocations: 0 / 4.352 GB, free: 146.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002981/11.9, allocations: 41.95 kB / 4.352 GB, free: 146.1 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.009675/11.91, allocations: 2.047 MB / 4.354 GB, free: 145.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.387e-05/11.91, allocations: 9.531 kB / 4.354 GB, free: 145.6 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001079/11.91, allocations: 198.3 kB / 4.354 GB, free: 145.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003377/11.92, allocations: 373 kB / 4.355 GB, free: 145.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004918/11.92, allocations: 1.131 MB / 4.356 GB, free: 145.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/11.92, allocations: 103.6 kB / 4.356 GB, free: 145.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007411/11.92, allocations: 131.7 kB / 4.356 GB, free: 145.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004938/11.93, allocations: 1.521 MB / 4.358 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.872e-05/11.93, allocations: 10.56 kB / 4.358 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003439/11.93, allocations: 51.77 kB / 4.358 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-05/11.93, allocations: 46.7 kB / 4.358 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003008/11.93, allocations: 1.211 MB / 4.359 GB, free: 144.9 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.01219/11.94, allocations: 6.571 MB / 4.365 GB, free: 141.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/11.94, allocations: 0.767 MB / 4.366 GB, free: 141.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007169/11.94, allocations: 410.2 kB / 4.366 GB, free: 141.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/11.94, allocations: 42.28 kB / 4.366 GB, free: 141.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=73): time 3.266e-06/11.94, allocations: 1.875 kB / 4.366 GB, free: 141.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73): time 0.003437/11.95, allocations: 1.512 MB / 4.368 GB, free: 140.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/11.95, allocations: 63.14 kB / 4.368 GB, free: 140.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002229/11.95, allocations: 1.102 MB / 4.369 GB, free: 140.5 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001708/11.95, allocations: 42.64 kB / 4.369 GB, free: 140.4 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000603/11.95, allocations: 0.6947 MB / 4.37 GB, free: 140.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/11.95, allocations: 266.5 kB / 4.37 GB, free: 140.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.793e-05/11.95, allocations: 17.38 kB / 4.37 GB, free: 140.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.242e-05/11.95, allocations: 345.7 kB / 4.37 GB, free: 139.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005177/11.95, allocations: 344.1 kB / 4.371 GB, free: 139.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008365/11.95, allocations: 0.7264 MB / 4.371 GB, free: 139.3 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000768/11.95, allocations: 474.9 kB / 4.372 GB, free: 139.3 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/11.95, allocations: 5.969 kB / 4.372 GB, free: 139.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002533/11.96, allocations: 1.229 MB / 4.373 GB, free: 139.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/11.96, allocations: 14.67 kB / 4.373 GB, free: 139.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/11.96, allocations: 7.969 kB / 4.373 GB, free: 139.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004188/11.96, allocations: 137.4 kB / 4.373 GB, free: 139.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008583/11.96, allocations: 195.3 kB / 4.373 GB, free: 139.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003893/11.96, allocations: 4.831 MB / 4.378 GB, free: 135.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/11.96, allocations: 188.4 kB / 4.378 GB, free: 135.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003184/11.96, allocations: 47.72 kB / 4.378 GB, free: 135.1 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.001521/11.97, allocations: 419.9 kB / 4.379 GB, free: 135 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007711/11.97, allocations: 147.9 kB / 4.379 GB, free: 134.9 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002642/11.97, allocations: 1.041 MB / 4.38 GB, free: 134.8 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/11.97, allocations: 7.781 kB / 4.38 GB, free: 134.8 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/11.97, allocations: 0 / 4.38 GB, free: 134.8 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001311/11.97, allocations: 0.9196 MB / 4.381 GB, free: 134.5 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005851/11.98, allocations: 2.381 MB / 4.383 GB, free: 134.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/11.98, allocations: 4.688 kB / 4.383 GB, free: 134.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007833/11.98, allocations: 131.9 kB / 4.383 GB, free: 134.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002923/11.98, allocations: 133.1 kB / 4.383 GB, free: 134.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.723e-05/11.98, allocations: 19.84 kB / 4.383 GB, free: 134.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003653/11.98, allocations: 4.816 MB / 4.388 GB, free: 130.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/11.98, allocations: 2.312 kB / 4.388 GB, free: 130.1 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/11.98, allocations: 1.652 MB / 4.39 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/11.98, allocations: 317.2 kB / 4.39 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005901/11.99, allocations: 16.38 kB / 4.39 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/11.99, allocations: 64.86 kB / 4.39 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/11.99, allocations: 60.48 kB / 4.39 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.705e-05/11.99, allocations: 28.67 kB / 4.39 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002049/11.99, allocations: 0.8645 MB / 4.391 GB, free: 129.3 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.51e-07/11.99, allocations: 0 / 4.391 GB, free: 129.3 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004074/11.99, allocations: 0.6706 MB / 4.392 GB, free: 129.2 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.008969/12, allocations: 5.186 MB / 4.397 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002453/12, allocations: 1.184 MB / 4.398 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/12.01, allocations: 3.906 kB / 4.398 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000885/12.01, allocations: 0.7268 MB / 4.399 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004655/12.01, allocations: 0.8376 MB / 4.399 GB, free: 126 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02051/12.03, allocations: 14.64 MB / 4.414 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001674/12.03, allocations: 1.382 MB / 4.415 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002126/12.04, allocations: 349.7 kB / 4.415 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/12.04, allocations: 0.5364 MB / 4.416 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of SimCode: time 1.533e-06/12.04, allocations: 0 / 4.416 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1262/12.16, allocations: 76.83 MB / 4.491 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/12.16, allocations: 238.8 kB / 4.491 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.056/17.22, allocations: 0 / 4.491 GB, free: 114.1 MB / 0.9636 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)