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: translateModel(BuildingSystems.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM") translateModel(BuildingSystems.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.837/0.837, 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.001074/0.001075, allocations: 177 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.457/1.457, allocations: 221.3 MB / 441.4 MB, free: 4.609 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.0009604/0.0009604, allocations: 91.72 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001795, allocations: 279.1 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.325e-05/4.371e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4292, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5/5.43, allocations: 1.899 GB / 2.663 GB, free: 109.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/5.43, allocations: 91.02 kB / 2.663 GB, free: 109.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.214/10.64, allocations: 1.294 GB / 3.957 GB, free: 96.38 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.392e-06/10.64, allocations: 1.312 kB / 3.957 GB, free: 96.38 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.918e-05/10.64, allocations: 43.89 kB / 3.957 GB, free: 96.37 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.003677/10.65, allocations: 1.823 MB / 3.959 GB, free: 95.58 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/10.65, allocations: 7.156 kB / 3.959 GB, free: 95.58 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001943/10.65, allocations: 373.9 kB / 3.959 GB, free: 95.49 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/10.65, allocations: 1.132 MB / 3.96 GB, free: 95.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.55e-05/10.65, allocations: 102.2 kB / 3.96 GB, free: 95.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/10.65, allocations: 140 kB / 3.961 GB, free: 95.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/10.65, allocations: 1.487 MB / 3.962 GB, free: 95 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/10.65, allocations: 8.344 kB / 3.962 GB, free: 95 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/10.65, allocations: 54.12 kB / 3.962 GB, free: 95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.712e-05/10.66, allocations: 48.61 kB / 3.962 GB, free: 94.99 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/10.66, allocations: 1.184 MB / 3.963 GB, free: 94.98 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.007702/10.66, allocations: 6.558 MB / 3.97 GB, free: 91.61 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/10.67, allocations: 0.7596 MB / 3.97 GB, free: 91.58 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005429/10.67, allocations: 413.8 kB / 3.971 GB, free: 91.57 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007146/10.67, allocations: 412.4 kB / 3.971 GB, free: 91.19 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/10.67, allocations: 45.75 kB / 3.971 GB, free: 91.15 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=73): time 7.614e-06/10.67, allocations: 6.047 kB / 3.971 GB, free: 91.15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73): time 0.00281/10.67, allocations: 0.9536 MB / 3.972 GB, free: 91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/10.67, allocations: 60.06 kB / 3.972 GB, free: 90.94 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/10.67, allocations: 1.085 MB / 3.973 GB, free: 90.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001657/10.67, allocations: 42.98 kB / 3.973 GB, free: 90.74 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006373/10.67, allocations: 0.7006 MB / 3.974 GB, free: 90.47 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000374/10.67, allocations: 261.3 kB / 3.974 GB, free: 90.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/10.67, allocations: 19.62 kB / 3.974 GB, free: 90.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001566/10.67, allocations: 346.2 kB / 3.975 GB, free: 90 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005908/10.67, allocations: 333.5 kB / 3.975 GB, free: 90 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/10.68, allocations: 0.7235 MB / 3.976 GB, free: 89.54 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006855/10.68, allocations: 469.8 kB / 3.976 GB, free: 89.54 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/10.68, allocations: 3.875 kB / 3.976 GB, free: 89.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002551/10.68, allocations: 1.243 MB / 3.977 GB, free: 89.39 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/10.68, allocations: 9.688 kB / 3.977 GB, free: 89.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/10.68, allocations: 7.406 kB / 3.977 GB, free: 89.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000473/10.68, allocations: 147.8 kB / 3.977 GB, free: 89.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007651/10.68, allocations: 204.8 kB / 3.978 GB, free: 89.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003628/10.68, allocations: 4.786 MB / 3.982 GB, free: 85.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/10.69, allocations: 183 kB / 3.983 GB, free: 85.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/10.69, allocations: 50.03 kB / 3.983 GB, free: 85.3 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.0002737/10.69, allocations: 175.6 kB / 3.983 GB, free: 85.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/10.69, allocations: 143.9 kB / 3.983 GB, free: 85.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/10.69, allocations: 1.054 MB / 3.984 GB, free: 84.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/10.69, allocations: 8.781 kB / 3.984 GB, free: 84.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/10.69, allocations: 0 / 3.984 GB, free: 84.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001091/10.69, allocations: 0.9431 MB / 3.985 GB, free: 84.69 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/10.69, allocations: 2.393 MB / 3.987 GB, free: 84.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/10.69, allocations: 3.938 kB / 3.987 GB, free: 84.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000615/10.69, allocations: 134.5 kB / 3.987 GB, free: 84.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003051/10.69, allocations: 135.1 kB / 3.987 GB, free: 84.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.668e-05/10.69, allocations: 22.33 kB / 3.987 GB, free: 84.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0028/10.7, allocations: 4.764 MB / 3.992 GB, free: 80.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/10.7, allocations: 3.781 kB / 3.992 GB, free: 80.21 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/10.7, allocations: 1.669 MB / 3.994 GB, free: 79.67 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007101/10.7, allocations: 313.8 kB / 3.994 GB, free: 79.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/10.7, allocations: 19.88 kB / 3.994 GB, free: 79.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008335/10.7, allocations: 58.12 kB / 3.994 GB, free: 79.49 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/10.7, allocations: 63.45 kB / 3.994 GB, free: 79.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.985e-05/10.7, allocations: 30.69 kB / 3.994 GB, free: 79.49 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001102/10.7, allocations: 0.8468 MB / 3.995 GB, free: 79.37 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.31e-07/10.7, allocations: 0 / 3.995 GB, free: 79.37 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002701/10.7, allocations: 0.6779 MB / 3.996 GB, free: 79.32 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.00309/10.71, allocations: 2.414 MB / 3.998 GB, free: 78.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001676/10.71, allocations: 1.189 MB / 3.999 GB, free: 78.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/10.71, allocations: 0 / 3.999 GB, free: 78.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006632/10.71, allocations: 0.7221 MB / 4 GB, free: 77.73 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003783/10.71, allocations: 0.8257 MB / 4.001 GB, free: 77.71 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/10.72, allocations: 2.126 MB / 4.003 GB, free: 77.11 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007031/10.72, allocations: 1.371 MB / 4.004 GB, free: 76.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001323/10.72, allocations: 353.2 kB / 4.004 GB, free: 76.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/10.72, allocations: 110.3 kB / 4.005 GB, free: 76.37 MB / 0.7292 GB Notification: Performance of SimCode: time 9.12e-07/10.72, allocations: 0 / 4.005 GB, free: 76.37 MB / 0.7292 GB Notification: Performance of Templates: time 0.08031/10.8, allocations: 61.81 MB / 4.065 GB, free: 50.92 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe 2>&1)