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.653/1.653, allocations: 285.4 MB / 298 MB, free: 5.953 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.001203/0.001203, allocations: 172.9 kB / 366.4 MB, free: 2.078 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.701/1.701, allocations: 205.1 MB / 0.6248 GB, free: 7.715 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.0008476/0.0008476, allocations: 89.19 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.464e-05/4.465e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.753/0.753, allocations: 115.3 MB / 0.971 GB, free: 77.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.695/5.448, allocations: 2.093 GB / 3.064 GB, free: 1.293 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/5.449, allocations: 84.89 kB / 3.064 GB, free: 1.25 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.116/10.56, allocations: 1.278 GB / 4.342 GB, free: 163 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.562e-06/10.56, allocations: 0 / 4.342 GB, free: 163 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001091/10.56, allocations: 36.06 kB / 4.342 GB, free: 162.9 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.004647/10.57, allocations: 1.822 MB / 4.344 GB, free: 162.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/10.57, allocations: 11.16 kB / 4.344 GB, free: 162.1 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002999/10.57, allocations: 194.4 kB / 4.344 GB, free: 162 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/10.57, allocations: 371.3 kB / 4.345 GB, free: 161.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002509/10.57, allocations: 1.128 MB / 4.346 GB, free: 161.6 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.57e-05/10.57, allocations: 102.9 kB / 4.346 GB, free: 161.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/10.57, allocations: 135.4 kB / 4.346 GB, free: 161.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/10.58, allocations: 1.504 MB / 4.347 GB, free: 161.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/10.58, allocations: 2.734 kB / 4.347 GB, free: 161.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/10.58, allocations: 52.12 kB / 4.347 GB, free: 161.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-05/10.58, allocations: 51.58 kB / 4.348 GB, free: 161.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/10.58, allocations: 1.189 MB / 4.349 GB, free: 161.3 MB / 0.9636 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.007729/10.59, allocations: 6.559 MB / 4.355 GB, free: 157.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/10.59, allocations: 0.7602 MB / 4.356 GB, free: 157.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005191/10.59, allocations: 418.8 kB / 4.356 GB, free: 157.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005906/10.59, allocations: 410.9 kB / 4.357 GB, free: 157.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/10.59, allocations: 46.09 kB / 4.357 GB, free: 157.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=73): time 2.885e-06/10.59, allocations: 3.75 kB / 4.357 GB, free: 157.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73): time 0.001958/10.59, allocations: 0.9526 MB / 4.358 GB, free: 157.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/10.59, allocations: 59.59 kB / 4.358 GB, free: 157.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/10.59, allocations: 1.083 MB / 4.359 GB, free: 157 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.839e-05/10.59, allocations: 44.27 kB / 4.359 GB, free: 156.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004237/10.59, allocations: 0.6977 MB / 4.359 GB, free: 156.7 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/10.59, allocations: 264.3 kB / 4.36 GB, free: 156.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/10.59, allocations: 19.34 kB / 4.36 GB, free: 156.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.913e-05/10.59, allocations: 350.7 kB / 4.36 GB, free: 156.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004516/10.59, allocations: 327.5 kB / 4.36 GB, free: 156.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006803/10.59, allocations: 0.7276 MB / 4.361 GB, free: 155.7 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006306/10.59, allocations: 465.1 kB / 4.361 GB, free: 155.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/10.59, allocations: 3.438 kB / 4.361 GB, free: 155.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001779/10.6, allocations: 1.243 MB / 4.363 GB, free: 155.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/10.6, allocations: 11.56 kB / 4.363 GB, free: 155.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/10.6, allocations: 7.844 kB / 4.363 GB, free: 155.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004105/10.6, allocations: 150.4 kB / 4.363 GB, free: 155.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007195/10.6, allocations: 199.6 kB / 4.363 GB, free: 155.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003078/10.6, allocations: 4.79 MB / 4.368 GB, free: 150.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/10.6, allocations: 183.5 kB / 4.368 GB, free: 150.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-05/10.6, allocations: 49.72 kB / 4.368 GB, free: 150.5 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 () * 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.0002079/10.6, allocations: 169.8 kB / 4.368 GB, free: 150.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/10.6, allocations: 144 kB / 4.368 GB, free: 150.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/10.61, allocations: 1.06 MB / 4.369 GB, free: 149.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/10.61, allocations: 3.312 kB / 4.369 GB, free: 149.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/10.61, allocations: 7.828 kB / 4.369 GB, free: 149.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001094/10.61, allocations: 0.9353 MB / 4.37 GB, free: 149.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003626/10.61, allocations: 2.392 MB / 4.373 GB, free: 148.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/10.61, allocations: 3.688 kB / 4.373 GB, free: 148.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006237/10.61, allocations: 130.3 kB / 4.373 GB, free: 148.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003108/10.61, allocations: 140.5 kB / 4.373 GB, free: 148.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/10.61, allocations: 19.77 kB / 4.373 GB, free: 148.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002825/10.61, allocations: 4.769 MB / 4.377 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/10.61, allocations: 6.875 kB / 4.378 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/10.62, allocations: 1.656 MB / 4.379 GB, free: 142.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007164/10.62, allocations: 318.6 kB / 4.379 GB, free: 142.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/10.62, allocations: 19.36 kB / 4.379 GB, free: 142.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008201/10.62, allocations: 71.84 kB / 4.38 GB, free: 142.6 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/10.62, allocations: 52.2 kB / 4.38 GB, free: 142.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-05/10.62, allocations: 37.17 kB / 4.38 GB, free: 142.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001115/10.62, allocations: 0.8561 MB / 4.38 GB, free: 142.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.8e-07/10.62, allocations: 0 / 4.38 GB, free: 142.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00271/10.62, allocations: 0.6671 MB / 4.381 GB, free: 142 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 () * 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.006021/10.63, allocations: 5.194 MB / 4.386 GB, free: 139 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001755/10.63, allocations: 1.18 MB / 4.387 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/10.63, allocations: 0 / 4.387 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006517/10.63, allocations: 0.7242 MB / 4.388 GB, free: 137.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00396/10.63, allocations: 0.8204 MB / 4.389 GB, free: 137.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004494/10.64, allocations: 2.499 MB / 4.391 GB, free: 136.7 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008018/10.64, allocations: 1.379 MB / 4.393 GB, free: 135.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001299/10.64, allocations: 350.6 kB / 4.393 GB, free: 135.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006214/10.64, allocations: 0.5365 MB / 4.393 GB, free: 135.3 MB / 0.9636 GB Notification: Performance of SimCode: time 1.482e-06/10.64, allocations: 0 / 4.393 GB, free: 135.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1209/10.76, allocations: 82.54 MB / 4.474 GB, free: 55.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/10.76, allocations: 207.4 kB / 4.474 GB, free: 55.48 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.283/16.05, allocations: 2.844 kB / 4.474 GB, free: 55.48 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)