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.795/1.795, allocations: 289.9 MB / 297.4 MB, free: 6.426 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.001421/0.001421, allocations: 172.9 kB / 366.7 MB, free: 1.699 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.783/1.783, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0008432/0.0008434, allocations: 94.44 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.515e-05/2.519e-05, allocations: 4 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6831/0.6832, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.371/6.055, allocations: 2.093 GB / 3.067 GB, free: 282.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/6.055, allocations: 88.67 kB / 3.067 GB, free: 282.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.734/10.79, allocations: 1.264 GB / 4.331 GB, free: 156.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.004e-06/10.79, allocations: 0 / 4.331 GB, free: 156.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001262/10.79, allocations: 40.23 kB / 4.331 GB, free: 156.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.004788/10.79, allocations: 1.825 MB / 4.333 GB, free: 155.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/10.79, allocations: 7.5 kB / 4.333 GB, free: 155.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00239/10.8, allocations: 377 kB / 4.333 GB, free: 155.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002559/10.8, allocations: 1.131 MB / 4.334 GB, free: 155 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/10.8, allocations: 40.53 kB / 4.334 GB, free: 155 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/10.8, allocations: 89.52 kB / 4.334 GB, free: 155 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00197/10.8, allocations: 1.107 MB / 4.335 GB, free: 154.6 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/10.8, allocations: 1.309 MB / 4.337 GB, free: 154.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/10.8, allocations: 0 / 4.337 GB, free: 154.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/10.8, allocations: 11.39 kB / 4.337 GB, free: 154.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.081e-05/10.8, allocations: 47.36 kB / 4.337 GB, free: 154.1 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.007379/10.81, allocations: 6.246 MB / 4.343 GB, free: 149.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009983/10.81, allocations: 0.7283 MB / 4.344 GB, free: 149.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004977/10.81, allocations: 394.8 kB / 4.344 GB, free: 149.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006687/10.81, allocations: 414.7 kB / 4.344 GB, free: 148.9 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/10.81, allocations: 39.31 kB / 4.344 GB, free: 148.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=73): time 3.316e-06/10.81, allocations: 0 / 4.344 GB, free: 148.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73): time 0.002346/10.82, allocations: 0.9996 MB / 4.345 GB, free: 148.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/10.82, allocations: 73.3 kB / 4.345 GB, free: 148.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009399/10.82, allocations: 0.7225 MB / 4.346 GB, free: 148.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.108e-05/10.82, allocations: 25.7 kB / 4.346 GB, free: 148.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004425/10.82, allocations: 0.7056 MB / 4.347 GB, free: 147.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/10.82, allocations: 256 kB / 4.347 GB, free: 147.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/10.82, allocations: 0 / 4.347 GB, free: 147.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.574e-05/10.82, allocations: 349.1 kB / 4.347 GB, free: 147 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004115/10.82, allocations: 312.8 kB / 4.348 GB, free: 146.9 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006603/10.82, allocations: 0.6959 MB / 4.348 GB, free: 146.3 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009227/10.82, allocations: 0.5433 MB / 4.349 GB, free: 146.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/10.82, allocations: 3.969 kB / 4.349 GB, free: 146.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002003/10.82, allocations: 1.238 MB / 4.35 GB, free: 145.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/10.82, allocations: 7.562 kB / 4.35 GB, free: 145.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/10.82, allocations: 12.86 kB / 4.35 GB, free: 145.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004009/10.82, allocations: 141.9 kB / 4.35 GB, free: 145.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007055/10.82, allocations: 196.3 kB / 4.351 GB, free: 145.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002944/10.83, allocations: 4.623 MB / 4.355 GB, free: 141.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/10.83, allocations: 124.8 kB / 4.355 GB, free: 141 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.411e-05/10.83, allocations: 45.28 kB / 4.355 GB, free: 141 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.0001918/10.83, allocations: 136.1 kB / 4.355 GB, free: 140.9 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001572/10.83, allocations: 0.9498 MB / 4.356 GB, free: 140.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/10.83, allocations: 117.2 kB / 4.356 GB, free: 140.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/10.83, allocations: 1.065 MB / 4.357 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/10.83, allocations: 3.875 kB / 4.357 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/10.83, allocations: 3.875 kB / 4.357 GB, free: 139.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001224/10.83, allocations: 0.9778 MB / 4.358 GB, free: 139.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003566/10.84, allocations: 2.272 MB / 4.361 GB, free: 137.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/10.84, allocations: 0 / 4.361 GB, free: 137.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006268/10.84, allocations: 131.8 kB / 4.361 GB, free: 137.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002989/10.84, allocations: 140.1 kB / 4.361 GB, free: 137.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.902e-05/10.84, allocations: 15.73 kB / 4.361 GB, free: 137.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002786/10.84, allocations: 4.591 MB / 4.365 GB, free: 133.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/10.84, allocations: 7.75 kB / 4.365 GB, free: 133.1 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/10.84, allocations: 1.649 MB / 4.367 GB, free: 132 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005606/10.84, allocations: 286.6 kB / 4.367 GB, free: 131.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/10.84, allocations: 3.938 kB / 4.367 GB, free: 131.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007502/10.84, allocations: 52.77 kB / 4.367 GB, free: 131.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/10.84, allocations: 66.72 kB / 4.367 GB, free: 131.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/10.84, allocations: 27.23 kB / 4.367 GB, free: 131.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0007236/10.84, allocations: 0.559 MB / 4.368 GB, free: 131.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.81e-07/10.84, allocations: 3.938 kB / 4.368 GB, free: 131.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002381/10.85, allocations: 0.6035 MB / 4.369 GB, free: 131.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 () * 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.006615/10.85, allocations: 5.457 MB / 4.374 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001754/10.85, allocations: 1.11 MB / 4.375 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/10.85, allocations: 0 / 4.375 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000629/10.86, allocations: 0.6827 MB / 4.376 GB, free: 124.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002832/10.86, allocations: 0.5861 MB / 4.376 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004169/10.86, allocations: 2.378 MB / 4.379 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007907/10.86, allocations: 1.375 MB / 4.38 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001096/10.86, allocations: 304.8 kB / 4.38 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005884/10.87, allocations: 0.5227 MB / 4.381 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of SimCode: time 1.783e-06/10.87, allocations: 0 / 4.381 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09364/10.96, allocations: 50.53 MB / 4.43 GB, free: 69.52 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/10.96, allocations: 145.9 kB / 4.43 GB, free: 69.33 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.076/15.03, allocations: 3.938 kB / 4.43 GB, free: 69.33 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)