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.0009827/0.0009825, allocations: 92.95 kB / 16.02 MB, free: 84 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.0009753/0.0009754, allocations: 184.4 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.398/1.398, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7399/0.7399, allocations: 123 MB / 415.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003237, allocations: 12.81 kB / 0.4933 GB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4387/0.439, allocations: 79.27 MB / 0.5707 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.2248/0.6639, allocations: 193.9 MB / 0.7601 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01557/0.6795, allocations: 10.31 MB / 0.7702 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.6811, allocations: 51.69 kB / 0.7702 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.6826, allocations: 473.1 kB / 0.7707 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005316/0.688, allocations: 1.851 MB / 0.7725 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004052/0.692, allocations: 1.237 MB / 0.7737 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005346/0.6974, allocations: 3.666 MB / 0.7773 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001968/0.6994, allocations: 0.9852 MB / 0.7782 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004825/0.7042, allocations: 1.469 MB / 0.7797 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002122/0.7064, allocations: 0.9232 MB / 0.7806 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002081/0.7066, allocations: 48 kB / 0.7806 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004441/0.711, allocations: 2.381 MB / 0.7829 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004525/0.7115, allocations: 342.7 kB / 0.7833 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008769/0.7124, allocations: 0.6425 MB / 0.7839 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004644/0.717, allocations: 2.492 MB / 0.7863 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.7171, allocations: 0 / 0.7863 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.557e-06/0.7171, allocations: 4 kB / 0.7863 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.352e-05/0.7172, allocations: 0 / 0.7863 GB, free: 15.1 MB / 0.6231 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.003488/0.7207, allocations: 1.567 MB / 0.7879 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.7207, allocations: 8.031 kB / 0.7879 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002203/0.7229, allocations: 369.8 kB / 0.7882 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/0.7247, allocations: 0.9283 MB / 0.7891 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.596e-05/0.7247, allocations: 78 kB / 0.7892 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.7249, allocations: 104 kB / 0.7893 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.7268, allocations: 1.099 MB / 0.7904 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.7268, allocations: 4 kB / 0.7904 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.727, allocations: 40 kB / 0.7904 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-05/0.727, allocations: 38 kB / 0.7905 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.7285, allocations: 0.808 MB / 0.7912 GB, free: 9.906 MB / 0.6231 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.006362/0.7349, allocations: 5.086 MB / 0.7962 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.7362, allocations: 0.6988 MB / 0.7969 GB, free: 3.754 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005806/0.7368, allocations: 346.4 kB / 0.7972 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006478/0.7375, allocations: 331.9 kB / 0.7975 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.7375, allocations: 35.59 kB / 0.7976 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.475e-06/0.7375, allocations: 7.938 kB / 0.7976 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.002046/0.7396, allocations: 0.9428 MB / 0.7985 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.7396, allocations: 59.97 kB / 0.7986 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.7407, allocations: 0.8802 MB / 0.7994 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.756e-05/0.7408, allocations: 37.7 kB / 0.7995 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/0.7412, allocations: 0.5584 MB / 0.8 GB, free: 472 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.7414, allocations: 260.3 kB / 0.8002 GB, free: 208 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.976e-05/0.7416, allocations: 61.69 kB / 0.8003 GB, free: 140 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.7417, allocations: 337.9 kB / 0.8006 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/0.7422, allocations: 245.9 kB / 0.8009 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006419/0.7428, allocations: 454.9 kB / 0.8013 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.744, allocations: 0.7132 MB / 0.802 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.7441, allocations: 0 / 0.802 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001515/0.7456, allocations: 0.8397 MB / 0.8028 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001926/0.7458, allocations: 229.1 kB / 0.803 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.7458, allocations: 8 kB / 0.803 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.7458, allocations: 8 kB / 0.803 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.7475, allocations: 251.7 kB / 0.8033 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.7489, allocations: 1.401 MB / 0.8047 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009338/0.7498, allocations: 119.2 kB / 0.8048 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.568e-05/0.7499, allocations: 36.06 kB / 0.8048 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.7499, allocations: 6.188 kB / 0.8048 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001293/0.7512, allocations: 0.71 MB / 0.8055 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.7513, allocations: 4 kB / 0.8055 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.7513, allocations: 8.625 kB / 0.8055 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.7528, allocations: 255.6 kB / 0.8058 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.7541, allocations: 1.385 MB / 0.8071 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.7552, allocations: 119.2 kB / 0.8072 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/0.7552, allocations: 31.94 kB / 0.8073 GB, free: 8.523 MB / 0.6387 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.0006055/0.7559, allocations: 375 kB / 0.8076 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.756, allocations: 110.6 kB / 0.8077 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/0.7578, allocations: 0.7902 MB / 0.8085 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.7578, allocations: 8 kB / 0.8085 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.7578, allocations: 0 / 0.8085 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001345/0.7592, allocations: 0.7117 MB / 0.8092 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003429/0.7626, allocations: 1.93 MB / 0.8111 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.026e-06/0.7626, allocations: 4 kB / 0.8111 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007699/0.7634, allocations: 139.9 kB / 0.8112 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004471/0.7639, allocations: 56.97 kB / 0.8113 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.897e-05/0.7639, allocations: 23.92 kB / 0.8113 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.7654, allocations: 1.345 MB / 0.8126 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.7654, allocations: 0 / 0.8126 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.7676, allocations: 1.234 MB / 0.8138 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004491/0.7681, allocations: 259.4 kB / 0.8141 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.7682, allocations: 16 kB / 0.8141 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006904/0.7689, allocations: 59.45 kB / 0.8141 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.784e-05/0.769, allocations: 52.38 kB / 0.8142 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-05/0.7691, allocations: 23.98 kB / 0.8142 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008839/0.77, allocations: 0.5967 MB / 0.8148 GB, free: 488 kB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.77, allocations: 0 / 0.8148 GB, free: 488 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.2876/1.058, allocations: 0.5306 MB / 0.8153 GB, free: 223.3 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.00073/1.058, allocations: 201.9 kB / 0.8155 GB, free: 223.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004268/1.063, allocations: 1.187 MB / 0.8167 GB, free: 223.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/1.063, allocations: 3.469 kB / 0.8167 GB, free: 223.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009912/1.064, allocations: 446.1 kB / 0.8171 GB, free: 223 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003263/1.067, allocations: 0.5068 MB / 0.8176 GB, free: 223 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004103/1.071, allocations: 2.754 MB / 0.8203 GB, free: 221.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007401/1.072, allocations: 1.14 MB / 0.8214 GB, free: 221 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001458/1.073, allocations: 274.6 kB / 0.8216 GB, free: 221 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/1.074, allocations: 83.03 kB / 0.8217 GB, free: 221 MB / 0.6387 GB Notification: Performance of SimCode: time 7.22e-07/1.074, allocations: 0 / 0.8217 GB, free: 221 MB / 0.6387 GB Notification: Performance of Templates: time 0.03571/1.109, allocations: 16.91 MB / 0.8382 GB, free: 216.5 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)