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.0008434/0.0008434, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005734/0.005734, allocations: 172 kB / 16.26 MB, free: 6.613 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.621/1.621, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.669/1.669, allocations: 252 MB / 0.5105 GB, free: 4.609 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.0005676/0.0005679, allocations: 16 kB / 0.6249 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5935/0.5941, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.7324/1.327, allocations: 209.9 MB / 0.9337 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02766/1.354, allocations: 21.33 MB / 0.9545 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003494/1.358, allocations: 40.5 kB / 0.9545 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002997/1.361, allocations: 0.619 MB / 0.9552 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01474/1.376, allocations: 3.994 MB / 0.9591 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00381/1.379, allocations: 0.9946 MB / 0.96 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007626/1.387, allocations: 5.47 MB / 0.9654 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003019/1.39, allocations: 1.299 MB / 0.9666 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00408/1.394, allocations: 1.421 MB / 0.968 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004409/1.399, allocations: 1.54 MB / 0.9695 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006131/1.399, allocations: 71.47 kB / 0.9696 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005204/1.404, allocations: 2.009 MB / 0.9716 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001641/1.406, allocations: 0.6555 MB / 0.9722 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003147/1.409, allocations: 0.8711 MB / 0.973 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006831/1.416, allocations: 2.909 MB / 0.9759 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.416, allocations: 0 / 0.9759 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.234e-06/1.416, allocations: 0 / 0.9759 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001527/1.416, allocations: 0 / 0.9759 GB, free: 0.8711 MB / 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.005867/1.422, allocations: 1.7 MB / 0.9775 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.422, allocations: 8.25 kB / 0.9776 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002964/1.425, allocations: 376.8 kB / 0.9779 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003066/1.428, allocations: 1.089 MB / 0.979 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/1.429, allocations: 103.3 kB / 0.9791 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000472/1.429, allocations: 136.1 kB / 0.9792 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003947/1.433, allocations: 1.596 MB / 0.9808 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.756e-05/1.433, allocations: 5.594 kB / 0.9808 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002038/1.433, allocations: 65.08 kB / 0.9808 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.59e-05/1.433, allocations: 49.23 kB / 0.9809 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002769/1.436, allocations: 1.296 MB / 0.9821 GB, free: 15.2 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.01041/1.447, allocations: 6.511 MB / 0.9885 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/1.448, allocations: 0.7789 MB / 0.9893 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005704/1.448, allocations: 426.8 kB / 0.9897 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007049/1.449, allocations: 427.5 kB / 0.9901 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/1.449, allocations: 45.66 kB / 0.9901 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=73): time 3.316e-06/1.449, allocations: 0 / 0.9901 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73): time 0.002989/1.452, allocations: 1.534 MB / 0.9916 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/1.452, allocations: 60 kB / 0.9917 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/1.454, allocations: 1.261 MB / 0.9929 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/1.454, allocations: 44.08 kB / 0.9929 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005234/1.455, allocations: 0.7047 MB / 0.9936 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002875/1.455, allocations: 262.8 kB / 0.9939 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/1.455, allocations: 83.58 kB / 0.994 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.455, allocations: 349.5 kB / 0.9943 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000511/1.456, allocations: 343 kB / 0.9946 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007924/1.457, allocations: 0.7046 MB / 0.9953 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/1.458, allocations: 1.035 MB / 0.9963 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/1.458, allocations: 2.688 kB / 0.9963 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002177/1.46, allocations: 1.245 MB / 0.9975 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/1.46, allocations: 10.34 kB / 0.9976 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.46, allocations: 8.719 kB / 0.9976 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003076/1.461, allocations: 143.2 kB / 0.9977 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006981/1.461, allocations: 199.6 kB / 0.9979 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003921/1.465, allocations: 4.825 MB / 1.003 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/1.467, allocations: 194.5 kB / 1.003 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/1.467, allocations: 47.38 kB / 1.003 GB, free: 3.055 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.0008668/1.468, allocations: 424.2 kB / 1.003 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003552/1.468, allocations: 138.5 kB / 1.003 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/1.47, allocations: 1.049 MB / 1.004 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/1.47, allocations: 6.219 kB / 1.004 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/1.47, allocations: 0.9062 kB / 1.004 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001162/1.471, allocations: 0.9381 MB / 1.005 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00426/1.476, allocations: 2.389 MB / 1.008 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/1.476, allocations: 2.344 kB / 1.008 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006232/1.476, allocations: 134.2 kB / 1.008 GB, free: 60 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002876/1.477, allocations: 127.5 kB / 1.008 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-05/1.477, allocations: 21.11 kB / 1.008 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004195/1.481, allocations: 4.83 MB / 1.013 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.481, allocations: 2.281 kB / 1.013 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/1.483, allocations: 1.522 MB / 1.014 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009409/1.484, allocations: 319 kB / 1.014 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004198/1.485, allocations: 22.31 kB / 1.014 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/1.486, allocations: 75.17 kB / 1.015 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/1.486, allocations: 62.61 kB / 1.015 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.397e-05/1.486, allocations: 40.86 kB / 1.015 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001722/1.488, allocations: 0.8711 MB / 1.015 GB, free: 9.613 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/1.488, allocations: 4 kB / 1.015 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001966/1.49, allocations: 453.5 kB / 1.016 GB, free: 9.535 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.0006242/1.491, allocations: 229.2 kB / 1.016 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002088/1.493, allocations: 1.194 MB / 1.017 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.493, allocations: 0 / 1.017 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00094/1.494, allocations: 0.7344 MB / 1.018 GB, free: 8.164 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005197/1.499, allocations: 0.831 MB / 1.019 GB, free: 7.371 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005472/1.504, allocations: 3.303 MB / 1.022 GB, free: 4.027 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/1.506, allocations: 1.351 MB / 1.023 GB, free: 2.648 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001745/1.507, allocations: 348.5 kB / 1.024 GB, free: 2.301 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/1.508, allocations: 106 kB / 1.024 GB, free: 2.199 MB / 0.7481 GB Notification: Performance of SimCode: time 7.82e-07/1.508, allocations: 0 / 1.024 GB, free: 2.199 MB / 0.7481 GB Notification: Performance of Templates: time 0.05313/1.561, allocations: 29.66 MB / 1.053 GB, free: 5.059 MB / 0.7794 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: