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.001087/0.001087, allocations: 98.39 kB / 15.98 MB, free: 6.348 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.001033/0.001033, allocations: 195.3 kB / 16.91 MB, free: 6.191 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.411/1.411, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7639/0.7639, allocations: 122.9 MB / 413.6 MB, free: 52 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 67.89 kB / 0.4906 GB, free: 7.875 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3638, allocations: 77.92 MB / 0.5667 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6545/1.018, allocations: 196.3 MB / 0.7583 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01603/1.034, allocations: 10.27 MB / 0.7684 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/1.037, allocations: 55.62 kB / 0.7684 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002041/1.039, allocations: 496.5 kB / 0.7689 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007105/1.046, allocations: 1.841 MB / 0.7707 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004958/1.051, allocations: 1.246 MB / 0.7719 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006504/1.058, allocations: 2.829 MB / 0.7747 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002359/1.06, allocations: 1.146 MB / 0.7758 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006408/1.067, allocations: 1.669 MB / 0.7774 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003008/1.07, allocations: 1.005 MB / 0.7784 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004566/1.07, allocations: 119.8 kB / 0.7785 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005454/1.075, allocations: 2.22 MB / 0.7807 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006505/1.076, allocations: 432.9 kB / 0.7811 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001273/1.077, allocations: 0.7088 MB / 0.7818 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005029/1.082, allocations: 2.588 MB / 0.7843 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.083, allocations: 0 / 0.7843 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/1.083, allocations: 3.875 kB / 0.7843 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.387e-05/1.083, allocations: 0 / 0.7843 GB, free: 1.168 MB / 0.5762 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.00298/1.086, allocations: 1.823 MB / 0.7861 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.086, allocations: 10.69 kB / 0.7861 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002148/1.088, allocations: 364.8 kB / 0.7865 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/1.089, allocations: 0.9227 MB / 0.7874 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.03e-05/1.089, allocations: 79.91 kB / 0.7874 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/1.09, allocations: 100.7 kB / 0.7875 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/1.091, allocations: 1.105 MB / 0.7886 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/1.091, allocations: 9.344 kB / 0.7886 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.373e-05/1.091, allocations: 43.03 kB / 0.7887 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/1.091, allocations: 33.72 kB / 0.7887 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/1.093, allocations: 0.8082 MB / 0.7895 GB, free: 15.55 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.006501/1.099, allocations: 5.073 MB / 0.7944 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/1.1, allocations: 0.7028 MB / 0.7951 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000493/1.101, allocations: 359.9 kB / 0.7955 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006475/1.102, allocations: 310 kB / 0.7958 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/1.102, allocations: 44.09 kB / 0.7958 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.825e-06/1.102, allocations: 2.094 kB / 0.7958 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.002166/1.104, allocations: 0.9366 MB / 0.7967 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/1.104, allocations: 64.5 kB / 0.7968 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/1.105, allocations: 0.8825 MB / 0.7976 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.712e-05/1.105, allocations: 38.83 kB / 0.7977 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/1.106, allocations: 0.5565 MB / 0.7982 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002714/1.106, allocations: 256.2 kB / 0.7985 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/1.106, allocations: 138.2 kB / 0.7986 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001912/1.106, allocations: 341.5 kB / 0.7989 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004477/1.107, allocations: 258.1 kB / 0.7992 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006211/1.107, allocations: 451.1 kB / 0.7996 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/1.109, allocations: 0.7055 MB / 0.8003 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/1.109, allocations: 2.094 kB / 0.8003 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001386/1.11, allocations: 0.839 MB / 0.8011 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.11, allocations: 8.625 kB / 0.8011 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.11, allocations: 5.562 kB / 0.8011 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/1.11, allocations: 11.97 kB / 0.8011 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/1.112, allocations: 264.2 kB / 0.8014 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/1.113, allocations: 1.498 MB / 0.8028 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/1.114, allocations: 117.6 kB / 0.803 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.691e-05/1.114, allocations: 33.34 kB / 0.803 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008743/1.115, allocations: 481.6 kB / 0.8035 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005785/1.116, allocations: 444.7 kB / 0.8039 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001007/1.117, allocations: 0.7068 MB / 0.8046 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.489e-06/1.117, allocations: 2.688 kB / 0.8046 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001396/1.118, allocations: 0.8341 MB / 0.8054 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/1.118, allocations: 9.375 kB / 0.8054 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/1.118, allocations: 2.344 kB / 0.8054 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/1.118, allocations: 12.06 kB / 0.8054 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/1.12, allocations: 266.8 kB / 0.8057 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/1.121, allocations: 1.486 MB / 0.8071 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/1.123, allocations: 105.1 kB / 0.8072 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.063e-05/1.123, allocations: 31.92 kB / 0.8072 GB, free: 7.223 MB / 0.5919 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.0002967/1.123, allocations: 234.1 kB / 0.8075 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/1.123, allocations: 113.8 kB / 0.8076 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/1.125, allocations: 0.7929 MB / 0.8083 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/1.125, allocations: 8.156 kB / 0.8084 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.125, allocations: 3.938 kB / 0.8084 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001433/1.126, allocations: 0.7097 MB / 0.8091 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003464/1.13, allocations: 1.93 MB / 0.8109 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/1.13, allocations: 2.5 kB / 0.8109 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006917/1.13, allocations: 151.5 kB / 0.8111 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003301/1.131, allocations: 34.31 kB / 0.8111 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.296e-05/1.131, allocations: 23.81 kB / 0.8111 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/1.132, allocations: 1.451 MB / 0.8126 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/1.132, allocations: 2.25 kB / 0.8126 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/1.135, allocations: 1.23 MB / 0.8138 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004607/1.135, allocations: 252.5 kB / 0.814 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/1.135, allocations: 19.52 kB / 0.814 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008113/1.136, allocations: 62.25 kB / 0.8141 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-05/1.136, allocations: 51.17 kB / 0.8141 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/1.136, allocations: 25.52 kB / 0.8142 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007548/1.137, allocations: 0.5942 MB / 0.8147 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/1.137, allocations: 4 kB / 0.8147 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001425/1.138, allocations: 0.5333 MB / 0.8153 GB, free: 4.242 MB / 0.5919 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.0004852/1.139, allocations: 211.7 kB / 0.8155 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003843/1.143, allocations: 1.287 MB / 0.8167 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/1.143, allocations: 3.75 kB / 0.8167 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007944/1.143, allocations: 445.6 kB / 0.8171 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/1.146, allocations: 0.5237 MB / 0.8177 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/1.15, allocations: 2.666 MB / 0.8203 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007129/1.151, allocations: 1.143 MB / 0.8214 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001321/1.152, allocations: 270 kB / 0.8216 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/1.152, allocations: 78.31 kB / 0.8217 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/1.152, allocations: 4 kB / 0.8217 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of Templates: time 0.03111/1.184, allocations: 17.59 MB / 0.8389 GB, free: 3.652 MB / 0.6075 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)