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.001133/0.001133, allocations: 106 kB / 16.27 MB, free: 5.969 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.001135/0.001135, allocations: 191.4 kB / 17.2 MB, free: 5.594 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.387/1.387, allocations: 222.9 MB / 240.9 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.8953/0.8953, allocations: 132.2 MB / 423.3 MB, free: 6.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 67.89 kB / 0.5024 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.45/0.4516, allocations: 80.19 MB / 0.5807 GB, free: 27.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.5889/1.041, allocations: 198.8 MB / 0.7749 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01585/1.056, allocations: 10.36 MB / 0.785 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002483/1.059, allocations: 57.16 kB / 0.7851 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001678/1.061, allocations: 0.5748 MB / 0.7856 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006002/1.067, allocations: 1.974 MB / 0.7876 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003994/1.071, allocations: 1.371 MB / 0.7889 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00426/1.075, allocations: 2.811 MB / 0.7917 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/1.077, allocations: 1.167 MB / 0.7928 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004749/1.082, allocations: 1.66 MB / 0.7944 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001975/1.084, allocations: 0.9647 MB / 0.7954 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002349/1.084, allocations: 121.2 kB / 0.7955 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004959/1.089, allocations: 2.152 MB / 0.7976 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005826/1.09, allocations: 424.7 kB / 0.798 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009885/1.091, allocations: 0.7102 MB / 0.7987 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004792/1.095, allocations: 2.474 MB / 0.8011 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.095, allocations: 0.9688 kB / 0.8011 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.482e-06/1.095, allocations: 5.781 kB / 0.8011 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.313e-05/1.095, allocations: 1 kB / 0.8011 GB, free: 0.5703 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.003142/1.099, allocations: 1.815 MB / 0.8029 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/1.099, allocations: 14.81 kB / 0.8029 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/1.101, allocations: 366.5 kB / 0.8032 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/1.102, allocations: 0.9186 MB / 0.8041 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.4e-05/1.103, allocations: 75.16 kB / 0.8042 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/1.103, allocations: 103.8 kB / 0.8043 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/1.104, allocations: 1.103 MB / 0.8054 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/1.104, allocations: 3.094 kB / 0.8054 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.284e-05/1.105, allocations: 42.66 kB / 0.8054 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.266e-05/1.105, allocations: 41.75 kB / 0.8055 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/1.106, allocations: 0.7995 MB / 0.8062 GB, free: 14.96 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.006632/1.113, allocations: 5.109 MB / 0.8112 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/1.114, allocations: 0.7025 MB / 0.8119 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000542/1.115, allocations: 354.2 kB / 0.8122 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006557/1.115, allocations: 311.2 kB / 0.8125 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/1.115, allocations: 49.12 kB / 0.8126 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 3.317e-06/1.115, allocations: 1 kB / 0.8126 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.002014/1.117, allocations: 0.9361 MB / 0.8135 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/1.117, allocations: 58.97 kB / 0.8136 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/1.118, allocations: 0.8795 MB / 0.8144 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-05/1.119, allocations: 43.3 kB / 0.8145 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000462/1.119, allocations: 0.5527 MB / 0.815 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/1.119, allocations: 252.6 kB / 0.8152 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/1.119, allocations: 138.5 kB / 0.8154 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.12, allocations: 337 kB / 0.8157 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004572/1.12, allocations: 258 kB / 0.8159 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006119/1.121, allocations: 448.7 kB / 0.8164 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/1.122, allocations: 0.7073 MB / 0.8171 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/1.122, allocations: 1.812 kB / 0.8171 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001412/1.123, allocations: 0.8353 MB / 0.8179 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/1.123, allocations: 8.016 kB / 0.8179 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/1.123, allocations: 9.672 kB / 0.8179 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/1.123, allocations: 8.781 kB / 0.8179 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.125, allocations: 268.1 kB / 0.8182 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/1.127, allocations: 1.489 MB / 0.8196 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008484/1.127, allocations: 85.3 kB / 0.8197 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.84e-05/1.128, allocations: 33.42 kB / 0.8197 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008586/1.128, allocations: 476.4 kB / 0.8202 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006095/1.129, allocations: 454.8 kB / 0.8206 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001138/1.13, allocations: 0.7024 MB / 0.8213 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.887e-06/1.13, allocations: 2.281 kB / 0.8213 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001482/1.132, allocations: 0.8398 MB / 0.8221 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/1.132, allocations: 11.06 kB / 0.8221 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.132, allocations: 3 kB / 0.8221 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.886e-06/1.132, allocations: 8.469 kB / 0.8221 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/1.133, allocations: 258.7 kB / 0.8224 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/1.135, allocations: 1.489 MB / 0.8238 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008182/1.136, allocations: 67.73 kB / 0.8239 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/1.136, allocations: 37.44 kB / 0.8239 GB, free: 6.469 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.0002791/1.136, allocations: 230.5 kB / 0.8242 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/1.136, allocations: 107.9 kB / 0.8243 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/1.138, allocations: 0.791 MB / 0.825 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/1.138, allocations: 7.938 kB / 0.8251 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/1.138, allocations: 0 / 0.8251 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001375/1.14, allocations: 0.7117 MB / 0.8257 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003673/1.143, allocations: 1.939 MB / 0.8276 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/1.143, allocations: 2.406 kB / 0.8276 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007174/1.144, allocations: 145.9 kB / 0.8278 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003429/1.144, allocations: 40.8 kB / 0.8278 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.447e-05/1.144, allocations: 16.53 kB / 0.8278 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/1.146, allocations: 1.45 MB / 0.8293 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.146, allocations: 5.781 kB / 0.8293 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/1.148, allocations: 1.254 MB / 0.8305 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005376/1.149, allocations: 253.6 kB / 0.8307 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/1.149, allocations: 23.64 kB / 0.8307 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006929/1.15, allocations: 20.45 kB / 0.8308 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.759e-05/1.15, allocations: 49.56 kB / 0.8308 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/1.15, allocations: 20.22 kB / 0.8308 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009755/1.151, allocations: 0.6065 MB / 0.8314 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/1.151, allocations: 0 / 0.8314 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001749/1.153, allocations: 0.5309 MB / 0.8319 GB, free: 1.5 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.0005626/1.153, allocations: 222.6 kB / 0.8322 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004159/1.157, allocations: 1.275 MB / 0.8334 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.157, allocations: 0 / 0.8334 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008443/1.158, allocations: 450.8 kB / 0.8338 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/1.161, allocations: 0.5255 MB / 0.8343 GB, free: 380 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004657/1.166, allocations: 2.255 MB / 0.8365 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/1.167, allocations: 1.144 MB / 0.8377 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/1.167, allocations: 83.42 kB / 0.8377 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of SimCode: time 7.81e-07/1.167, allocations: 3.938 kB / 0.8377 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of Templates: time 0.03495/1.202, allocations: 21.45 MB / 0.8587 GB, free: 7.531 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)