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.001168/0.001168, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001315/0.001315, allocations: 191.1 kB / 16.25 MB, free: 6.598 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.406/1.406, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9425/0.9425, allocations: 135.2 MB / 425.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 72.16 kB / 0.5049 GB, free: 5.578 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1705, allocations: 80.93 MB / 0.5839 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.5529/0.7234, allocations: 196.3 MB / 0.7756 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02485/0.7483, allocations: 10.27 MB / 0.7856 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003125/0.7515, allocations: 55.69 kB / 0.7857 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002771/0.7543, allocations: 497.1 kB / 0.7862 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007673/0.762, allocations: 1.833 MB / 0.7879 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00528/0.7673, allocations: 1.26 MB / 0.7892 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005607/0.773, allocations: 2.809 MB / 0.7919 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002681/0.7757, allocations: 1.153 MB / 0.793 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006176/0.7819, allocations: 1.658 MB / 0.7947 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00255/0.7845, allocations: 1.002 MB / 0.7956 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003755/0.7848, allocations: 120 kB / 0.7958 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005289/0.7901, allocations: 2.221 MB / 0.7979 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006592/0.7908, allocations: 430.7 kB / 0.7983 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.7921, allocations: 0.7112 MB / 0.799 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006081/0.7982, allocations: 2.594 MB / 0.8016 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.7983, allocations: 0 / 0.8016 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7983, allocations: 0 / 0.8016 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.241e-05/0.7983, allocations: 4 kB / 0.8016 GB, free: 14.21 MB / 0.6231 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.003638/0.802, allocations: 1.818 MB / 0.8033 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.802, allocations: 8.031 kB / 0.8034 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002316/0.8044, allocations: 365.9 kB / 0.8037 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.8061, allocations: 0.9245 MB / 0.8046 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.531e-05/0.8062, allocations: 74 kB / 0.8047 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/0.8064, allocations: 100 kB / 0.8048 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.8083, allocations: 1.103 MB / 0.8058 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.8084, allocations: 8 kB / 0.8059 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.071e-05/0.8085, allocations: 40 kB / 0.8059 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.655e-05/0.8085, allocations: 38 kB / 0.8059 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.81, allocations: 0.8041 MB / 0.8067 GB, free: 8.789 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.006675/0.8167, allocations: 5.078 MB / 0.8117 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.8181, allocations: 0.7066 MB / 0.8124 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000598/0.8187, allocations: 352.6 kB / 0.8127 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006646/0.8194, allocations: 315.9 kB / 0.813 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.366e-05/0.8194, allocations: 43.59 kB / 0.813 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 3.216e-06/0.8194, allocations: 0 / 0.813 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.002116/0.8216, allocations: 0.9389 MB / 0.814 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.8216, allocations: 59.97 kB / 0.814 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.8228, allocations: 0.8763 MB / 0.8149 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.065e-05/0.8229, allocations: 37.7 kB / 0.8149 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000568/0.8235, allocations: 0.5623 MB / 0.8155 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/0.8238, allocations: 252.3 kB / 0.8157 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/0.824, allocations: 146.6 kB / 0.8158 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002085/0.8242, allocations: 333.9 kB / 0.8162 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/0.8248, allocations: 260.7 kB / 0.8164 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007582/0.8255, allocations: 455.5 kB / 0.8168 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.8268, allocations: 0.7015 MB / 0.8175 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.8268, allocations: 4 kB / 0.8175 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00162/0.8284, allocations: 0.8352 MB / 0.8183 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.8285, allocations: 12.61 kB / 0.8184 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.8285, allocations: 8 kB / 0.8184 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/0.8285, allocations: 8 kB / 0.8184 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.8302, allocations: 251.7 kB / 0.8186 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.8321, allocations: 1.496 MB / 0.8201 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009831/0.833, allocations: 115.2 kB / 0.8202 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.651e-05/0.8331, allocations: 32 kB / 0.8202 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009166/0.8341, allocations: 478 kB / 0.8207 GB, free: 9.73 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006522/0.8347, allocations: 451 kB / 0.8211 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001116/0.8359, allocations: 0.7015 MB / 0.8218 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.35e-06/0.8359, allocations: 4 kB / 0.8218 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001423/0.8373, allocations: 0.8276 MB / 0.8226 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.8373, allocations: 8 kB / 0.8226 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.8373, allocations: 7.938 kB / 0.8226 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.8374, allocations: 12 kB / 0.8226 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.8388, allocations: 260.2 kB / 0.8229 GB, free: 7.332 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.8404, allocations: 1.489 MB / 0.8243 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.8414, allocations: 95.44 kB / 0.8244 GB, free: 5.605 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/0.8415, allocations: 32 kB / 0.8244 GB, free: 5.574 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.0003052/0.8418, allocations: 235.5 kB / 0.8247 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.842, allocations: 113.2 kB / 0.8248 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/0.8438, allocations: 0.794 MB / 0.8256 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.8438, allocations: 16.08 kB / 0.8256 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.8438, allocations: 0 / 0.8256 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001347/0.8451, allocations: 0.7117 MB / 0.8263 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003393/0.8485, allocations: 1.93 MB / 0.8281 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.8486, allocations: 4 kB / 0.8282 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007431/0.8493, allocations: 143.8 kB / 0.8283 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003519/0.8497, allocations: 32.83 kB / 0.8283 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.795e-05/0.8497, allocations: 23.98 kB / 0.8283 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/0.8512, allocations: 1.45 MB / 0.8298 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.8512, allocations: 11.88 kB / 0.8298 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.8534, allocations: 1.254 MB / 0.831 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004765/0.8539, allocations: 259.4 kB / 0.8312 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.854, allocations: 12 kB / 0.8313 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006739/0.8547, allocations: 59.84 kB / 0.8313 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.48e-05/0.8548, allocations: 48.45 kB / 0.8314 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.004e-05/0.8549, allocations: 31.92 kB / 0.8314 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008254/0.8557, allocations: 0.5967 MB / 0.832 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8557, allocations: 0 / 0.832 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001488/0.8572, allocations: 0.5297 MB / 0.8325 GB, free: 12.99 MB / 0.6544 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.0005436/0.8578, allocations: 214.9 kB / 0.8327 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004166/0.862, allocations: 1.283 MB / 0.8339 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.862, allocations: 0 / 0.8339 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008489/0.8628, allocations: 457.7 kB / 0.8344 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/0.8653, allocations: 0.5217 MB / 0.8349 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004278/0.8696, allocations: 2.659 MB / 0.8375 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007414/0.8704, allocations: 1.144 MB / 0.8386 GB, free: 6.684 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00111/0.8715, allocations: 276.8 kB / 0.8389 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.8717, allocations: 79.44 kB / 0.8389 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of SimCode: time 2.134e-06/0.8717, allocations: 0 / 0.8389 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of Templates: time 0.03296/0.9047, allocations: 17.59 MB / 0.8561 GB, free: 4.992 MB / 0.67 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)