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.0008884/0.0008884, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009961/0.0009963, allocations: 177.3 kB / 15.94 MB, free: 228 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.408/1.408, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.612/1.612, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.000534/0.000534, allocations: 14.19 kB / 0.6735 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2503, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.5985/0.8489, allocations: 177 MB / 0.96 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02471/0.8737, allocations: 18.55 MB / 0.9781 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002591/0.8763, allocations: 38 kB / 0.9781 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002845/0.8792, allocations: 0.764 MB / 0.9789 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01094/0.8901, allocations: 2.891 MB / 0.9817 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003758/0.8939, allocations: 1.206 MB / 0.9829 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004504/0.8984, allocations: 2.234 MB / 0.985 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001738/0.9002, allocations: 1.191 MB / 0.9862 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00455/0.9047, allocations: 1.661 MB / 0.9878 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002612/0.9074, allocations: 1.117 MB / 0.9889 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002172/0.9076, allocations: 75.03 kB / 0.989 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002569/0.9102, allocations: 0.7927 MB / 0.9898 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005349/0.9107, allocations: 0.5881 MB / 0.9903 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009051/0.9116, allocations: 357 kB / 0.9907 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.9137, allocations: 1.922 MB / 0.9925 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.9137, allocations: 0 / 0.9925 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9137, allocations: 3.938 kB / 0.9926 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.934e-05/0.9138, allocations: 0 / 0.9926 GB, free: 18.56 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.002576/0.9163, allocations: 1.686 MB / 0.9942 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.9164, allocations: 7.875 kB / 0.9942 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/0.9182, allocations: 375.5 kB / 0.9946 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/0.92, allocations: 1.051 MB / 0.9956 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-05/0.9201, allocations: 98.31 kB / 0.9957 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.9203, allocations: 140.7 kB / 0.9958 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.9225, allocations: 1.573 MB / 0.9974 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.9226, allocations: 0 / 0.9974 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.9227, allocations: 53.19 kB / 0.9974 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.343e-05/0.9227, allocations: 50.38 kB / 0.9975 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.9245, allocations: 1.274 MB / 0.9987 GB, free: 16 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.007618/0.9321, allocations: 6.493 MB / 1.005 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.9332, allocations: 0.7905 MB / 1.006 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004208/0.9336, allocations: 158.2 kB / 1.006 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.9337, allocations: 43.66 kB / 1.006 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=73): time 2.765e-06/0.9337, allocations: 0 / 1.006 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73): time 0.002765/0.9365, allocations: 1.538 MB / 1.008 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.9365, allocations: 57.91 kB / 1.008 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.9379, allocations: 1.253 MB / 1.009 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.447e-05/0.938, allocations: 41.95 kB / 1.009 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005395/0.9386, allocations: 0.6943 MB / 1.009 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/0.9388, allocations: 267 kB / 1.01 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.9389, allocations: 20.06 kB / 1.01 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.9391, allocations: 344 kB / 1.01 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005014/0.9396, allocations: 349.6 kB / 1.01 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007714/0.9403, allocations: 0.7098 MB / 1.011 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006269/0.941, allocations: 470.7 kB / 1.012 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.941, allocations: 7.016 kB / 1.012 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001817/0.9428, allocations: 1.249 MB / 1.013 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.9428, allocations: 8.938 kB / 1.013 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.9429, allocations: 11.38 kB / 1.013 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003068/0.9432, allocations: 136.5 kB / 1.013 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007484/0.9439, allocations: 195.9 kB / 1.013 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004011/0.948, allocations: 4.875 MB / 1.018 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.9497, allocations: 180.5 kB / 1.018 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.9498, allocations: 54.91 kB / 1.018 GB, free: 4.125 MB / 0.7325 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.0009187/0.9508, allocations: 418 kB / 1.019 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003529/0.9511, allocations: 143.6 kB / 1.019 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.9529, allocations: 1.05 MB / 1.02 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.9529, allocations: 12.03 kB / 1.02 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.9529, allocations: 5.859 kB / 1.02 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001184/0.9541, allocations: 0.9331 MB / 1.021 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003977/0.9581, allocations: 2.395 MB / 1.023 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.9581, allocations: 2.406 kB / 1.023 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/0.9588, allocations: 132.2 kB / 1.023 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002293/0.959, allocations: 120.6 kB / 1.023 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.146e-05/0.9591, allocations: 23.17 kB / 1.023 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003808/0.9629, allocations: 4.86 MB / 1.028 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.9629, allocations: 2.812 kB / 1.028 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/0.9651, allocations: 1.672 MB / 1.03 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006926/0.9658, allocations: 320.4 kB / 1.03 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.966, allocations: 16.03 kB / 1.03 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008264/0.9668, allocations: 72.11 kB / 1.03 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.9669, allocations: 58.2 kB / 1.03 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/0.967, allocations: 25.23 kB / 1.03 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001145/0.9681, allocations: 0.8639 MB / 1.031 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9682, allocations: 2.844 kB / 1.031 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001525/0.9697, allocations: 437 kB / 1.031 GB, free: 11.02 MB / 0.7481 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.0005188/0.9702, allocations: 243.3 kB / 1.032 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.9719, allocations: 1.195 MB / 1.033 GB, free: 9.586 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.9719, allocations: 4 kB / 1.033 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008078/0.9727, allocations: 0.7315 MB / 1.033 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003426/0.9762, allocations: 0.8322 MB / 1.034 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004425/0.9806, allocations: 3.195 MB / 1.037 GB, free: 4.77 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009441/0.9816, allocations: 1.367 MB / 1.039 GB, free: 3.375 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001267/0.9829, allocations: 352.6 kB / 1.039 GB, free: 3.023 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.9831, allocations: 111.4 kB / 1.039 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of SimCode: time 4.61e-07/0.9831, allocations: 0 / 1.039 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of Templates: time 0.04936/1.033, allocations: 28.72 MB / 1.067 GB, free: 6.688 MB / 0.7794 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: