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.001326/0.001326, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001956/0.001956, allocations: 194.1 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.1 MB / 222 MB, free: 4.957 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.577/1.577, allocations: 251.6 MB / 0.5088 GB, free: 3.352 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.001376/0.001376, allocations: 67.91 kB / 0.6216 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5617/0.5631, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.7666/1.33, allocations: 212.7 MB / 0.9315 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02335/1.353, allocations: 21.6 MB / 0.9526 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002693/1.356, allocations: 43.72 kB / 0.9527 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00238/1.358, allocations: 0.6273 MB / 0.9533 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01243/1.371, allocations: 3.999 MB / 0.9572 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003837/1.375, allocations: 0.9915 MB / 0.9582 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007682/1.382, allocations: 5.477 MB / 0.9635 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002422/1.385, allocations: 1.34 MB / 0.9648 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003792/1.389, allocations: 1.473 MB / 0.9663 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00361/1.392, allocations: 1.616 MB / 0.9678 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002883/1.393, allocations: 87.28 kB / 0.9679 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004437/1.397, allocations: 2.028 MB / 0.9699 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008242/1.398, allocations: 0.6794 MB / 0.9706 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001303/1.399, allocations: 0.8847 MB / 0.9714 GB, free: 496 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004988/1.404, allocations: 2.947 MB / 0.9743 GB, free: 128 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.404, allocations: 4 kB / 0.9743 GB, free: 124 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/1.404, allocations: 0 / 0.9743 GB, free: 124 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.104e-05/1.404, allocations: 0 / 0.9743 GB, free: 124 kB / 0.7169 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.004482/1.409, allocations: 2.035 MB / 0.9763 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.409, allocations: 8.094 kB / 0.9763 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002208/1.411, allocations: 383.3 kB / 0.9767 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/1.413, allocations: 1.083 MB / 0.9777 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.65e-05/1.413, allocations: 108.6 kB / 0.9778 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/1.413, allocations: 133.5 kB / 0.978 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/1.416, allocations: 1.6 MB / 0.9795 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/1.416, allocations: 0 / 0.9795 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/1.416, allocations: 54.09 kB / 0.9796 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.828e-05/1.416, allocations: 53.62 kB / 0.9796 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/1.418, allocations: 1.291 MB / 0.9809 GB, free: 14.41 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.008791/1.427, allocations: 6.505 MB / 0.9872 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/1.428, allocations: 0.7782 MB / 0.988 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005737/1.429, allocations: 425.7 kB / 0.9884 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007464/1.43, allocations: 414.6 kB / 0.9888 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/1.43, allocations: 42.75 kB / 0.9888 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=73): time 2.826e-06/1.43, allocations: 0 / 0.9888 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73): time 0.003173/1.433, allocations: 1.533 MB / 0.9903 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.977e-05/1.433, allocations: 60.88 kB / 0.9904 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/1.435, allocations: 1.264 MB / 0.9916 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/1.435, allocations: 41.23 kB / 0.9917 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005363/1.435, allocations: 0.6977 MB / 0.9923 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/1.436, allocations: 267.3 kB / 0.9926 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/1.436, allocations: 192.9 kB / 0.9928 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000164/1.436, allocations: 344.2 kB / 0.9931 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005598/1.437, allocations: 347.1 kB / 0.9934 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009322/1.438, allocations: 0.7058 MB / 0.9941 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/1.439, allocations: 1.032 MB / 0.9951 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/1.439, allocations: 6.469 kB / 0.9951 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00323/1.443, allocations: 1.243 MB / 0.9964 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/1.443, allocations: 17.42 kB / 0.9964 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/1.443, allocations: 11.97 kB / 0.9964 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004689/1.443, allocations: 131.8 kB / 0.9965 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008268/1.444, allocations: 195.8 kB / 0.9967 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004877/1.449, allocations: 4.839 MB / 1.001 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/1.451, allocations: 189.2 kB / 1.002 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/1.451, allocations: 45.22 kB / 1.002 GB, free: 1.289 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0009457/1.452, allocations: 420.8 kB / 1.002 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003104/1.452, allocations: 144.2 kB / 1.002 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/1.454, allocations: 1.056 MB / 1.003 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/1.454, allocations: 9.406 kB / 1.003 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/1.454, allocations: 0 / 1.003 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001268/1.455, allocations: 0.9292 MB / 1.004 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004059/1.459, allocations: 2.392 MB / 1.006 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/1.46, allocations: 2.969 kB / 1.006 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000638/1.46, allocations: 131.1 kB / 1.007 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002993/1.46, allocations: 124.9 kB / 1.007 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.448e-05/1.461, allocations: 23.31 kB / 1.007 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004024/1.465, allocations: 4.819 MB / 1.011 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.465, allocations: 6.656 kB / 1.011 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/1.467, allocations: 1.525 MB / 1.013 GB, free: 7.82 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007417/1.468, allocations: 315.2 kB / 1.013 GB, free: 7.492 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/1.468, allocations: 23.89 kB / 1.013 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008802/1.469, allocations: 70.06 kB / 1.013 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/1.469, allocations: 55.06 kB / 1.013 GB, free: 7.352 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.828e-05/1.469, allocations: 35.98 kB / 1.013 GB, free: 7.316 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001256/1.47, allocations: 0.8739 MB / 1.014 GB, free: 6.441 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/1.47, allocations: 4 kB / 1.014 GB, free: 6.438 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00155/1.472, allocations: 447.2 kB / 1.015 GB, free: 6 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005309/1.472, allocations: 245.8 kB / 1.015 GB, free: 5.785 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001659/1.474, allocations: 1.193 MB / 1.016 GB, free: 4.59 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.474, allocations: 0 / 1.016 GB, free: 4.59 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007967/1.475, allocations: 0.7368 MB / 1.017 GB, free: 3.828 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003393/1.478, allocations: 0.836 MB / 1.018 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004239/1.482, allocations: 3.224 MB / 1.021 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009301/1.483, allocations: 1.343 MB / 1.022 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001251/1.485, allocations: 348.5 kB / 1.022 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/1.485, allocations: 107.4 kB / 1.023 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of SimCode: time 4.1e-07/1.485, allocations: 0 / 1.023 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of Templates: time 0.04858/1.533, allocations: 29.83 MB / 1.052 GB, free: 0.6055 MB / 0.7794 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.makefile (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)