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.00157/0.00157, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002114/0.002113, allocations: 198.5 kB / 16.14 MB, free: 6.688 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.46/1.46, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7665/0.7665, allocations: 132.2 MB / 422.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001309, allocations: 62.94 kB / 0.5011 GB, free: 9.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1865, allocations: 80.21 MB / 0.5794 GB, free: 9.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.5868/0.7733, allocations: 196.6 MB / 0.7714 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01767/0.791, allocations: 10.44 MB / 0.7816 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002564/0.7937, allocations: 55.69 kB / 0.7816 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.7959, allocations: 477.1 kB / 0.7821 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006189/0.8021, allocations: 1.833 MB / 0.7839 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004506/0.8067, allocations: 1.249 MB / 0.7851 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004688/0.8114, allocations: 3.668 MB / 0.7887 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002017/0.8134, allocations: 1.015 MB / 0.7897 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005/0.8184, allocations: 1.511 MB / 0.7911 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/0.8208, allocations: 0.9723 MB / 0.7921 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004022/0.8212, allocations: 72 kB / 0.7922 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004772/0.826, allocations: 2.389 MB / 0.7945 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006231/0.8266, allocations: 378.6 kB / 0.7948 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.8279, allocations: 0.6565 MB / 0.7955 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004879/0.8328, allocations: 2.528 MB / 0.798 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.8328, allocations: 0 / 0.798 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8328, allocations: 4 kB / 0.798 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.053e-05/0.8329, allocations: 0 / 0.798 GB, free: 3.453 MB / 0.6075 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.003908/0.8368, allocations: 1.814 MB / 0.7997 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.8369, allocations: 8.031 kB / 0.7997 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002487/0.8394, allocations: 377.8 kB / 0.8001 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002075/0.8415, allocations: 0.9128 MB / 0.801 GB, free: 260 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.161e-05/0.8415, allocations: 74 kB / 0.8011 GB, free: 184 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/0.8418, allocations: 108 kB / 0.8012 GB, free: 76 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.844, allocations: 1.107 MB / 0.8022 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.844, allocations: 3.938 kB / 0.8023 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.8442, allocations: 48 kB / 0.8023 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.111e-05/0.8442, allocations: 34 kB / 0.8023 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.8461, allocations: 0.8041 MB / 0.8031 GB, free: 14.02 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.007712/0.8539, allocations: 5.066 MB / 0.8081 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.8552, allocations: 0.7136 MB / 0.8088 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006381/0.8559, allocations: 359.9 kB / 0.8091 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006945/0.8566, allocations: 312.4 kB / 0.8094 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.8567, allocations: 47.05 kB / 0.8094 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.404e-06/0.8567, allocations: 0 / 0.8094 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.00233/0.859, allocations: 0.9388 MB / 0.8104 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/0.8591, allocations: 59.97 kB / 0.8104 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.8605, allocations: 0.8764 MB / 0.8113 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.111e-05/0.8606, allocations: 41.7 kB / 0.8113 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/0.8611, allocations: 0.5545 MB / 0.8119 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002423/0.8613, allocations: 248.3 kB / 0.8121 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.8616, allocations: 138.6 kB / 0.8122 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.8617, allocations: 345.9 kB / 0.8126 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/0.8622, allocations: 252.7 kB / 0.8128 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006426/0.8628, allocations: 451.6 kB / 0.8132 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.864, allocations: 0.7093 MB / 0.8139 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.8641, allocations: 0 / 0.8139 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001638/0.8657, allocations: 0.8353 MB / 0.8147 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.8657, allocations: 8 kB / 0.8147 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.8658, allocations: 4.625 kB / 0.8147 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.8658, allocations: 8 kB / 0.8148 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.8674, allocations: 267.7 kB / 0.815 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.869, allocations: 1.389 MB / 0.8164 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.87, allocations: 119.2 kB / 0.8165 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.596e-05/0.8701, allocations: 32.06 kB / 0.8165 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008701/0.871, allocations: 478 kB / 0.817 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006358/0.8716, allocations: 447 kB / 0.8174 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001152/0.8728, allocations: 0.7015 MB / 0.8181 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.61e-06/0.8728, allocations: 3.938 kB / 0.8181 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001531/0.8744, allocations: 0.8397 MB / 0.8189 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.8744, allocations: 8 kB / 0.8189 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.8744, allocations: 8 kB / 0.8189 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.8744, allocations: 8 kB / 0.8189 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.876, allocations: 251.7 kB / 0.8192 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.8774, allocations: 1.397 MB / 0.8205 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009339/0.8783, allocations: 91.45 kB / 0.8206 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.682e-05/0.8784, allocations: 44.86 kB / 0.8207 GB, free: 11.01 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.0002432/0.8787, allocations: 224 kB / 0.8209 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/0.8789, allocations: 110.7 kB / 0.821 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/0.8807, allocations: 0.794 MB / 0.8218 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.8807, allocations: 8 kB / 0.8218 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.8807, allocations: 0 / 0.8218 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001335/0.8821, allocations: 0.704 MB / 0.8224 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003552/0.8856, allocations: 1.934 MB / 0.8243 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.8857, allocations: 4.062 kB / 0.8243 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007443/0.8864, allocations: 155.8 kB / 0.8245 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004385/0.8869, allocations: 41.03 kB / 0.8245 GB, free: 6.91 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.362e-05/0.8869, allocations: 27.98 kB / 0.8246 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.8883, allocations: 1.336 MB / 0.8259 GB, free: 5.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.8883, allocations: 11.95 kB / 0.8259 GB, free: 5.398 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/0.8905, allocations: 1.254 MB / 0.8271 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004478/0.891, allocations: 259.4 kB / 0.8273 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.8911, allocations: 16 kB / 0.8274 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007398/0.8919, allocations: 54.77 kB / 0.8274 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.892, allocations: 48.44 kB / 0.8275 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.875e-05/0.892, allocations: 23.98 kB / 0.8275 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008143/0.8928, allocations: 0.6006 MB / 0.8281 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8929, allocations: 0 / 0.8281 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001475/0.8943, allocations: 0.5374 MB / 0.8286 GB, free: 2.543 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.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.0005033/0.8948, allocations: 211.1 kB / 0.8288 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00364/0.8985, allocations: 1.209 MB / 0.83 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.8985, allocations: 0 / 0.83 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007949/0.8993, allocations: 456.4 kB / 0.8304 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/0.9017, allocations: 0.5106 MB / 0.8309 GB, free: 188 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00427/0.906, allocations: 2.643 MB / 0.8335 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008768/0.9069, allocations: 1.14 MB / 0.8346 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001125/0.908, allocations: 284.7 kB / 0.8349 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.9083, allocations: 79.44 kB / 0.8349 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of SimCode: time 6.62e-07/0.9083, allocations: 0 / 0.8349 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.03097/0.9393, allocations: 17 MB / 0.8515 GB, free: 11.23 MB / 0.67 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)