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.8214/0.8214, allocations: 143.4 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 177 kB / 191.5 MB, free: 5.758 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.443/1.443, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.001083/0.001082, allocations: 96.3 kB / 0.5188 GB, free: 1.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002307/0.002307, allocations: 276.6 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004317/0.0004319, allocations: 18.91 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1693, allocations: 82.8 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.063/4.232, allocations: 1.899 GB / 2.672 GB, free: 129.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003527/4.233, allocations: 98.25 kB / 2.673 GB, free: 129.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.681/8.914, allocations: 1.295 GB / 3.968 GB, free: 87.97 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.503e-06/8.914, allocations: 0 / 3.968 GB, free: 87.97 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001099/8.914, allocations: 42.23 kB / 3.968 GB, free: 87.97 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.005302/8.92, allocations: 2.045 MB / 3.97 GB, free: 87.26 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/8.92, allocations: 7.719 kB / 3.97 GB, free: 87.26 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002338/8.922, allocations: 372.8 kB / 3.97 GB, free: 87.17 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/8.925, allocations: 1.131 MB / 3.971 GB, free: 86.89 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.38e-05/8.925, allocations: 106.5 kB / 3.971 GB, free: 86.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/8.925, allocations: 137.5 kB / 3.972 GB, free: 86.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002551/8.927, allocations: 1.512 MB / 3.973 GB, free: 86.68 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/8.928, allocations: 3.188 kB / 3.973 GB, free: 86.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/8.928, allocations: 54.41 kB / 3.973 GB, free: 86.68 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.867e-05/8.928, allocations: 53.66 kB / 3.973 GB, free: 86.68 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/8.93, allocations: 1.209 MB / 3.974 GB, free: 86.66 MB / 0.7292 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.007709/8.937, allocations: 6.571 MB / 3.981 GB, free: 83.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/8.938, allocations: 0.7604 MB / 3.981 GB, free: 83.29 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007233/8.939, allocations: 410.8 kB / 3.982 GB, free: 82.91 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/8.939, allocations: 43.59 kB / 3.982 GB, free: 82.87 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=73): time 4.839e-06/8.939, allocations: 0 / 3.982 GB, free: 82.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73): time 0.0028/8.942, allocations: 1.511 MB / 3.983 GB, free: 82.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/8.942, allocations: 63.41 kB / 3.983 GB, free: 82.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/8.944, allocations: 1.095 MB / 3.984 GB, free: 82.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/8.944, allocations: 44.3 kB / 3.985 GB, free: 82.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005823/8.945, allocations: 0.6998 MB / 3.985 GB, free: 81.99 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003004/8.945, allocations: 257.3 kB / 3.985 GB, free: 81.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/8.945, allocations: 20.72 kB / 3.985 GB, free: 81.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001035/8.945, allocations: 351.7 kB / 3.986 GB, free: 81.55 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005227/8.946, allocations: 337.1 kB / 3.986 GB, free: 81.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000791/8.946, allocations: 0.7361 MB / 3.987 GB, free: 81.11 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007328/8.947, allocations: 471 kB / 3.987 GB, free: 81.09 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/8.947, allocations: 3.531 kB / 3.987 GB, free: 81.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00203/8.949, allocations: 1.232 MB / 3.988 GB, free: 80.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/8.949, allocations: 13.28 kB / 3.989 GB, free: 80.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/8.949, allocations: 7.25 kB / 3.989 GB, free: 80.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003196/8.95, allocations: 131.5 kB / 3.989 GB, free: 80.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007896/8.95, allocations: 201.5 kB / 3.989 GB, free: 80.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003707/8.954, allocations: 4.833 MB / 3.994 GB, free: 76.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/8.956, allocations: 184.4 kB / 3.994 GB, free: 76.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/8.956, allocations: 52.28 kB / 3.994 GB, free: 76.88 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 () * 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.001027/8.957, allocations: 415.6 kB / 3.994 GB, free: 76.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003652/8.957, allocations: 143.3 kB / 3.994 GB, free: 76.69 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/8.959, allocations: 1.049 MB / 3.995 GB, free: 76.57 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/8.959, allocations: 11.28 kB / 3.995 GB, free: 76.57 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/8.959, allocations: 0 / 3.995 GB, free: 76.57 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00111/8.96, allocations: 0.9288 MB / 3.996 GB, free: 76.29 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004617/8.965, allocations: 2.368 MB / 3.999 GB, free: 75.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/8.965, allocations: 2.156 kB / 3.999 GB, free: 75.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006941/8.966, allocations: 133.5 kB / 3.999 GB, free: 75.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002409/8.966, allocations: 127.4 kB / 3.999 GB, free: 75.81 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.07e-05/8.966, allocations: 16.16 kB / 3.999 GB, free: 75.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003287/8.969, allocations: 4.808 MB / 4.004 GB, free: 71.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/8.969, allocations: 3.688 kB / 4.004 GB, free: 71.81 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/8.972, allocations: 1.658 MB / 4.005 GB, free: 71.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009574/8.973, allocations: 315.5 kB / 4.005 GB, free: 71.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004333/8.973, allocations: 20.05 kB / 4.005 GB, free: 71.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/8.974, allocations: 61.58 kB / 4.006 GB, free: 71.09 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/8.974, allocations: 58.2 kB / 4.006 GB, free: 71.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.992e-05/8.974, allocations: 31.95 kB / 4.006 GB, free: 71.09 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001598/8.976, allocations: 0.8626 MB / 4.006 GB, free: 70.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/8.976, allocations: 2.078 kB / 4.006 GB, free: 70.98 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00308/8.979, allocations: 0.6769 MB / 4.007 GB, free: 70.93 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 () * 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.004782/8.984, allocations: 2.41 MB / 4.009 GB, free: 70.06 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001898/8.986, allocations: 1.199 MB / 4.011 GB, free: 69.71 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/8.986, allocations: 3.719 kB / 4.011 GB, free: 69.71 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008609/8.987, allocations: 0.7242 MB / 4.011 GB, free: 69.38 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004175/8.991, allocations: 0.8327 MB / 4.012 GB, free: 69.36 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005389/8.996, allocations: 3.18 MB / 4.015 GB, free: 68 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/8.998, allocations: 1.376 MB / 4.017 GB, free: 67.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001783/8.999, allocations: 346.1 kB / 4.017 GB, free: 67.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/9, allocations: 105 kB / 4.017 GB, free: 67.26 MB / 0.7292 GB Notification: Performance of SimCode: time 9.32e-07/9, allocations: 0 / 4.017 GB, free: 67.26 MB / 0.7292 GB Notification: Performance of Templates: time 0.08783/9.088, allocations: 55.93 MB / 4.072 GB, free: 64.78 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)