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.001597/0.001597, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001958/0.001958, allocations: 191.6 kB / 16.25 MB, free: 6.617 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.389/1.389, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7795/0.7795, allocations: 132.2 MB / 422.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 60.3 kB / 0.5013 GB, free: 9.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1698, allocations: 80.2 MB / 0.5796 GB, free: 9.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.5105/0.6804, allocations: 196.3 MB / 0.7713 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01311/0.6935, allocations: 10.26 MB / 0.7813 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002001/0.6955, allocations: 51.69 kB / 0.7813 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.6971, allocations: 0.4971 MB / 0.7818 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004906/0.702, allocations: 1.828 MB / 0.7836 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003084/0.7051, allocations: 1.248 MB / 0.7848 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003305/0.7084, allocations: 2.817 MB / 0.7876 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.71, allocations: 1.153 MB / 0.7887 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004/0.7141, allocations: 1.657 MB / 0.7903 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.7157, allocations: 0.9963 MB / 0.7913 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.7158, allocations: 120 kB / 0.7914 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003471/0.7193, allocations: 2.229 MB / 0.7936 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000363/0.7197, allocations: 426.7 kB / 0.794 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006585/0.7204, allocations: 0.7112 MB / 0.7947 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003163/0.7235, allocations: 2.602 MB / 0.7972 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7235, allocations: 0 / 0.7972 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7235, allocations: 0 / 0.7972 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.7236, allocations: 0 / 0.7972 GB, free: 4.305 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.002479/0.7261, allocations: 1.81 MB / 0.799 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.7261, allocations: 12.03 kB / 0.799 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/0.7281, allocations: 373.8 kB / 0.7994 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.7294, allocations: 0.9128 MB / 0.8003 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.679e-05/0.7295, allocations: 85.94 kB / 0.8003 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.7296, allocations: 100 kB / 0.8004 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.7313, allocations: 1.107 MB / 0.8015 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.7313, allocations: 0 / 0.8015 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-05/0.7314, allocations: 44 kB / 0.8016 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.559e-05/0.7314, allocations: 34 kB / 0.8016 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.7327, allocations: 0.808 MB / 0.8024 GB, free: 14.88 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.005041/0.7378, allocations: 5.082 MB / 0.8074 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.739, allocations: 0.7003 MB / 0.808 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005101/0.7395, allocations: 359.9 kB / 0.8084 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005864/0.7401, allocations: 311.9 kB / 0.8087 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.7401, allocations: 39.59 kB / 0.8087 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 1.994e-06/0.7401, allocations: 4 kB / 0.8087 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.001822/0.7419, allocations: 0.9427 MB / 0.8096 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.742, allocations: 59.95 kB / 0.8097 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009467/0.7429, allocations: 0.8764 MB / 0.8106 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.378e-05/0.743, allocations: 41.7 kB / 0.8106 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000373/0.7434, allocations: 0.5584 MB / 0.8111 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.7436, allocations: 252.3 kB / 0.8114 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.7438, allocations: 134.6 kB / 0.8115 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.7439, allocations: 345.9 kB / 0.8118 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004462/0.7444, allocations: 252.7 kB / 0.8121 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005639/0.7449, allocations: 451 kB / 0.8125 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.7459, allocations: 0.7015 MB / 0.8132 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.746, allocations: 7.938 kB / 0.8132 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001295/0.7473, allocations: 0.8395 MB / 0.814 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.7473, allocations: 4 kB / 0.814 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.7473, allocations: 8 kB / 0.814 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.7473, allocations: 8 kB / 0.814 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/0.7489, allocations: 260 kB / 0.8143 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.7502, allocations: 1.496 MB / 0.8157 GB, free: 436 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007919/0.7511, allocations: 111.2 kB / 0.8159 GB, free: 324 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/0.7511, allocations: 31.98 kB / 0.8159 GB, free: 292 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007366/0.7519, allocations: 481.9 kB / 0.8163 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005586/0.7524, allocations: 439.8 kB / 0.8168 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009998/0.7534, allocations: 0.7094 MB / 0.8175 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.355e-06/0.7535, allocations: 0 / 0.8175 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001291/0.7548, allocations: 0.8314 MB / 0.8183 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.7548, allocations: 11.94 kB / 0.8183 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.7548, allocations: 4.625 kB / 0.8183 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.7548, allocations: 12 kB / 0.8183 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.7563, allocations: 265.3 kB / 0.8185 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.7575, allocations: 1.487 MB / 0.82 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007732/0.7583, allocations: 95.45 kB / 0.8201 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.598e-05/0.7584, allocations: 31.98 kB / 0.8201 GB, free: 11.66 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.0002032/0.7586, allocations: 236 kB / 0.8203 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.7587, allocations: 110.7 kB / 0.8205 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.7604, allocations: 0.7984 MB / 0.8212 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.7604, allocations: 8 kB / 0.8212 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.7604, allocations: 0 / 0.8212 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001238/0.7616, allocations: 0.7078 MB / 0.8219 GB, free: 9.758 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00308/0.7647, allocations: 1.934 MB / 0.8238 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.7647, allocations: 0 / 0.8238 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006806/0.7654, allocations: 143.8 kB / 0.824 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003121/0.7657, allocations: 45.05 kB / 0.824 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.818e-05/0.7658, allocations: 20 kB / 0.824 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.7671, allocations: 1.451 MB / 0.8254 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7671, allocations: 3.938 kB / 0.8254 GB, free: 5.941 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.7691, allocations: 1.258 MB / 0.8267 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003628/0.7695, allocations: 255.5 kB / 0.8269 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.7697, allocations: 16 kB / 0.8269 GB, free: 4.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006642/0.7703, allocations: 58.48 kB / 0.827 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.282e-05/0.7704, allocations: 52.5 kB / 0.827 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/0.7705, allocations: 23.94 kB / 0.8271 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006962/0.7712, allocations: 0.5928 MB / 0.8276 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.7712, allocations: 0 / 0.8276 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00133/0.7725, allocations: 0.5336 MB / 0.8282 GB, free: 3.09 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.0004973/0.773, allocations: 221.5 kB / 0.8284 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003865/0.7769, allocations: 1.287 MB / 0.8296 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.7769, allocations: 4 kB / 0.8296 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007264/0.7777, allocations: 451.8 kB / 0.8301 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.7798, allocations: 0.5155 MB / 0.8306 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/0.7836, allocations: 2.652 MB / 0.8331 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/0.7843, allocations: 1.148 MB / 0.8343 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001005/0.7853, allocations: 272.8 kB / 0.8345 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.7856, allocations: 87.42 kB / 0.8346 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of SimCode: time 2.194e-06/0.7856, allocations: 0 / 0.8346 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of Templates: time 0.02862/0.8142, allocations: 17.57 MB / 0.8518 GB, free: 11.12 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)