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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007549/0.0007583, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009559/0.0009563, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.0004869, allocations: 22.11 kB / 0.6737 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2429, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.6352/0.8782, allocations: 195.5 MB / 0.9782 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02135/0.8996, allocations: 19.81 MB / 0.9975 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/0.9018, allocations: 38.81 kB / 0.9976 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.9036, allocations: 0.5039 MB / 0.9981 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008483/0.9121, allocations: 2.949 MB / 1.001 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002668/0.9148, allocations: 0.7771 MB / 1.002 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005976/0.9208, allocations: 4.511 MB / 1.006 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.9223, allocations: 1.16 MB / 1.007 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002318/0.9247, allocations: 1.397 MB / 1.009 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001904/0.9266, allocations: 1.464 MB / 1.01 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.9267, allocations: 68.59 kB / 1.01 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.929, allocations: 0.8962 MB / 1.011 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005445/0.9295, allocations: 0.6433 MB / 1.012 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003388/0.9299, allocations: 360.1 kB / 1.012 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.9316, allocations: 2.023 MB / 1.014 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.9316, allocations: 0 / 1.014 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.482e-06/0.9316, allocations: 0 / 1.014 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.224e-05/0.9317, allocations: 0 / 1.014 GB, free: 7.875 MB / 0.7325 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.002315/0.934, allocations: 1.711 MB / 1.016 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.934, allocations: 9 kB / 1.016 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/0.9357, allocations: 382 kB / 1.016 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.9372, allocations: 1.04 MB / 1.017 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.397e-05/0.9373, allocations: 103.3 kB / 1.017 GB, free: 6 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/0.9375, allocations: 142.3 kB / 1.017 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.9395, allocations: 1.577 MB / 1.019 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.9395, allocations: 0 / 1.019 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.772e-05/0.9396, allocations: 56.78 kB / 1.019 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/0.9397, allocations: 50.59 kB / 1.019 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.9414, allocations: 1.274 MB / 1.02 GB, free: 5.238 MB / 0.7325 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.006802/0.9482, allocations: 6.51 MB / 1.026 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.9493, allocations: 0.7796 MB / 1.027 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006623/0.95, allocations: 430.6 kB / 1.028 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007957/0.9508, allocations: 426 kB / 1.028 GB, free: 200 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.9508, allocations: 40.34 kB / 1.028 GB, free: 160 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=73): time 3.086e-06/0.9509, allocations: 0 / 1.028 GB, free: 160 kB / 0.7325 GB Notification: Performance of matching and sorting (n=73): time 0.003155/0.954, allocations: 1.539 MB / 1.03 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.9541, allocations: 61.88 kB / 1.03 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/0.9558, allocations: 1.249 MB / 1.031 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.895e-05/0.9558, allocations: 42.27 kB / 1.031 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005747/0.9564, allocations: 0.6983 MB / 1.032 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002826/0.9567, allocations: 263.7 kB / 1.032 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.9568, allocations: 18.94 kB / 1.032 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.957, allocations: 348.7 kB / 1.032 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005449/0.9575, allocations: 345.1 kB / 1.033 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007927/0.9583, allocations: 0.7161 MB / 1.033 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006608/0.959, allocations: 475 kB / 1.034 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.959, allocations: 0 / 1.034 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001796/0.9608, allocations: 1.253 MB / 1.035 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.9609, allocations: 9.125 kB / 1.035 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.9609, allocations: 10.91 kB / 1.035 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003028/0.9612, allocations: 129.5 kB / 1.035 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006885/0.9619, allocations: 199.1 kB / 1.035 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003848/0.9658, allocations: 4.842 MB / 1.04 GB, free: 7.047 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.9673, allocations: 182.3 kB / 1.04 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-05/0.9674, allocations: 43.5 kB / 1.04 GB, free: 6.93 MB / 0.7481 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.0008452/0.9683, allocations: 428.4 kB / 1.041 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003185/0.9686, allocations: 143.5 kB / 1.041 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.9702, allocations: 1.053 MB / 1.042 GB, free: 5.93 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.9702, allocations: 8 kB / 1.042 GB, free: 5.93 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.9702, allocations: 3.953 kB / 1.042 GB, free: 5.926 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001141/0.9714, allocations: 0.9349 MB / 1.043 GB, free: 4.934 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003541/0.9749, allocations: 2.385 MB / 1.045 GB, free: 2.445 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.9749, allocations: 4 kB / 1.045 GB, free: 2.441 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006155/0.9756, allocations: 131.9 kB / 1.045 GB, free: 2.312 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002688/0.9758, allocations: 126.8 kB / 1.045 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/0.9759, allocations: 27.94 kB / 1.045 GB, free: 2.152 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003728/0.9796, allocations: 4.813 MB / 1.05 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.9797, allocations: 7.938 kB / 1.05 GB, free: 12.94 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.9818, allocations: 1.532 MB / 1.051 GB, free: 11.35 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006488/0.9825, allocations: 315.2 kB / 1.052 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.9826, allocations: 16 kB / 1.052 GB, free: 11 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007181/0.9834, allocations: 67.8 kB / 1.052 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.9835, allocations: 64.38 kB / 1.052 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/0.9835, allocations: 27.98 kB / 1.052 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001134/0.9847, allocations: 0.8663 MB / 1.053 GB, free: 9.98 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9847, allocations: 0 / 1.053 GB, free: 9.98 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001598/0.9863, allocations: 447.3 kB / 1.053 GB, free: 9.543 MB / 0.7637 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.0005181/0.9868, allocations: 224.3 kB / 1.053 GB, free: 9.328 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001696/0.9885, allocations: 1.199 MB / 1.055 GB, free: 8.09 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.9885, allocations: 0 / 1.055 GB, free: 8.09 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000768/0.9893, allocations: 0.7326 MB / 1.055 GB, free: 7.32 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003257/0.9926, allocations: 0.8409 MB / 1.056 GB, free: 6.484 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004208/0.9968, allocations: 3.197 MB / 1.059 GB, free: 3.238 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009062/0.9977, allocations: 1.351 MB / 1.061 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001253/0.999, allocations: 344.6 kB / 1.061 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.9993, allocations: 107.4 kB / 1.061 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of SimCode: time 7.32e-07/0.9993, allocations: 0 / 1.061 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of Templates: time 0.04579/1.045, allocations: 28.73 MB / 1.089 GB, free: 5.098 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1) Environment - environmentSimulation: