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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.7672/0.7672, allocations: 140.1 MB / 156 MB, free: 5.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 178.6 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.4 MB / 426.3 MB, free: 8.449 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000767/0.0007669, allocations: 82.38 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001693/0.001693, allocations: 269.9 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005129/0.0005131, allocations: 28 kB / 0.662 GB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4149, allocations: 79.28 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.733/5.148, allocations: 2.063 GB / 2.803 GB, free: 142.3 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/5.148, allocations: 96.61 kB / 2.803 GB, free: 142.2 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.47/10.62, allocations: 1.276 GB / 4.079 GB, free: 80.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.685e-06/10.62, allocations: 6.281 kB / 4.079 GB, free: 80.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000225/10.62, allocations: 39.41 kB / 4.079 GB, free: 80.89 MB / 0.698 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.008254/10.63, allocations: 2.028 MB / 4.081 GB, free: 80.01 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.31e-05/10.63, allocations: 14.39 kB / 4.081 GB, free: 80.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003107/10.63, allocations: 374.3 kB / 4.081 GB, free: 79.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00416/10.63, allocations: 1.176 MB / 4.083 GB, free: 79.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/10.63, allocations: 102.3 kB / 4.083 GB, free: 79.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006959/10.64, allocations: 132.2 kB / 4.083 GB, free: 79.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004733/10.64, allocations: 1.533 MB / 4.084 GB, free: 79.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.057e-05/10.64, allocations: 7.219 kB / 4.084 GB, free: 79.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003387/10.64, allocations: 52.38 kB / 4.084 GB, free: 79.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.178e-05/10.64, allocations: 45.27 kB / 4.084 GB, free: 79.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002641/10.64, allocations: 1.217 MB / 4.086 GB, free: 79.37 MB / 0.698 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.01042/10.65, allocations: 6.563 MB / 4.092 GB, free: 76.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/10.65, allocations: 0.7767 MB / 4.093 GB, free: 75.97 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005683/10.66, allocations: 427.6 kB / 4.093 GB, free: 75.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006072/10.66, allocations: 411.6 kB / 4.094 GB, free: 75.58 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/10.66, allocations: 40.78 kB / 4.094 GB, free: 75.54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.366e-06/10.66, allocations: 0 / 4.094 GB, free: 75.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003094/10.66, allocations: 1.517 MB / 4.095 GB, free: 75.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/10.66, allocations: 63.56 kB / 4.095 GB, free: 75.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002351/10.66, allocations: 1.244 MB / 4.096 GB, free: 74.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001556/10.66, allocations: 43.52 kB / 4.096 GB, free: 74.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006356/10.66, allocations: 0.6981 MB / 4.097 GB, free: 74.58 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003217/10.66, allocations: 268.4 kB / 4.097 GB, free: 74.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/10.66, allocations: 16.62 kB / 4.097 GB, free: 74.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001136/10.66, allocations: 349.5 kB / 4.098 GB, free: 74.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005461/10.66, allocations: 342.9 kB / 4.098 GB, free: 74.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008368/10.66, allocations: 0.7321 MB / 4.099 GB, free: 73.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/10.67, allocations: 1.038 MB / 4.1 GB, free: 73.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.715e-05/10.67, allocations: 7.906 kB / 4.1 GB, free: 73.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002399/10.67, allocations: 1.23 MB / 4.101 GB, free: 73.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/10.67, allocations: 7.469 kB / 4.101 GB, free: 73.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/10.67, allocations: 11.34 kB / 4.101 GB, free: 73.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003534/10.67, allocations: 133.3 kB / 4.101 GB, free: 73.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007917/10.67, allocations: 194.8 kB / 4.101 GB, free: 73.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00396/10.67, allocations: 4.805 MB / 4.106 GB, free: 69.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/10.68, allocations: 191.8 kB / 4.106 GB, free: 69.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/10.68, allocations: 45.09 kB / 4.106 GB, free: 69.08 MB / 0.698 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.001193/10.68, allocations: 427.4 kB / 4.107 GB, free: 68.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004976/10.68, allocations: 145 kB / 4.107 GB, free: 68.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/10.68, allocations: 1.046 MB / 4.108 GB, free: 68.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/10.68, allocations: 6.125 kB / 4.108 GB, free: 68.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/10.68, allocations: 6.938 kB / 4.108 GB, free: 68.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001191/10.68, allocations: 0.9268 MB / 4.109 GB, free: 68.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006349/10.69, allocations: 2.365 MB / 4.111 GB, free: 68.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/10.69, allocations: 3.938 kB / 4.111 GB, free: 68.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007602/10.69, allocations: 138.6 kB / 4.111 GB, free: 68.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002918/10.69, allocations: 122.9 kB / 4.111 GB, free: 68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.084e-05/10.69, allocations: 21.8 kB / 4.111 GB, free: 68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004131/10.69, allocations: 4.777 MB / 4.116 GB, free: 64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/10.69, allocations: 7.75 kB / 4.116 GB, free: 63.99 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002571/10.69, allocations: 1.51 MB / 4.117 GB, free: 63.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/10.7, allocations: 321.4 kB / 4.118 GB, free: 63.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005384/10.7, allocations: 21.91 kB / 4.118 GB, free: 63.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/10.7, allocations: 60.08 kB / 4.118 GB, free: 63.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/10.7, allocations: 55.09 kB / 4.118 GB, free: 63.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.661e-05/10.7, allocations: 26.11 kB / 4.118 GB, free: 63.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002188/10.7, allocations: 0.8635 MB / 4.119 GB, free: 63.37 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/10.7, allocations: 3.562 kB / 4.119 GB, free: 63.37 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003713/10.7, allocations: 0.6696 MB / 4.119 GB, free: 63.32 MB / 0.698 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.00451/10.71, allocations: 2.412 MB / 4.122 GB, free: 62.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002312/10.71, allocations: 1.198 MB / 4.123 GB, free: 62.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/10.71, allocations: 0 / 4.123 GB, free: 62.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009048/10.71, allocations: 0.7319 MB / 4.124 GB, free: 61.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00565/10.72, allocations: 0.8335 MB / 4.124 GB, free: 61.69 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006138/10.72, allocations: 3.185 MB / 4.128 GB, free: 60.33 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/10.73, allocations: 1.343 MB / 4.129 GB, free: 59.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002117/10.73, allocations: 347.5 kB / 4.129 GB, free: 59.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004669/10.73, allocations: 109.9 kB / 4.129 GB, free: 59.59 MB / 0.698 GB Notification: Performance of SimCode: time 8.92e-07/10.73, allocations: 0 / 4.129 GB, free: 59.59 MB / 0.698 GB Notification: Performance of Templates: time 0.08659/10.81, allocations: 56.61 MB / 4.185 GB, free: 44.34 MB / 0.698 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)