Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001504/0.001504, allocations: 111.1 kB / 16.37 MB, free: 6.012 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.001504/0.001504, allocations: 190.1 kB / 17.31 MB, free: 5.613 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7839/0.7839, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.396, allocations: 80.18 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6076/1.004, allocations: 198.8 MB / 0.7757 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01326/1.017, allocations: 10.36 MB / 0.7858 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00207/1.019, allocations: 60.28 kB / 0.7858 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001782/1.021, allocations: 0.5696 MB / 0.7864 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00828/1.029, allocations: 1.974 MB / 0.7883 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004479/1.034, allocations: 1.385 MB / 0.7897 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004324/1.038, allocations: 2.809 MB / 0.7924 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/1.04, allocations: 1.167 MB / 0.7936 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004248/1.044, allocations: 1.676 MB / 0.7952 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001781/1.046, allocations: 0.961 MB / 0.7961 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002393/1.046, allocations: 116.9 kB / 0.7962 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003928/1.05, allocations: 2.147 MB / 0.7983 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005199/1.051, allocations: 427.7 kB / 0.7988 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009237/1.052, allocations: 0.708 MB / 0.7994 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004546/1.056, allocations: 2.521 MB / 0.8019 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/1.056, allocations: 2.188 kB / 0.8019 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.924e-06/1.056, allocations: 0.9375 kB / 0.8019 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.857e-05/1.056, allocations: 0 / 0.8019 GB, free: 0.5781 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.002924/1.059, allocations: 1.817 MB / 0.8037 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/1.059, allocations: 7.438 kB / 0.8037 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/1.061, allocations: 366 kB / 0.804 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/1.063, allocations: 0.9756 MB / 0.805 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.041e-05/1.064, allocations: 79.59 kB / 0.8051 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/1.064, allocations: 101.6 kB / 0.8052 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/1.066, allocations: 1.107 MB / 0.8062 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/1.066, allocations: 0 / 0.8062 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.969e-05/1.066, allocations: 45.75 kB / 0.8063 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.698e-05/1.066, allocations: 37.3 kB / 0.8063 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/1.067, allocations: 0.8055 MB / 0.8071 GB, free: 14.97 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.006686/1.074, allocations: 5.069 MB / 0.8121 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/1.075, allocations: 0.7025 MB / 0.8127 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/1.076, allocations: 354.5 kB / 0.8131 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006027/1.076, allocations: 312.9 kB / 0.8134 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/1.077, allocations: 45.81 kB / 0.8134 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 3.246e-06/1.077, allocations: 0 / 0.8134 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.001939/1.078, allocations: 0.9394 MB / 0.8143 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/1.079, allocations: 56.78 kB / 0.8144 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/1.08, allocations: 0.881 MB / 0.8153 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-05/1.08, allocations: 38.83 kB / 0.8153 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004913/1.08, allocations: 0.553 MB / 0.8158 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/1.08, allocations: 256.4 kB / 0.8161 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/1.081, allocations: 143.6 kB / 0.8162 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.081, allocations: 331.8 kB / 0.8165 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004139/1.081, allocations: 257.2 kB / 0.8168 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/1.082, allocations: 450.1 kB / 0.8172 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009926/1.083, allocations: 0.7112 MB / 0.8179 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.083, allocations: 0.9375 kB / 0.8179 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001294/1.084, allocations: 0.8378 MB / 0.8187 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/1.084, allocations: 8.094 kB / 0.8187 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/1.084, allocations: 9.922 kB / 0.8187 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/1.084, allocations: 12.64 kB / 0.8188 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/1.086, allocations: 267.1 kB / 0.819 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/1.087, allocations: 1.492 MB / 0.8205 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007818/1.088, allocations: 82.42 kB / 0.8205 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.209e-05/1.088, allocations: 30.5 kB / 0.8206 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000747/1.089, allocations: 483.4 kB / 0.821 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005351/1.089, allocations: 454.2 kB / 0.8215 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009181/1.09, allocations: 0.6974 MB / 0.8221 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-06/1.09, allocations: 2.094 kB / 0.8221 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001312/1.092, allocations: 0.834 MB / 0.823 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/1.092, allocations: 10.25 kB / 0.823 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/1.092, allocations: 4.781 kB / 0.823 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/1.092, allocations: 8.5 kB / 0.823 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/1.093, allocations: 264.5 kB / 0.8232 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/1.094, allocations: 1.49 MB / 0.8247 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009545/1.095, allocations: 66.67 kB / 0.8248 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.778e-05/1.096, allocations: 30.98 kB / 0.8248 GB, free: 6.414 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.000335/1.096, allocations: 236.4 kB / 0.825 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/1.096, allocations: 110.3 kB / 0.8251 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/1.098, allocations: 0.7946 MB / 0.8259 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/1.098, allocations: 8.688 kB / 0.8259 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/1.098, allocations: 4 kB / 0.8259 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001234/1.099, allocations: 0.7052 MB / 0.8266 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003368/1.103, allocations: 1.929 MB / 0.8285 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.103, allocations: 2.719 kB / 0.8285 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006961/1.103, allocations: 150 kB / 0.8286 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003344/1.104, allocations: 45.31 kB / 0.8287 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/1.104, allocations: 17.67 kB / 0.8287 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/1.105, allocations: 1.448 MB / 0.8301 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.105, allocations: 2.969 kB / 0.8301 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/1.107, allocations: 1.254 MB / 0.8313 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004693/1.108, allocations: 258.9 kB / 0.8316 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/1.108, allocations: 14.81 kB / 0.8316 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005394/1.109, allocations: 27.58 kB / 0.8316 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/1.109, allocations: 43.41 kB / 0.8317 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.222e-05/1.109, allocations: 28.89 kB / 0.8317 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007822/1.109, allocations: 0.5986 MB / 0.8323 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/1.109, allocations: 4 kB / 0.8323 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001365/1.111, allocations: 0.5361 MB / 0.8328 GB, free: 1.336 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.U,vol1.dynBal.m,vol1.dynBal.mXi[1],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.0004768/1.111, allocations: 212.4 kB / 0.833 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00343/1.115, allocations: 1.211 MB / 0.8342 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.115, allocations: 0 / 0.8342 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007429/1.116, allocations: 450.1 kB / 0.8346 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/1.118, allocations: 0.5182 MB / 0.8351 GB, free: 232 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/1.121, allocations: 2.171 MB / 0.8372 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006613/1.122, allocations: 1.147 MB / 0.8384 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009147/1.123, allocations: 280.8 kB / 0.8386 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/1.123, allocations: 75.44 kB / 0.8387 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of SimCode: time 6.61e-07/1.123, allocations: 0 / 0.8387 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.03335/1.156, allocations: 17.67 MB / 0.8559 GB, free: 11.14 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)