Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001551/0.001551, allocations: 109.6 kB / 16.41 MB, free: 6.5 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.001584/0.001584, allocations: 183 kB / 17.34 MB, free: 5.762 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8979/0.8979, allocations: 135.2 MB / 426.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002809/0.002809, allocations: 67.34 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1836, allocations: 80.93 MB / 0.6654 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6228/0.8064, allocations: 199.3 MB / 0.86 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01643/0.8229, allocations: 10.37 MB / 0.8701 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002206/0.8251, allocations: 55.69 kB / 0.8702 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001952/0.827, allocations: 0.5896 MB / 0.8708 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006254/0.8333, allocations: 2.052 MB / 0.8728 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004178/0.8375, allocations: 1.397 MB / 0.8741 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00507/0.8425, allocations: 2.805 MB / 0.8769 GB, free: 6.602 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001858/0.8444, allocations: 0.9842 MB / 0.8778 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004779/0.8492, allocations: 1.727 MB / 0.8795 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002036/0.8512, allocations: 0.9618 MB / 0.8805 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000248/0.8515, allocations: 120 kB / 0.8806 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004493/0.8559, allocations: 2.159 MB / 0.8827 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005268/0.8565, allocations: 430.5 kB / 0.8831 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009772/0.8575, allocations: 0.7113 MB / 0.8838 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004625/0.8621, allocations: 2.538 MB / 0.8863 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8621, allocations: 0 / 0.8863 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8621, allocations: 0 / 0.8863 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.163e-05/0.8621, allocations: 7.938 kB / 0.8863 GB, free: 12.93 MB / 0.6544 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.003152/0.8653, allocations: 1.87 MB / 0.8881 GB, free: 11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.8653, allocations: 9.109 kB / 0.8881 GB, free: 11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002156/0.8675, allocations: 374.8 kB / 0.8885 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.8693, allocations: 0.984 MB / 0.8894 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.575e-05/0.8693, allocations: 74 kB / 0.8895 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.8695, allocations: 100 kB / 0.8896 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.8714, allocations: 1.122 MB / 0.8907 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.8714, allocations: 0 / 0.8907 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.122e-05/0.8715, allocations: 40 kB / 0.8907 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-05/0.8716, allocations: 38 kB / 0.8908 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.8732, allocations: 0.8079 MB / 0.8916 GB, free: 7.367 MB / 0.6544 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.006814/0.88, allocations: 5.075 MB / 0.8965 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.8813, allocations: 0.6762 MB / 0.8972 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005817/0.8819, allocations: 326.3 kB / 0.8975 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006398/0.8825, allocations: 315.8 kB / 0.8978 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.8826, allocations: 47.98 kB / 0.8978 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.835e-06/0.8826, allocations: 0 / 0.8978 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.002148/0.8847, allocations: 0.9395 MB / 0.8988 GB, free: 15.57 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.8848, allocations: 63.97 kB / 0.8988 GB, free: 15.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.886, allocations: 0.8725 MB / 0.8997 GB, free: 14.61 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.655e-05/0.886, allocations: 37.7 kB / 0.8997 GB, free: 14.56 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004834/0.8865, allocations: 0.5749 MB / 0.9003 GB, free: 13.98 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.8868, allocations: 257.8 kB / 0.9005 GB, free: 13.73 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.887, allocations: 138.6 kB / 0.9006 GB, free: 13.59 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.8871, allocations: 337.9 kB / 0.901 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005132/0.8877, allocations: 260.7 kB / 0.9012 GB, free: 12.99 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006715/0.8883, allocations: 447.1 kB / 0.9016 GB, free: 12.48 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.8895, allocations: 0.7054 MB / 0.9023 GB, free: 11.71 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.8895, allocations: 4 kB / 0.9023 GB, free: 11.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00157/0.8911, allocations: 0.8399 MB / 0.9032 GB, free: 10.86 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.8911, allocations: 8 kB / 0.9032 GB, free: 10.85 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.8911, allocations: 5 kB / 0.9032 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/0.8912, allocations: 8 kB / 0.9032 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.8927, allocations: 264.2 kB / 0.9034 GB, free: 10.58 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.8943, allocations: 1.485 MB / 0.9049 GB, free: 8.953 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000793/0.8951, allocations: 83.39 kB / 0.905 GB, free: 8.871 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.735e-05/0.8952, allocations: 35.98 kB / 0.905 GB, free: 8.836 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009055/0.8961, allocations: 481.9 kB / 0.9055 GB, free: 8.359 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006701/0.8968, allocations: 443.7 kB / 0.9059 GB, free: 7.855 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001174/0.8979, allocations: 0.7094 MB / 0.9066 GB, free: 7.086 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/0.898, allocations: 0 / 0.9066 GB, free: 7.086 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001529/0.8995, allocations: 0.8365 MB / 0.9074 GB, free: 6.242 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.8995, allocations: 8 kB / 0.9074 GB, free: 6.234 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.8995, allocations: 13.59 kB / 0.9074 GB, free: 6.223 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.8995, allocations: 11.94 kB / 0.9074 GB, free: 6.211 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.901, allocations: 259.6 kB / 0.9077 GB, free: 5.957 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.9025, allocations: 1.488 MB / 0.9091 GB, free: 4.324 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007556/0.9033, allocations: 73.67 kB / 0.9092 GB, free: 4.254 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-05/0.9033, allocations: 32 kB / 0.9092 GB, free: 4.223 MB / 0.67 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.0002763/0.9036, allocations: 236.1 kB / 0.9094 GB, free: 3.984 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.9038, allocations: 119.2 kB / 0.9096 GB, free: 3.867 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.9056, allocations: 0.7901 MB / 0.9103 GB, free: 3.059 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.9056, allocations: 4 kB / 0.9103 GB, free: 3.055 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.9056, allocations: 4 kB / 0.9103 GB, free: 3.051 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001361/0.907, allocations: 0.7077 MB / 0.911 GB, free: 2.309 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003418/0.9104, allocations: 1.93 MB / 0.9129 GB, free: 312 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.9104, allocations: 0 / 0.9129 GB, free: 312 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007196/0.9111, allocations: 147.8 kB / 0.9131 GB, free: 164 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003372/0.9115, allocations: 45.05 kB / 0.9131 GB, free: 116 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/0.9115, allocations: 20 kB / 0.9131 GB, free: 96 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.9131, allocations: 1.454 MB / 0.9145 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.9131, allocations: 3.984 kB / 0.9145 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/0.9153, allocations: 1.266 MB / 0.9158 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004407/0.9158, allocations: 260.1 kB / 0.916 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.9159, allocations: 19.98 kB / 0.916 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/0.9165, allocations: 25.98 kB / 0.9161 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.9166, allocations: 60.38 kB / 0.9161 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/0.9166, allocations: 20 kB / 0.9161 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008399/0.9174, allocations: 0.5928 MB / 0.9167 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.9174, allocations: 0 / 0.9167 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001437/0.9189, allocations: 0.5379 MB / 0.9172 GB, free: 11.65 MB / 0.6856 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.0005407/0.9194, allocations: 218.4 kB / 0.9175 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003565/0.923, allocations: 1.139 MB / 0.9186 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/0.923, allocations: 8.125 kB / 0.9186 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008264/0.9238, allocations: 425.6 kB / 0.919 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/0.9262, allocations: 0.5139 MB / 0.9195 GB, free: 9.355 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/0.9304, allocations: 2.271 MB / 0.9217 GB, free: 7.027 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008293/0.9312, allocations: 1.136 MB / 0.9228 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000321/0.9316, allocations: 91.42 kB / 0.9229 GB, free: 5.773 MB / 0.6856 GB Notification: Performance of SimCode: time 1.743e-06/0.9316, allocations: 0 / 0.9229 GB, free: 5.773 MB / 0.6856 GB Notification: Performance of Templates: time 0.03526/0.9668, allocations: 21.63 MB / 0.944 GB, free: 248 kB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)