Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 220.6 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8833/0.8833, allocations: 134 MB / 447.2 MB, free: 10.29 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 62.5 kB / 0.6198 GB, free: 6.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2109, allocations: 85.91 MB / 0.7037 GB, free: 0.8906 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.7593/0.9702, allocations: 227 MB / 0.9254 GB, free: 3.145 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02363/0.9939, allocations: 12.18 MB / 0.9373 GB, free: 6.938 MB / 0.7013 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003687/0.9976, allocations: 99.19 kB / 0.9373 GB, free: 6.84 MB / 0.7013 GB Notification: Performance of NFTyping.typeComponents: time 0.003497/1.001, allocations: 0.8889 MB / 0.9382 GB, free: 5.945 MB / 0.7013 GB Notification: Performance of NFTyping.typeBindings: time 0.01022/1.011, allocations: 3.03 MB / 0.9412 GB, free: 2.902 MB / 0.7013 GB Notification: Performance of NFTyping.typeClassSections: time 0.005145/1.016, allocations: 1.493 MB / 0.9426 GB, free: 1.418 MB / 0.7013 GB Notification: Performance of NFFlatten.flatten: time 0.008473/1.025, allocations: 4.579 MB / 0.9471 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003303/1.028, allocations: 1.351 MB / 0.9484 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007897/1.036, allocations: 2.615 MB / 0.951 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004262/1.04, allocations: 1.653 MB / 0.9526 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009353/1.041, allocations: 184 kB / 0.9528 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006152/1.047, allocations: 2.342 MB / 0.9551 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001576/1.049, allocations: 0.7282 MB / 0.9558 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002914/1.052, allocations: 1.054 MB / 0.9568 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008951/1.061, allocations: 3.348 MB / 0.9601 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/1.061, allocations: 4 kB / 0.9601 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.883e-06/1.061, allocations: 0 / 0.9601 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001254/1.061, allocations: 0 / 0.9601 GB, free: 15.52 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.006976/1.068, allocations: 2.261 MB / 0.9623 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/1.068, allocations: 8.625 kB / 0.9623 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003763/1.072, allocations: 0.5023 MB / 0.9628 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00368/1.075, allocations: 1.262 MB / 0.964 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/1.076, allocations: 106.8 kB / 0.9641 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004875/1.076, allocations: 148 kB / 0.9642 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004344/1.08, allocations: 1.772 MB / 0.966 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.799e-05/1.081, allocations: 3.938 kB / 0.966 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002844/1.081, allocations: 60 kB / 0.966 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.648e-05/1.081, allocations: 54.53 kB / 0.9661 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00305/1.084, allocations: 1.423 MB / 0.9675 GB, free: 7.711 MB / 0.7325 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.0129/1.097, allocations: 7.231 MB / 0.9745 GB, free: 100 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/1.099, allocations: 0.967 MB / 0.9755 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/1.1, allocations: 0.6443 MB / 0.9761 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/1.1, allocations: 41.12 kB / 0.9762 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.278e-05/1.1, allocations: 55.5 kB / 0.9762 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001701/1.102, allocations: 354.8 kB / 0.9765 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=106): time 8.005e-06/1.102, allocations: 4 kB / 0.9766 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of matching and sorting (n=112): time 0.01111/1.113, allocations: 4.364 MB / 0.9808 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/1.113, allocations: 171.2 kB / 0.981 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/1.115, allocations: 1.267 MB / 0.9822 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001536/1.115, allocations: 49.7 kB / 0.9823 GB, free: 8.043 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007092/1.116, allocations: 0.7098 MB / 0.983 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005288/1.117, allocations: 424.5 kB / 0.9834 GB, free: 6.91 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004683/1.117, allocations: 263.5 kB / 0.9836 GB, free: 6.648 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001944/1.117, allocations: 357.9 kB / 0.984 GB, free: 6.293 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009198/1.118, allocations: 0.5231 MB / 0.9845 GB, free: 5.77 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/1.119, allocations: 0.8518 MB / 0.9853 GB, free: 4.797 MB / 0.7481 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01225/1.132, allocations: 4.554 MB / 0.9897 GB, free: 136 kB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/1.132, allocations: 8 kB / 0.9897 GB, free: 128 kB / 0.7481 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003147/1.135, allocations: 1.624 MB / 0.9913 GB, free: 14.49 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/1.135, allocations: 8 kB / 0.9913 GB, free: 14.48 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/1.135, allocations: 8 kB / 0.9913 GB, free: 14.48 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-05/1.135, allocations: 19.94 kB / 0.9914 GB, free: 14.46 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/1.136, allocations: 288.2 kB / 0.9916 GB, free: 14.18 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.07e-05/1.136, allocations: 23.94 kB / 0.9917 GB, free: 14.15 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/1.138, allocations: 62.06 kB / 0.9917 GB, free: 14.1 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/1.138, allocations: 55.98 kB / 0.9918 GB, free: 14.04 MB / 0.7638 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009116/1.139, allocations: 423.5 kB / 0.9922 GB, free: 13.62 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005456/1.139, allocations: 174.9 kB / 0.9923 GB, free: 13.45 MB / 0.7638 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/1.142, allocations: 1.295 MB / 0.9936 GB, free: 12.14 MB / 0.7638 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/1.142, allocations: 12 kB / 0.9936 GB, free: 12.13 MB / 0.7638 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.142, allocations: 4.625 kB / 0.9936 GB, free: 12.12 MB / 0.7638 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001764/1.144, allocations: 1.241 MB / 0.9948 GB, free: 10.81 MB / 0.7638 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007491/1.151, allocations: 3.726 MB / 0.9985 GB, free: 6.895 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.804e-05/1.151, allocations: 15.94 kB / 0.9985 GB, free: 6.879 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/1.153, allocations: 251.7 kB / 0.9987 GB, free: 6.633 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.938e-05/1.153, allocations: 16 kB / 0.9988 GB, free: 6.617 MB / 0.7638 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/1.153, allocations: 44.55 kB / 0.9988 GB, free: 6.574 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.306e-05/1.153, allocations: 19.94 kB / 0.9988 GB, free: 6.555 MB / 0.7638 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/1.153, allocations: 15.94 kB / 0.9988 GB, free: 6.539 MB / 0.7638 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003502/1.156, allocations: 2.233 MB / 1.001 GB, free: 4.164 MB / 0.7638 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/1.157, allocations: 286.8 kB / 1.001 GB, free: 3.883 MB / 0.7638 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004203/1.158, allocations: 35.98 kB / 1.001 GB, free: 3.848 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/1.159, allocations: 47.97 kB / 1.001 GB, free: 3.801 MB / 0.7638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/1.159, allocations: 104.3 kB / 1.001 GB, free: 3.699 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/1.159, allocations: 47.98 kB / 1.002 GB, free: 3.652 MB / 0.7638 GB Notification: Performance of sorting global known variables: time 0.001595/1.161, allocations: 0.8529 MB / 1.002 GB, free: 2.801 MB / 0.7638 GB Notification: Performance of sort global known variables: time 9e-08/1.161, allocations: 4 kB / 1.002 GB, free: 2.797 MB / 0.7638 GB Notification: Performance of remove unused functions: time 0.001843/1.163, allocations: 432 kB / 1.003 GB, free: 2.375 MB / 0.7638 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1],vol2.dynBal.U,vol2.dynBal.mXi[1],intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.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 (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005435/1.163, allocations: 217.9 kB / 1.003 GB, free: 2.152 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.002558/1.166, allocations: 1.191 MB / 1.004 GB, free: 0.957 MB / 0.7638 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/1.166, allocations: 0 / 1.004 GB, free: 0.957 MB / 0.7638 GB Notification: Performance of simCode: created simulation system equations: time 0.0009075/1.167, allocations: 0.5291 MB / 1.005 GB, free: 440 kB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004871/1.172, allocations: 0.9303 MB / 1.006 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007041/1.179, allocations: 3.524 MB / 1.009 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/1.18, allocations: 1.368 MB / 1.01 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007331/1.181, allocations: 127.4 kB / 1.01 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of SimCode: time 1.413e-06/1.181, allocations: 0 / 1.01 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of Templates: time 0.04713/1.228, allocations: 25.58 MB / 1.035 GB, free: 0.9023 MB / 0.795 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.623731626896188] Failed to read output from testmodel.py, exit status != 0: 1.23823311785236 1.2549221560000001 0.19042013000000002 Calling exit ...