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.001128/0.001128, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001152/0.001153, allocations: 168.7 kB / 15.95 MB, free: 200 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.66/1.66, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.613/1.613, allocations: 252 MB / 0.5102 GB, free: 4.84 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.0005132/0.0005133, allocations: 16 kB / 0.6243 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5926/0.5931, allocations: 106.3 MB / 0.7281 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.8152/1.408, allocations: 195.8 MB / 0.9194 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02449/1.433, allocations: 19.96 MB / 0.9389 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002445/1.435, allocations: 40.78 kB / 0.9389 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002437/1.438, allocations: 0.5053 MB / 0.9394 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01139/1.449, allocations: 2.972 MB / 0.9423 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003697/1.453, allocations: 0.8079 MB / 0.9431 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007856/1.461, allocations: 4.626 MB / 0.9476 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002434/1.463, allocations: 1.172 MB / 0.9487 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00438/1.468, allocations: 1.429 MB / 0.9501 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003567/1.471, allocations: 1.472 MB / 0.9516 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003824/1.472, allocations: 72.75 kB / 0.9516 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003886/1.476, allocations: 0.8894 MB / 0.9525 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009156/1.477, allocations: 0.6476 MB / 0.9532 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001151/1.478, allocations: 370 kB / 0.9535 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002722/1.48, allocations: 2.054 MB / 0.9555 GB, free: 20.89 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.481, allocations: 0 / 0.9555 GB, free: 20.89 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.864e-06/1.481, allocations: 0 / 0.9555 GB, free: 20.89 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.688e-05/1.481, allocations: 4 kB / 0.9555 GB, free: 20.88 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.002685/1.483, allocations: 1.708 MB / 0.9572 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/1.483, allocations: 11.53 kB / 0.9572 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/1.485, allocations: 382.6 kB / 0.9576 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/1.487, allocations: 1.054 MB / 0.9586 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.929e-05/1.487, allocations: 100.4 kB / 0.9587 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/1.487, allocations: 132.6 kB / 0.9588 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/1.49, allocations: 1.595 MB / 0.9604 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/1.49, allocations: 3.156 kB / 0.9604 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/1.49, allocations: 53.47 kB / 0.9604 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.793e-05/1.49, allocations: 51.88 kB / 0.9605 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/1.492, allocations: 1.282 MB / 0.9617 GB, free: 19.25 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.008039/1.5, allocations: 6.508 MB / 0.9681 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009782/1.501, allocations: 0.7738 MB / 0.9688 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005086/1.501, allocations: 429.9 kB / 0.9692 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007209/1.502, allocations: 427.7 kB / 0.9697 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/1.502, allocations: 40.66 kB / 0.9697 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=73): time 3.556e-06/1.502, allocations: 0 / 0.9697 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73): time 0.002661/1.505, allocations: 1.533 MB / 0.9712 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/1.505, allocations: 62.19 kB / 0.9712 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/1.506, allocations: 1.247 MB / 0.9725 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001419/1.507, allocations: 40.14 kB / 0.9725 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005337/1.507, allocations: 0.7002 MB / 0.9732 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002675/1.507, allocations: 261.5 kB / 0.9734 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/1.507, allocations: 19.88 kB / 0.9735 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.508, allocations: 346.6 kB / 0.9738 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/1.508, allocations: 341 kB / 0.9741 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007268/1.509, allocations: 0.6941 MB / 0.9748 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006673/1.509, allocations: 470.3 kB / 0.9752 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/1.51, allocations: 3.609 kB / 0.9752 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001823/1.511, allocations: 1.237 MB / 0.9764 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/1.511, allocations: 8 kB / 0.9765 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/1.511, allocations: 10.98 kB / 0.9765 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000297/1.512, allocations: 137.9 kB / 0.9766 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006862/1.512, allocations: 202.4 kB / 0.9768 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004293/1.517, allocations: 4.828 MB / 0.9815 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/1.519, allocations: 187.3 kB / 0.9817 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.823e-05/1.519, allocations: 42.14 kB / 0.9817 GB, free: 9.266 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.001015/1.52, allocations: 431.4 kB / 0.9821 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/1.52, allocations: 139.7 kB / 0.9823 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/1.522, allocations: 1.043 MB / 0.9833 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/1.522, allocations: 9.828 kB / 0.9833 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.522, allocations: 7.312 kB / 0.9833 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001115/1.523, allocations: 0.9213 MB / 0.9842 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003749/1.527, allocations: 2.386 MB / 0.9865 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.527, allocations: 2.844 kB / 0.9865 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006254/1.527, allocations: 135.5 kB / 0.9867 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002419/1.528, allocations: 131 kB / 0.9868 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-05/1.528, allocations: 18.38 kB / 0.9868 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004037/1.532, allocations: 4.809 MB / 0.9915 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.532, allocations: 3.344 kB / 0.9915 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/1.534, allocations: 1.522 MB / 0.993 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008574/1.535, allocations: 329.5 kB / 0.9933 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/1.535, allocations: 16.81 kB / 0.9933 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008031/1.536, allocations: 71.97 kB / 0.9934 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/1.536, allocations: 63.47 kB / 0.9935 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.496e-05/1.536, allocations: 33.66 kB / 0.9935 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00122/1.537, allocations: 0.8673 MB / 0.9943 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.537, allocations: 0 / 0.9943 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001653/1.539, allocations: 449.1 kB / 0.9948 GB, free: 2.258 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.0005736/1.54, allocations: 240 kB / 0.995 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001823/1.541, allocations: 1.188 MB / 0.9962 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.541, allocations: 7.281 kB / 0.9962 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008331/1.542, allocations: 0.7302 MB / 0.9969 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003399/1.546, allocations: 0.8435 MB / 0.9977 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0048/1.551, allocations: 3.198 MB / 1.001 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009552/1.552, allocations: 1.346 MB / 1.002 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001468/1.553, allocations: 349.7 kB / 1.002 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/1.553, allocations: 105.8 kB / 1.003 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of SimCode: time 2.515e-06/1.553, allocations: 7.062 kB / 1.003 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of Templates: time 0.05398/1.607, allocations: 28.74 MB / 1.031 GB, free: 5.754 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: