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.001132/0.001132, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001134/0.001134, allocations: 197.3 kB / 16.26 MB, free: 6.621 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.532/1.532, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.732/1.732, allocations: 292.2 MB / 0.5485 GB, free: 13.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.001589/0.00159, allocations: 69.97 kB / 0.671 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3082, allocations: 114.6 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.7974/1.106, allocations: 211.9 MB / 0.9898 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02516/1.131, allocations: 21.14 MB / 1.01 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002649/1.134, allocations: 47.62 kB / 1.01 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002269/1.136, allocations: 0.634 MB / 1.011 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0101/1.146, allocations: 3.989 MB / 1.015 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002637/1.149, allocations: 0.9672 MB / 1.016 GB, free: 412 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004975/1.154, allocations: 3.879 MB / 1.02 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002209/1.156, allocations: 1.512 MB / 1.021 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/1.159, allocations: 1.635 MB / 1.023 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003323/1.162, allocations: 1.641 MB / 1.024 GB, free: 13 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003206/1.163, allocations: 162.5 kB / 1.025 GB, free: 13 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003829/1.167, allocations: 1.846 MB / 1.026 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0009212/1.167, allocations: 0.7493 MB / 1.027 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001289/1.169, allocations: 0.9475 MB / 1.028 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004286/1.173, allocations: 2.987 MB / 1.031 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/1.173, allocations: 2.812 kB / 1.031 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.443e-06/1.173, allocations: 0 / 1.031 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.113e-05/1.173, allocations: 0 / 1.031 GB, free: 9.492 MB / 0.7481 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.003081/1.176, allocations: 2.024 MB / 1.033 GB, free: 8.027 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/1.176, allocations: 10.97 kB / 1.033 GB, free: 8.027 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/1.178, allocations: 382.3 kB / 1.033 GB, free: 7.852 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/1.18, allocations: 1.082 MB / 1.034 GB, free: 7.078 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.335e-05/1.18, allocations: 100.9 kB / 1.034 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/1.18, allocations: 137 kB / 1.035 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/1.183, allocations: 1.587 MB / 1.036 GB, free: 6.004 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/1.183, allocations: 7.125 kB / 1.036 GB, free: 6 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/1.183, allocations: 53.25 kB / 1.036 GB, free: 5.961 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.348e-05/1.183, allocations: 51.12 kB / 1.036 GB, free: 5.953 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/1.185, allocations: 1.282 MB / 1.037 GB, free: 5.324 MB / 0.7481 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.00804/1.193, allocations: 6.499 MB / 1.044 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/1.194, allocations: 0.7921 MB / 1.045 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005466/1.195, allocations: 429 kB / 1.045 GB, free: 15.31 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007019/1.195, allocations: 411.8 kB / 1.045 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/1.195, allocations: 41.91 kB / 1.045 GB, free: 14.85 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=73): time 2.425e-06/1.195, allocations: 4 kB / 1.045 GB, free: 14.85 MB / 0.7637 GB Notification: Performance of matching and sorting (n=73): time 0.002892/1.198, allocations: 1.539 MB / 1.047 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/1.198, allocations: 59.34 kB / 1.047 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/1.2, allocations: 1.266 MB / 1.048 GB, free: 13.17 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/1.2, allocations: 38.95 kB / 1.048 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004883/1.201, allocations: 0.6969 MB / 1.049 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/1.201, allocations: 265.5 kB / 1.049 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002812/1.201, allocations: 198.8 kB / 1.049 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.201, allocations: 348 kB / 1.05 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005164/1.202, allocations: 350.1 kB / 1.05 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008068/1.203, allocations: 0.716 MB / 1.051 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/1.204, allocations: 1.052 MB / 1.052 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/1.204, allocations: 4.094 kB / 1.052 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002223/1.206, allocations: 1.258 MB / 1.053 GB, free: 9.438 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/1.206, allocations: 15.09 kB / 1.053 GB, free: 9.426 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/1.206, allocations: 8 kB / 1.053 GB, free: 9.418 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003243/1.207, allocations: 142.5 kB / 1.053 GB, free: 9.27 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007291/1.208, allocations: 199.7 kB / 1.053 GB, free: 9.074 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004479/1.212, allocations: 5.381 MB / 1.059 GB, free: 3.281 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/1.214, allocations: 182.5 kB / 1.059 GB, free: 3.102 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-05/1.214, allocations: 44 kB / 1.059 GB, free: 3.059 MB / 0.7637 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.0007153/1.215, allocations: 429.3 kB / 1.059 GB, free: 2.629 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/1.215, allocations: 142.2 kB / 1.059 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/1.216, allocations: 1.06 MB / 1.06 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/1.216, allocations: 8 kB / 1.06 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/1.216, allocations: 0 / 1.06 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001195/1.218, allocations: 0.9389 MB / 1.061 GB, free: 400 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003724/1.221, allocations: 2.387 MB / 1.064 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/1.221, allocations: 4 kB / 1.064 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000659/1.222, allocations: 131.9 kB / 1.064 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002572/1.222, allocations: 130.7 kB / 1.064 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.178e-05/1.222, allocations: 20 kB / 1.064 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004213/1.227, allocations: 5.368 MB / 1.069 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/1.227, allocations: 1.094 kB / 1.069 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/1.229, allocations: 1.54 MB / 1.071 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006357/1.229, allocations: 315.3 kB / 1.071 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/1.23, allocations: 16 kB / 1.071 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008415/1.23, allocations: 70.61 kB / 1.071 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/1.231, allocations: 60.38 kB / 1.071 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/1.231, allocations: 31.98 kB / 1.071 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00113/1.232, allocations: 0.8741 MB / 1.072 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.613e-06/1.232, allocations: 0 / 1.072 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001436/1.233, allocations: 447.2 kB / 1.072 GB, free: 4.43 MB / 0.7794 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.0004815/1.234, allocations: 230.8 kB / 1.073 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00202/1.236, allocations: 1.374 MB / 1.074 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.236, allocations: 4 kB / 1.074 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008358/1.237, allocations: 0.7412 MB / 1.075 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003465/1.24, allocations: 0.8778 MB / 1.076 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004064/1.244, allocations: 3.217 MB / 1.079 GB, free: 13.89 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008391/1.245, allocations: 1.343 MB / 1.08 GB, free: 12.52 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001199/1.246, allocations: 344.5 kB / 1.08 GB, free: 12.18 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/1.246, allocations: 107.4 kB / 1.081 GB, free: 12.07 MB / 0.795 GB Notification: Performance of SimCode: time 9.01e-07/1.247, allocations: 0 / 1.081 GB, free: 12.07 MB / 0.795 GB Notification: Performance of Templates: time 0.0477/1.294, allocations: 30.94 MB / 1.111 GB, free: 13.63 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.makefile (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)