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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4495/0.4495, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 349.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 103.6 kB / 420 MB, free: 8.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 51.91 kB / 0.4891 GB, free: 7.707 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3404, allocations: 70.06 MB / 0.5575 GB, free: 44.74 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.5443/0.8848, allocations: 196.6 MB / 0.7494 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01384/0.8987, allocations: 10.45 MB / 0.7596 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002371/0.9011, allocations: 52.22 kB / 0.7597 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.9027, allocations: 474.5 kB / 0.7601 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.005396/0.9082, allocations: 1.832 MB / 0.7619 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00354/0.9117, allocations: 1.238 MB / 0.7631 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005264/0.917, allocations: 3.683 MB / 0.7667 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001804/0.9188, allocations: 1.022 MB / 0.7677 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005411/0.9243, allocations: 1.528 MB / 0.7692 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002411/0.9267, allocations: 0.9783 MB / 0.7702 GB, free: 384 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002449/0.927, allocations: 67.75 kB / 0.7703 GB, free: 380 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004931/0.9319, allocations: 2.398 MB / 0.7726 GB, free: 352 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005829/0.9325, allocations: 376.8 kB / 0.773 GB, free: 292 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.9336, allocations: 0.649 MB / 0.7736 GB, free: 72 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00454/0.9381, allocations: 2.543 MB / 0.7761 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.9382, allocations: 0 / 0.7761 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9382, allocations: 2.531 kB / 0.7761 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.262e-05/0.9382, allocations: 0 / 0.7761 GB, free: 15.74 MB / 0.5261 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.003281/0.9415, allocations: 1.814 MB / 0.7778 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.9415, allocations: 8.781 kB / 0.7779 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/0.9436, allocations: 372.3 kB / 0.7782 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.9454, allocations: 0.9176 MB / 0.7791 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.136e-05/0.9454, allocations: 78.06 kB / 0.7792 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.9456, allocations: 105.1 kB / 0.7793 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.9473, allocations: 1.099 MB / 0.7804 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.9473, allocations: 4.625 kB / 0.7804 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.261e-05/0.9474, allocations: 49.03 kB / 0.7804 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.393e-05/0.9475, allocations: 40.47 kB / 0.7804 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.9488, allocations: 0.8046 MB / 0.7812 GB, free: 13.64 MB / 0.5261 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.006513/0.9554, allocations: 5.074 MB / 0.7862 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.9568, allocations: 0.7 MB / 0.7869 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005541/0.9573, allocations: 349.2 kB / 0.7872 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006195/0.958, allocations: 317.1 kB / 0.7875 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.958, allocations: 41.75 kB / 0.7875 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 2.805e-06/0.958, allocations: 2.625 kB / 0.7875 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70): time 0.001927/0.96, allocations: 0.9453 MB / 0.7885 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.96, allocations: 62.19 kB / 0.7885 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.9611, allocations: 0.8781 MB / 0.7894 GB, free: 7.426 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.42e-05/0.9611, allocations: 41.64 kB / 0.7894 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/0.9616, allocations: 0.5569 MB / 0.79 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/0.9618, allocations: 249.5 kB / 0.7902 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.962, allocations: 139.2 kB / 0.7903 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.9621, allocations: 339 kB / 0.7907 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/0.9626, allocations: 266 kB / 0.7909 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005687/0.9632, allocations: 444.1 kB / 0.7913 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.9643, allocations: 0.7069 MB / 0.792 GB, free: 5.305 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.9644, allocations: 0 / 0.792 GB, free: 5.305 MB / 0.5261 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001444/0.9658, allocations: 0.8397 MB / 0.7928 GB, free: 4.484 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.9658, allocations: 4 kB / 0.7929 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.9659, allocations: 8.625 kB / 0.7929 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.9659, allocations: 15.94 kB / 0.7929 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/0.9675, allocations: 264.2 kB / 0.7931 GB, free: 4.211 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.9688, allocations: 1.4 MB / 0.7945 GB, free: 2.688 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.9698, allocations: 119.2 kB / 0.7946 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.406e-05/0.9699, allocations: 28 kB / 0.7946 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000965/0.9709, allocations: 484.6 kB / 0.7951 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005751/0.9714, allocations: 445.5 kB / 0.7955 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001011/0.9725, allocations: 0.7036 MB / 0.7962 GB, free: 0.8125 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.9725, allocations: 4 kB / 0.7962 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.00144/0.9739, allocations: 0.8337 MB / 0.797 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.9739, allocations: 11.94 kB / 0.797 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.974, allocations: 6.625 kB / 0.797 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.974, allocations: 8 kB / 0.7971 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/0.9755, allocations: 262.1 kB / 0.7973 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.9767, allocations: 1.388 MB / 0.7987 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.9777, allocations: 107.5 kB / 0.7988 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.98e-05/0.9778, allocations: 35.98 kB / 0.7988 GB, free: 14.07 MB / 0.5417 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.0002554/0.9781, allocations: 232.9 kB / 0.799 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.9783, allocations: 106.7 kB / 0.7991 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.9801, allocations: 0.7952 MB / 0.7999 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.9801, allocations: 11.94 kB / 0.7999 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.9801, allocations: 0 / 0.7999 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001266/0.9814, allocations: 0.7143 MB / 0.8006 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003459/0.9848, allocations: 1.932 MB / 0.8025 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.9848, allocations: 0 / 0.8025 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000697/0.9856, allocations: 143.5 kB / 0.8026 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004318/0.986, allocations: 41.05 kB / 0.8027 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.656e-05/0.9861, allocations: 27.92 kB / 0.8027 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.9873, allocations: 1.346 MB / 0.804 GB, free: 8.523 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.9873, allocations: 8 kB / 0.804 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01778/1.005, allocations: 7.826 MB / 0.8117 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004767/1.006, allocations: 259.5 kB / 0.8119 GB, free: 260 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/1.006, allocations: 16 kB / 0.8119 GB, free: 244 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006398/1.006, allocations: 59.8 kB / 0.812 GB, free: 184 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/1.007, allocations: 58.97 kB / 0.812 GB, free: 124 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.817e-05/1.007, allocations: 20 kB / 0.8121 GB, free: 104 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008612/1.007, allocations: 0.5973 MB / 0.8126 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.21e-07/1.007, allocations: 0 / 0.8126 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003088/1.011, allocations: 0.8421 MB / 0.8135 GB, free: 14.65 MB / 0.5573 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.0005518/1.011, allocations: 232.6 kB / 0.8137 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003618/1.015, allocations: 1.207 MB / 0.8149 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.015, allocations: 4.188 kB / 0.8149 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007643/1.016, allocations: 441.2 kB / 0.8153 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/1.018, allocations: 0.5005 MB / 0.8158 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004232/1.022, allocations: 3.093 MB / 0.8188 GB, free: 9.203 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006495/1.023, allocations: 1.166 MB / 0.8199 GB, free: 8.008 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001173/1.024, allocations: 300.9 kB / 0.8202 GB, free: 7.711 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000298/1.025, allocations: 91.42 kB / 0.8203 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of SimCode: time 7.42e-07/1.025, allocations: 0 / 0.8203 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of Templates: time 0.03357/1.058, allocations: 20.67 MB / 0.8405 GB, free: 3.223 MB / 0.573 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)