Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009167/0.0009166, 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.001021/0.001021, 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.585/1.585, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.586/1.586, allocations: 251.9 MB / 0.51 GB, free: 4.812 MB / 414.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.0005443/0.0005445, allocations: 12 kB / 0.6241 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.526/0.5266, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.1994/0.726, allocations: 177.3 MB / 0.9011 GB, free: 9.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.5609/1.287, allocations: 18.68 MB / 0.9194 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002421/1.289, allocations: 39.38 kB / 0.9194 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003093/1.293, allocations: 0.7726 MB / 0.9201 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0117/1.304, allocations: 2.926 MB / 0.923 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005156/1.309, allocations: 1.275 MB / 0.9242 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00573/1.315, allocations: 2.29 MB / 0.9265 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00336/1.319, allocations: 1.202 MB / 0.9277 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005692/1.324, allocations: 1.696 MB / 0.9293 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003314/1.328, allocations: 1.132 MB / 0.9304 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006428/1.328, allocations: 70.34 kB / 0.9305 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003362/1.332, allocations: 0.7915 MB / 0.9313 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001107/1.333, allocations: 0.6018 MB / 0.9318 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001352/1.334, allocations: 366.2 kB / 0.9322 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00316/1.337, allocations: 1.951 MB / 0.9341 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/1.337, allocations: 0 / 0.9341 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.263e-06/1.337, allocations: 0 / 0.9341 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001103/1.337, allocations: 0 / 0.9341 GB, free: 20.79 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.003992/1.341, allocations: 1.69 MB / 0.9358 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/1.341, allocations: 9.781 kB / 0.9358 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002493/1.344, allocations: 374.4 kB / 0.9361 GB, free: 19.76 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002604/1.347, allocations: 1.057 MB / 0.9372 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.966e-05/1.347, allocations: 99.84 kB / 0.9372 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003205/1.347, allocations: 139.4 kB / 0.9374 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/1.349, allocations: 1.577 MB / 0.9389 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/1.349, allocations: 2.906 kB / 0.9389 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/1.35, allocations: 59.02 kB / 0.939 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.863e-05/1.35, allocations: 53.27 kB / 0.939 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/1.351, allocations: 1.283 MB / 0.9403 GB, free: 19.18 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.007593/1.359, allocations: 6.501 MB / 0.9466 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/1.36, allocations: 0.7676 MB / 0.9474 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004195/1.361, allocations: 155.6 kB / 0.9475 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/1.361, allocations: 44.69 kB / 0.9476 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=73): time 3.016e-06/1.361, allocations: 6.016 kB / 0.9476 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73): time 0.002541/1.363, allocations: 1.528 MB / 0.9491 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/1.363, allocations: 59.78 kB / 0.9491 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/1.364, allocations: 1.253 MB / 0.9503 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.738e-05/1.365, allocations: 46.23 kB / 0.9504 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000404/1.365, allocations: 0.6886 MB / 0.9511 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/1.365, allocations: 267.3 kB / 0.9513 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/1.365, allocations: 15.28 kB / 0.9513 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001949/1.365, allocations: 343 kB / 0.9517 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004318/1.366, allocations: 341.7 kB / 0.952 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006162/1.366, allocations: 0.694 MB / 0.9527 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005715/1.367, allocations: 469.4 kB / 0.9531 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/1.367, allocations: 2.844 kB / 0.9531 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001602/1.369, allocations: 1.244 MB / 0.9543 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.369, allocations: 11.59 kB / 0.9543 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/1.369, allocations: 11.06 kB / 0.9544 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000309/1.369, allocations: 135.3 kB / 0.9545 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007057/1.37, allocations: 192.3 kB / 0.9547 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003842/1.374, allocations: 4.882 MB / 0.9594 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/1.375, allocations: 184.2 kB / 0.9596 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.766e-05/1.375, allocations: 49.11 kB / 0.9597 GB, free: 9.504 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.0006751/1.376, allocations: 424 kB / 0.9601 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/1.376, allocations: 146.3 kB / 0.9602 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/1.377, allocations: 1.042 MB / 0.9612 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.377, allocations: 8.562 kB / 0.9612 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/1.377, allocations: 0 / 0.9612 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001028/1.379, allocations: 0.9299 MB / 0.9621 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00331/1.382, allocations: 2.381 MB / 0.9645 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/1.382, allocations: 7.031 kB / 0.9645 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/1.382, allocations: 134 kB / 0.9646 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002205/1.383, allocations: 126.7 kB / 0.9647 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-05/1.383, allocations: 27.61 kB / 0.9647 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003653/1.386, allocations: 4.851 MB / 0.9695 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.386, allocations: 6.531 kB / 0.9695 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/1.388, allocations: 1.654 MB / 0.9711 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007889/1.389, allocations: 326.2 kB / 0.9714 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/1.389, allocations: 21.09 kB / 0.9714 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008605/1.39, allocations: 71.59 kB / 0.9715 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/1.39, allocations: 59.59 kB / 0.9716 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/1.39, allocations: 26.59 kB / 0.9716 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001157/1.392, allocations: 0.868 MB / 0.9724 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.11e-07/1.392, allocations: 2.281 kB / 0.9724 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001667/1.393, allocations: 453.1 kB / 0.9729 GB, free: 3.512 MB / 0.7325 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.0006649/1.394, allocations: 234.6 kB / 0.9731 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001991/1.396, allocations: 1.193 MB / 0.9743 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.396, allocations: 2.562 kB / 0.9743 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009637/1.397, allocations: 0.7241 MB / 0.975 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004557/1.402, allocations: 0.8309 MB / 0.9758 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005142/1.407, allocations: 3.199 MB / 0.9789 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009343/1.408, allocations: 1.385 MB / 0.9803 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001569/1.409, allocations: 341 kB / 0.9806 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/1.41, allocations: 101.6 kB / 0.9807 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of SimCode: time 8.32e-07/1.41, allocations: 0 / 0.9807 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of Templates: time 0.049/1.459, allocations: 28.73 MB / 1.009 GB, free: 12.87 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1) Environment - environmentSimulation: