Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 117.9 kB / 17.09 MB, free: 5.984 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.001264/0.001264, allocations: 189.9 kB / 18.02 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7563/0.7563, allocations: 115.3 MB / 407.2 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 66.48 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1847, allocations: 76.18 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.7241/0.9088, allocations: 198.8 MB / 0.8269 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01545/0.9243, allocations: 10.36 MB / 0.837 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00287/0.9273, allocations: 57.22 kB / 0.8371 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.9294, allocations: 0.5759 MB / 0.8376 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006729/0.9362, allocations: 1.967 MB / 0.8395 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004383/0.9406, allocations: 1.381 MB / 0.8409 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005089/0.9457, allocations: 2.83 MB / 0.8437 GB, free: 124 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00254/0.9483, allocations: 1.177 MB / 0.8448 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005764/0.9541, allocations: 1.69 MB / 0.8465 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002432/0.9565, allocations: 0.9643 MB / 0.8474 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000609/0.9571, allocations: 121.2 kB / 0.8475 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005654/0.9628, allocations: 2.147 MB / 0.8496 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009609/0.9638, allocations: 431.6 kB / 0.85 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.9657, allocations: 0.7089 MB / 0.8507 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00724/0.973, allocations: 2.52 MB / 0.8532 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.973, allocations: 0 / 0.8532 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.485e-06/0.9731, allocations: 0 / 0.8532 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001058/0.9732, allocations: 0 / 0.8532 GB, free: 10.66 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.005069/0.9782, allocations: 1.827 MB / 0.855 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.9783, allocations: 12.03 kB / 0.855 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002551/0.9809, allocations: 365.8 kB / 0.8553 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002321/0.9832, allocations: 0.9753 MB / 0.8563 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.902e-05/0.9833, allocations: 77.94 kB / 0.8564 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002436/0.9836, allocations: 104.5 kB / 0.8565 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.9858, allocations: 1.111 MB / 0.8575 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.9858, allocations: 11.94 kB / 0.8575 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.9859, allocations: 40 kB / 0.8576 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.537e-05/0.986, allocations: 38 kB / 0.8576 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.9876, allocations: 0.8041 MB / 0.8584 GB, free: 5.309 MB / 0.6075 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.006964/0.9946, allocations: 5.062 MB / 0.8633 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.9959, allocations: 0.7018 MB / 0.864 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005729/0.9965, allocations: 358 kB / 0.8644 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006695/0.9972, allocations: 319.9 kB / 0.8647 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/0.9973, allocations: 39.12 kB / 0.8647 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 3.987e-06/0.9973, allocations: 0 / 0.8647 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.002116/0.9994, allocations: 0.943 MB / 0.8656 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.9994, allocations: 59.97 kB / 0.8657 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/1.001, allocations: 0.8763 MB / 0.8666 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.931e-05/1.001, allocations: 41.7 kB / 0.8666 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004902/1.001, allocations: 0.5623 MB / 0.8671 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002907/1.002, allocations: 252.3 kB / 0.8674 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/1.002, allocations: 138.6 kB / 0.8675 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.002, allocations: 334 kB / 0.8678 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005076/1.003, allocations: 256.7 kB / 0.8681 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000633/1.003, allocations: 457.1 kB / 0.8685 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/1.004, allocations: 0.6976 MB / 0.8692 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/1.004, allocations: 3.938 kB / 0.8692 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001644/1.006, allocations: 0.8437 MB / 0.87 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/1.006, allocations: 4 kB / 0.87 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/1.006, allocations: 8.875 kB / 0.87 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/1.006, allocations: 8 kB / 0.87 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/1.008, allocations: 263.7 kB / 0.8703 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/1.009, allocations: 1.496 MB / 0.8718 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009356/1.01, allocations: 83.11 kB / 0.8718 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.277e-05/1.01, allocations: 36.09 kB / 0.8719 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008826/1.011, allocations: 474 kB / 0.8723 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006077/1.012, allocations: 451 kB / 0.8728 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001075/1.013, allocations: 0.7015 MB / 0.8734 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.777e-06/1.013, allocations: 4 kB / 0.8734 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001539/1.015, allocations: 0.8353 MB / 0.8743 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/1.015, allocations: 8 kB / 0.8743 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.015, allocations: 9.5 kB / 0.8743 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/1.015, allocations: 8 kB / 0.8743 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/1.016, allocations: 264.2 kB / 0.8745 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/1.017, allocations: 1.492 MB / 0.876 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008804/1.018, allocations: 63.5 kB / 0.876 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/1.018, allocations: 28 kB / 0.8761 GB, free: 2.137 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000275/1.019, allocations: 232 kB / 0.8763 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002801/1.019, allocations: 114.6 kB / 0.8764 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/1.021, allocations: 0.7865 MB / 0.8772 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/1.021, allocations: 8 kB / 0.8772 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/1.021, allocations: 7.938 kB / 0.8772 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001354/1.022, allocations: 0.7117 MB / 0.8779 GB, free: 232 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003595/1.026, allocations: 1.93 MB / 0.8798 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/1.026, allocations: 8.031 kB / 0.8798 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007151/1.027, allocations: 143.8 kB / 0.8799 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003387/1.027, allocations: 36.83 kB / 0.8799 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-05/1.027, allocations: 20 kB / 0.88 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/1.028, allocations: 1.454 MB / 0.8814 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.028, allocations: 3.984 kB / 0.8814 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/1.03, allocations: 1.23 MB / 0.8826 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004613/1.031, allocations: 255.5 kB / 0.8828 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/1.031, allocations: 12 kB / 0.8828 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000662/1.032, allocations: 28.73 kB / 0.8829 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.399e-05/1.032, allocations: 40.5 kB / 0.8829 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/1.032, allocations: 23.98 kB / 0.8829 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008559/1.033, allocations: 0.5967 MB / 0.8835 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4e-07/1.033, allocations: 4 kB / 0.8835 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001702/1.035, allocations: 0.5375 MB / 0.884 GB, free: 9.621 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,QSen.y,QLat.y,PI.I.y,PI1.I.y) * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005894/1.035, allocations: 214.8 kB / 0.8843 GB, free: 9.41 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003736/1.039, allocations: 1.209 MB / 0.8854 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/1.039, allocations: 3.938 kB / 0.8854 GB, free: 8.195 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008809/1.04, allocations: 458.7 kB / 0.8859 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/1.042, allocations: 0.5132 MB / 0.8864 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004408/1.047, allocations: 2.222 MB / 0.8885 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008485/1.048, allocations: 1.144 MB / 0.8897 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/1.048, allocations: 87.42 kB / 0.8897 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of SimCode: time 1.092e-06/1.048, allocations: 0 / 0.8897 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of Templates: time 0.03251/1.08, allocations: 21.53 MB / 0.9108 GB, free: 14.27 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)