Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.973/1.973, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001548/0.001548, allocations: 189 kB / 377.1 MB, free: 1.531 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.006/2.006, allocations: 205.4 MB / 0.6366 GB, free: 8.52 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.0009623/0.0009622, allocations: 88.75 kB / 0.7509 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.0004961, allocations: 12 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3232, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.263/6.587, allocations: 2.094 GB / 3.083 GB, free: 125.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/6.587, allocations: 88.56 kB / 3.083 GB, free: 125.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.479/12.07, allocations: 1.279 GB / 4.362 GB, free: 117 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.685e-06/12.07, allocations: 0 / 4.362 GB, free: 117 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002772/12.07, allocations: 48.16 kB / 4.362 GB, free: 117 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.009946/12.08, allocations: 2.05 MB / 4.364 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.538e-05/12.08, allocations: 9.75 kB / 4.364 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001138/12.08, allocations: 197.3 kB / 4.364 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004144/12.08, allocations: 375.1 kB / 4.365 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00555/12.09, allocations: 1.132 MB / 4.366 GB, free: 116 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/12.09, allocations: 106.2 kB / 4.366 GB, free: 116 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007547/12.09, allocations: 138.4 kB / 4.366 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005596/12.09, allocations: 1.51 MB / 4.367 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.858e-05/12.09, allocations: 2.906 kB / 4.367 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/12.09, allocations: 52.5 kB / 4.367 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.386e-05/12.09, allocations: 48.55 kB / 4.368 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003272/12.1, allocations: 1.22 MB / 4.369 GB, free: 115.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.01222/12.11, allocations: 6.557 MB / 4.375 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/12.11, allocations: 0.7692 MB / 4.376 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008548/12.11, allocations: 414.5 kB / 4.376 GB, free: 112 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/12.11, allocations: 41.5 kB / 4.376 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=73): time 5.831e-06/12.11, allocations: 0 / 4.376 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73): time 0.004161/12.12, allocations: 1.512 MB / 4.378 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/12.12, allocations: 66.05 kB / 4.378 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00244/12.12, allocations: 1.098 MB / 4.379 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000157/12.12, allocations: 44.98 kB / 4.379 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007611/12.12, allocations: 0.692 MB / 4.38 GB, free: 111 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003535/12.12, allocations: 263.1 kB / 4.38 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/12.12, allocations: 18.34 kB / 4.38 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001258/12.12, allocations: 343.3 kB / 4.38 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000799/12.12, allocations: 341.8 kB / 4.381 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/12.12, allocations: 0.7327 MB / 4.381 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/12.12, allocations: 468.1 kB / 4.382 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/12.12, allocations: 0 / 4.382 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003088/12.13, allocations: 1.242 MB / 4.383 GB, free: 110 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/12.13, allocations: 11.28 kB / 4.383 GB, free: 110 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/12.13, allocations: 8.938 kB / 4.383 GB, free: 110 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004547/12.13, allocations: 128.9 kB / 4.383 GB, free: 110 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/12.13, allocations: 198.6 kB / 4.383 GB, free: 110 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004802/12.13, allocations: 4.842 MB / 4.388 GB, free: 106 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/12.14, allocations: 188.4 kB / 4.388 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/12.14, allocations: 49.16 kB / 4.388 GB, free: 105.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.001281/12.14, allocations: 421.1 kB / 4.389 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000375/12.14, allocations: 152.3 kB / 4.389 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/12.14, allocations: 1.046 MB / 4.39 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/12.14, allocations: 6.75 kB / 4.39 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/12.14, allocations: 0 / 4.39 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00151/12.14, allocations: 0.9186 MB / 4.391 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003839/12.15, allocations: 2.375 MB / 4.393 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/12.15, allocations: 6.062 kB / 4.393 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000711/12.15, allocations: 132.8 kB / 4.393 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002581/12.15, allocations: 118.4 kB / 4.393 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.843e-05/12.15, allocations: 21.64 kB / 4.393 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003609/12.15, allocations: 4.824 MB / 4.398 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/12.15, allocations: 2.375 kB / 4.398 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002673/12.15, allocations: 1.657 MB / 4.4 GB, free: 100.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009331/12.15, allocations: 311.1 kB / 4.4 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/12.15, allocations: 17.56 kB / 4.4 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/12.16, allocations: 69.41 kB / 4.4 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/12.16, allocations: 54.53 kB / 4.4 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.19e-05/12.16, allocations: 28.08 kB / 4.4 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001387/12.16, allocations: 0.8654 MB / 4.401 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.2e-07/12.16, allocations: 2.438 kB / 4.401 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003002/12.16, allocations: 0.6752 MB / 4.402 GB, free: 100 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.006791/12.17, allocations: 5.17 MB / 4.407 GB, free: 97.55 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00209/12.17, allocations: 1.189 MB / 4.408 GB, free: 97.21 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/12.17, allocations: 1.031 kB / 4.408 GB, free: 97.21 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008597/12.17, allocations: 0.7327 MB / 4.408 GB, free: 96.87 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003933/12.17, allocations: 0.8338 MB / 4.409 GB, free: 96.84 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0162/12.19, allocations: 14.63 MB / 4.424 GB, free: 87.87 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/12.19, allocations: 1.371 MB / 4.425 GB, free: 87.16 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001836/12.19, allocations: 351.3 kB / 4.425 GB, free: 87.14 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007723/12.19, allocations: 0.537 MB / 4.426 GB, free: 87.13 MB / 0.9636 GB Notification: Performance of SimCode: time 1.623e-06/12.19, allocations: 0 / 4.426 GB, free: 87.13 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1471/12.34, allocations: 76.83 MB / 4.501 GB, free: 84.41 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/12.34, allocations: 223.8 kB / 4.501 GB, free: 84.16 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.235/17.58, allocations: 0 / 4.501 GB, free: 84.16 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)