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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.781/0.781, allocations: 130.7 MB / 138.7 MB, free: 3.473 MB / 106.7 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: 221.5 MB / 391.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000919/0.0009189, allocations: 91.33 kB / 473.9 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.027e-05/2.037e-05, allocations: 4 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4782/0.4783, allocations: 81.57 MB / 0.6282 GB, free: 42.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.18/6.659, allocations: 1.933 GB / 2.561 GB, free: 181.8 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/6.659, allocations: 88.06 kB / 2.561 GB, free: 181.8 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.572/9.231, allocations: 0.6208 GB / 3.182 GB, free: 99.82 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.865e-06/9.231, allocations: 7.125 kB / 3.182 GB, free: 99.81 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002419/9.231, allocations: 38.97 kB / 3.182 GB, free: 99.78 MB / 0.6667 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.00578/9.237, allocations: 1.572 MB / 3.183 GB, free: 98.18 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.339e-05/9.237, allocations: 12.03 kB / 3.183 GB, free: 98.16 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00307/9.24, allocations: 361.1 kB / 3.184 GB, free: 97.81 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00412/9.244, allocations: 1.222 MB / 3.185 GB, free: 96.59 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.402e-05/9.245, allocations: 32 kB / 3.185 GB, free: 96.55 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003298/9.245, allocations: 60 kB / 3.185 GB, free: 96.5 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001748/9.247, allocations: 0.6951 MB / 3.186 GB, free: 95.8 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/9.249, allocations: 0.9433 MB / 3.187 GB, free: 94.8 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/9.249, allocations: 0 / 3.187 GB, free: 94.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/9.249, allocations: 0 / 3.187 GB, free: 94.8 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-05/9.249, allocations: 38 kB / 3.187 GB, free: 94.76 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.007518/9.256, allocations: 4.912 MB / 3.191 GB, free: 89.6 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009662/9.257, allocations: 0.6347 MB / 3.192 GB, free: 88.97 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004429/9.258, allocations: 320.8 kB / 3.192 GB, free: 88.66 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006283/9.258, allocations: 314 kB / 3.193 GB, free: 88.3 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/9.259, allocations: 39.12 kB / 3.193 GB, free: 88.25 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 3.817e-06/9.259, allocations: 0 / 3.193 GB, free: 88.25 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.002008/9.261, allocations: 0.7086 MB / 3.193 GB, free: 87.54 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.854e-05/9.261, allocations: 162.8 kB / 3.193 GB, free: 87.34 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/9.262, allocations: 0.5907 MB / 3.194 GB, free: 86.73 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/9.262, allocations: 25.7 kB / 3.194 GB, free: 86.7 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004959/9.262, allocations: 0.5658 MB / 3.195 GB, free: 86.12 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/9.263, allocations: 244.4 kB / 3.195 GB, free: 85.88 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/9.263, allocations: 0 / 3.195 GB, free: 85.88 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001358/9.263, allocations: 340.8 kB / 3.195 GB, free: 85.55 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/9.263, allocations: 225.5 kB / 3.195 GB, free: 85.32 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006249/9.264, allocations: 447.2 kB / 3.196 GB, free: 84.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007134/9.265, allocations: 354.4 kB / 3.196 GB, free: 84.47 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/9.265, allocations: 4 kB / 3.196 GB, free: 84.46 MB / 0.6667 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001532/9.266, allocations: 0.791 MB / 3.197 GB, free: 83.66 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006955/9.267, allocations: 1.664 MB / 3.199 GB, free: 81.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/9.267, allocations: 4 kB / 3.199 GB, free: 81.88 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.215e-05/9.267, allocations: 11.95 kB / 3.199 GB, free: 81.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/9.269, allocations: 259.6 kB / 3.199 GB, free: 81.61 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/9.27, allocations: 1.362 MB / 3.2 GB, free: 80.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/9.271, allocations: 99.47 kB / 3.2 GB, free: 80.03 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/9.271, allocations: 35.92 kB / 3.2 GB, free: 79.99 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/9.271, allocations: 7.938 kB / 3.2 GB, free: 79.98 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001179/9.273, allocations: 0.6549 MB / 3.201 GB, free: 79.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/9.273, allocations: 11.98 kB / 3.201 GB, free: 79.32 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/9.273, allocations: 11.94 kB / 3.201 GB, free: 79.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/9.274, allocations: 259.1 kB / 3.201 GB, free: 79.05 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/9.275, allocations: 1.358 MB / 3.203 GB, free: 77.58 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/9.276, allocations: 87.53 kB / 3.203 GB, free: 77.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-05/9.276, allocations: 35.98 kB / 3.203 GB, free: 77.46 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002282/9.276, allocations: 130.3 kB / 3.203 GB, free: 77.33 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/9.277, allocations: 102.7 kB / 3.203 GB, free: 77.23 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/9.278, allocations: 0.7769 MB / 3.204 GB, free: 76.44 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/9.279, allocations: 8 kB / 3.204 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/9.279, allocations: 0 / 3.204 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001201/9.28, allocations: 0.7302 MB / 3.204 GB, free: 75.67 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003503/9.283, allocations: 1.843 MB / 3.206 GB, free: 73.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/9.283, allocations: 0 / 3.206 GB, free: 73.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007605/9.284, allocations: 155.8 kB / 3.206 GB, free: 73.62 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004222/9.284, allocations: 41.05 kB / 3.206 GB, free: 73.57 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.064e-05/9.285, allocations: 15.98 kB / 3.206 GB, free: 73.56 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/9.286, allocations: 1.316 MB / 3.208 GB, free: 72.12 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/9.286, allocations: 7.984 kB / 3.208 GB, free: 72.11 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/9.288, allocations: 1.332 MB / 3.209 GB, free: 70.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000561/9.288, allocations: 243.7 kB / 3.209 GB, free: 70.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/9.289, allocations: 4 kB / 3.209 GB, free: 70.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008543/9.29, allocations: 71.78 kB / 3.209 GB, free: 70.37 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.272e-05/9.29, allocations: 52.39 kB / 3.209 GB, free: 70.32 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/9.29, allocations: 23.98 kB / 3.209 GB, free: 70.29 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007015/9.29, allocations: 460.1 kB / 3.21 GB, free: 69.83 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/9.29, allocations: 0 / 3.21 GB, free: 69.83 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002657/9.293, allocations: 0.6543 MB / 3.21 GB, free: 69.18 MB / 0.6667 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00362/9.297, allocations: 1.988 MB / 3.212 GB, free: 67.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002834/9.3, allocations: 1.072 MB / 3.213 GB, free: 66.33 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/9.3, allocations: 4 kB / 3.213 GB, free: 66.32 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007518/9.3, allocations: 420.6 kB / 3.214 GB, free: 65.91 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/9.303, allocations: 430.5 kB / 3.214 GB, free: 65.5 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/9.307, allocations: 1.663 MB / 3.216 GB, free: 63.79 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008882/9.308, allocations: 1.172 MB / 3.217 GB, free: 62.59 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001772/9.31, allocations: 314.4 kB / 3.217 GB, free: 62.29 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/9.31, allocations: 63.42 kB / 3.217 GB, free: 62.23 MB / 0.6667 GB Notification: Performance of SimCode: time 2.495e-06/9.31, allocations: 0 / 3.217 GB, free: 62.23 MB / 0.6667 GB Notification: Performance of Templates: time 0.04704/9.357, allocations: 26.58 MB / 3.243 GB, free: 35.97 MB / 0.6667 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)