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.001125/0.001125, allocations: 92.95 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 185.2 kB / 16.92 MB, free: 6.934 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.388/1.388, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6804/0.6804, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003245, allocations: 11.94 kB / 495.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1415, allocations: 77.54 MB / 0.56 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.4951/0.6366, allocations: 193.9 MB / 0.7493 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01529/0.652, allocations: 10.31 MB / 0.7594 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001848/0.6538, allocations: 51.69 kB / 0.7594 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001777/0.6556, allocations: 477.1 kB / 0.7599 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005788/0.6615, allocations: 1.828 MB / 0.7617 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003848/0.6653, allocations: 1.247 MB / 0.7629 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004876/0.6702, allocations: 3.67 MB / 0.7665 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001756/0.672, allocations: 0.9852 MB / 0.7674 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004637/0.6767, allocations: 1.459 MB / 0.7689 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002217/0.6789, allocations: 0.9234 MB / 0.7698 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001956/0.6791, allocations: 48 kB / 0.7698 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004654/0.6838, allocations: 2.385 MB / 0.7722 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004856/0.6843, allocations: 338.7 kB / 0.7725 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008945/0.6852, allocations: 0.6464 MB / 0.7731 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004186/0.6894, allocations: 2.492 MB / 0.7755 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6894, allocations: 0 / 0.7755 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.395e-06/0.6894, allocations: 0 / 0.7755 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.513e-05/0.6894, allocations: 0 / 0.7755 GB, free: 9.859 MB / 0.5919 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.002696/0.6922, allocations: 1.573 MB / 0.7771 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.6922, allocations: 8.031 kB / 0.7771 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002113/0.6943, allocations: 369.9 kB / 0.7774 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.6959, allocations: 0.9168 MB / 0.7783 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.926e-05/0.696, allocations: 81.88 kB / 0.7784 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.6961, allocations: 103.9 kB / 0.7785 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.698, allocations: 1.111 MB / 0.7796 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.698, allocations: 3.938 kB / 0.7796 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.929e-05/0.6981, allocations: 40 kB / 0.7796 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.776e-05/0.6982, allocations: 38 kB / 0.7797 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.6997, allocations: 0.8041 MB / 0.7805 GB, free: 4.668 MB / 0.5919 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.005549/0.7052, allocations: 5.082 MB / 0.7854 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.7064, allocations: 0.7076 MB / 0.7861 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005551/0.707, allocations: 350.4 kB / 0.7864 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006207/0.7076, allocations: 331.9 kB / 0.7868 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.7077, allocations: 39.12 kB / 0.7868 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 2.274e-06/0.7077, allocations: 0 / 0.7868 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.002128/0.7098, allocations: 0.9429 MB / 0.7877 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.7099, allocations: 59.97 kB / 0.7878 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.711, allocations: 0.8763 MB / 0.7886 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.276e-05/0.7111, allocations: 41.7 kB / 0.7887 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004713/0.7116, allocations: 0.5584 MB / 0.7892 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/0.7118, allocations: 248.4 kB / 0.7895 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.7119, allocations: 73.67 kB / 0.7895 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.7121, allocations: 334 kB / 0.7898 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000495/0.7126, allocations: 249.9 kB / 0.7901 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006259/0.7132, allocations: 451 kB / 0.7905 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.7144, allocations: 0.7054 MB / 0.7912 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.7144, allocations: 7.875 kB / 0.7912 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001447/0.7158, allocations: 0.8315 MB / 0.792 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001769/0.716, allocations: 237.6 kB / 0.7922 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.716, allocations: 4 kB / 0.7923 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.7161, allocations: 8 kB / 0.7923 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.7176, allocations: 251.6 kB / 0.7925 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.7191, allocations: 1.389 MB / 0.7939 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.7201, allocations: 127.2 kB / 0.794 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.7203, allocations: 32 kB / 0.794 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.719e-06/0.7203, allocations: 7.984 kB / 0.794 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001257/0.7215, allocations: 0.7101 MB / 0.7947 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.7216, allocations: 7.984 kB / 0.7947 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.7216, allocations: 8 kB / 0.7947 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.723, allocations: 256.1 kB / 0.795 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.7244, allocations: 1.389 MB / 0.7963 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.7254, allocations: 119.2 kB / 0.7964 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.333e-05/0.7255, allocations: 35.94 kB / 0.7965 GB, free: 3.289 MB / 0.6075 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.0006182/0.7261, allocations: 360.9 kB / 0.7968 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.7264, allocations: 114.6 kB / 0.7969 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.7282, allocations: 0.7941 MB / 0.7977 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/0.7282, allocations: 11.98 kB / 0.7977 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.7282, allocations: 0 / 0.7977 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001318/0.7296, allocations: 0.7039 MB / 0.7984 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003387/0.733, allocations: 1.934 MB / 0.8003 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.733, allocations: 4 kB / 0.8003 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007133/0.7337, allocations: 135.8 kB / 0.8004 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004378/0.7342, allocations: 53.03 kB / 0.8005 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.126e-05/0.7342, allocations: 12 kB / 0.8005 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.7356, allocations: 1.367 MB / 0.8018 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7356, allocations: 0 / 0.8018 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.7378, allocations: 1.226 MB / 0.803 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005113/0.7383, allocations: 251.6 kB / 0.8033 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.7385, allocations: 23.98 kB / 0.8033 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006817/0.7391, allocations: 59.8 kB / 0.8033 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.7393, allocations: 52.38 kB / 0.8034 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.685e-05/0.7393, allocations: 20 kB / 0.8034 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000872/0.7402, allocations: 0.6006 MB / 0.804 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7402, allocations: 3.938 kB / 0.804 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001648/0.7419, allocations: 0.5297 MB / 0.8045 GB, free: 10.71 MB / 0.6231 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.0004921/0.7424, allocations: 219.8 kB / 0.8047 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003589/0.746, allocations: 1.186 MB / 0.8059 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.746, allocations: 0 / 0.8059 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008163/0.7468, allocations: 454.7 kB / 0.8063 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/0.7498, allocations: 0.5047 MB / 0.8068 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004426/0.7542, allocations: 2.759 MB / 0.8095 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007521/0.755, allocations: 1.144 MB / 0.8106 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001271/0.7563, allocations: 276.8 kB / 0.8109 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.7566, allocations: 75.44 kB / 0.811 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of SimCode: time 1.042e-06/0.7566, allocations: 0 / 0.811 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of Templates: time 0.03146/0.788, allocations: 16.89 MB / 0.8274 GB, free: 3.375 MB / 0.6387 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)