Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6906/0.6906, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 186.5 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 221.3 MB / 441.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007677/0.0007678, allocations: 94.47 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001659/0.001659, allocations: 283.2 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.626e-05/2.628e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3444, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.544/3.888, allocations: 1.899 GB / 2.663 GB, free: 108.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/3.889, allocations: 86.42 kB / 2.663 GB, free: 108.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.126/8.015, allocations: 1.294 GB / 3.957 GB, free: 96.54 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.834e-06/8.015, allocations: 0 / 3.957 GB, free: 96.54 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.984e-05/8.015, allocations: 43.72 kB / 3.957 GB, free: 96.53 MB / 0.7292 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.003092/8.018, allocations: 1.825 MB / 3.959 GB, free: 95.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/8.018, allocations: 9.156 kB / 3.959 GB, free: 95.73 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/8.018, allocations: 196 kB / 3.959 GB, free: 95.69 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/8.02, allocations: 374.4 kB / 3.96 GB, free: 95.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/8.022, allocations: 1.122 MB / 3.961 GB, free: 95.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.166e-05/8.022, allocations: 102 kB / 3.961 GB, free: 95.32 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/8.022, allocations: 143 kB / 3.961 GB, free: 95.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/8.024, allocations: 1.485 MB / 3.962 GB, free: 95.11 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/8.024, allocations: 9.406 kB / 3.962 GB, free: 95.11 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/8.024, allocations: 53.88 kB / 3.962 GB, free: 95.11 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.075e-05/8.024, allocations: 47.75 kB / 3.962 GB, free: 95.11 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/8.026, allocations: 1.196 MB / 3.964 GB, free: 95.09 MB / 0.7292 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.00633/8.032, allocations: 6.55 MB / 3.97 GB, free: 91.73 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009241/8.033, allocations: 0.7577 MB / 3.971 GB, free: 91.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004837/8.034, allocations: 419.1 kB / 3.971 GB, free: 91.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000618/8.034, allocations: 407.2 kB / 3.971 GB, free: 91.31 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/8.034, allocations: 46 kB / 3.972 GB, free: 91.27 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=73): time 3.206e-06/8.034, allocations: 0 / 3.972 GB, free: 91.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73): time 0.002043/8.036, allocations: 0.9581 MB / 3.972 GB, free: 91.12 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/8.036, allocations: 62.84 kB / 3.973 GB, free: 91.05 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/8.038, allocations: 1.082 MB / 3.974 GB, free: 90.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.132e-05/8.038, allocations: 45.23 kB / 3.974 GB, free: 90.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004569/8.038, allocations: 0.6981 MB / 3.974 GB, free: 90.59 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/8.039, allocations: 264.5 kB / 3.975 GB, free: 90.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/8.039, allocations: 19.44 kB / 3.975 GB, free: 90.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001384/8.039, allocations: 346.1 kB / 3.975 GB, free: 90.12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/8.039, allocations: 329.8 kB / 3.975 GB, free: 90.12 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007839/8.04, allocations: 0.7268 MB / 3.976 GB, free: 89.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000616/8.041, allocations: 462.7 kB / 3.976 GB, free: 89.66 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/8.041, allocations: 3.438 kB / 3.976 GB, free: 89.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001734/8.042, allocations: 1.249 MB / 3.978 GB, free: 89.51 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/8.042, allocations: 8.844 kB / 3.978 GB, free: 89.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/8.043, allocations: 14.59 kB / 3.978 GB, free: 89.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003915/8.043, allocations: 142.2 kB / 3.978 GB, free: 89.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006693/8.044, allocations: 199.9 kB / 3.978 GB, free: 89.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/8.046, allocations: 4.792 MB / 3.983 GB, free: 85.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/8.048, allocations: 183.9 kB / 3.983 GB, free: 85.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.893e-05/8.048, allocations: 46.28 kB / 3.983 GB, free: 85.41 MB / 0.7292 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.0001644/8.048, allocations: 167.5 kB / 3.983 GB, free: 85.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/8.048, allocations: 144.8 kB / 3.983 GB, free: 85.23 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/8.05, allocations: 1.061 MB / 3.984 GB, free: 85.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/8.05, allocations: 6.969 kB / 3.984 GB, free: 85.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/8.05, allocations: 0 / 3.984 GB, free: 85.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009757/8.051, allocations: 0.9461 MB / 3.985 GB, free: 84.8 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003265/8.054, allocations: 2.383 MB / 3.987 GB, free: 84.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/8.054, allocations: 6.688 kB / 3.987 GB, free: 84.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005979/8.054, allocations: 132.2 kB / 3.988 GB, free: 84.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003054/8.055, allocations: 139.8 kB / 3.988 GB, free: 84.33 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/8.055, allocations: 21.94 kB / 3.988 GB, free: 84.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002748/8.058, allocations: 4.762 MB / 3.992 GB, free: 80.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/8.058, allocations: 9.062 kB / 3.992 GB, free: 80.33 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/8.059, allocations: 1.673 MB / 3.994 GB, free: 79.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005405/8.06, allocations: 318.4 kB / 3.994 GB, free: 79.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/8.06, allocations: 15.88 kB / 3.994 GB, free: 79.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007769/8.061, allocations: 62.14 kB / 3.994 GB, free: 79.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/8.061, allocations: 59.23 kB / 3.994 GB, free: 79.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.715e-05/8.061, allocations: 23.05 kB / 3.994 GB, free: 79.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0009265/8.062, allocations: 0.8568 MB / 3.995 GB, free: 79.48 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.71e-07/8.062, allocations: 0 / 3.995 GB, free: 79.48 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002071/8.064, allocations: 0.6709 MB / 3.996 GB, free: 79.44 MB / 0.7292 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.005029/8.069, allocations: 5.193 MB / 4.001 GB, free: 76.94 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001466/8.071, allocations: 1.181 MB / 4.002 GB, free: 76.58 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/8.071, allocations: 0 / 4.002 GB, free: 76.58 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006159/8.071, allocations: 0.7231 MB / 4.003 GB, free: 76.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003394/8.075, allocations: 0.8332 MB / 4.004 GB, free: 76.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/8.078, allocations: 2.499 MB / 4.006 GB, free: 75.56 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006641/8.079, allocations: 1.376 MB / 4.007 GB, free: 74.85 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001125/8.08, allocations: 344.2 kB / 4.008 GB, free: 74.83 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005463/8.081, allocations: 0.5435 MB / 4.008 GB, free: 74.82 MB / 0.7292 GB Notification: Performance of SimCode: time 5.31e-07/8.081, allocations: 2.094 kB / 4.008 GB, free: 74.82 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1051/8.186, allocations: 82.6 MB / 4.089 GB, free: 26.34 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001302/8.186, allocations: 206.4 kB / 4.089 GB, free: 26.12 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.221/12.41, allocations: 4 kB / 4.089 GB, free: 26.11 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe 2>&1)