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.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.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 104 kB / 16.35 MB, free: 5.824 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.001053/0.001053, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.368/1.368, 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/package.mo): time 0.8061/0.8061, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 67.89 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3625, allocations: 80.19 MB / 0.5815 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5947/0.9573, allocations: 222.6 MB / 0.7988 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01548/0.9728, allocations: 12.09 MB / 0.8106 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002763/0.9756, allocations: 73.12 kB / 0.8107 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002115/0.9777, allocations: 0.8571 MB / 0.8115 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007446/0.9852, allocations: 2.864 MB / 0.8143 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003613/0.9889, allocations: 1.423 MB / 0.8157 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006228/0.9951, allocations: 4.438 MB / 0.8201 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002753/0.9979, allocations: 1.714 MB / 0.8217 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006445/1.004, allocations: 2.471 MB / 0.8242 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003822/1.008, allocations: 1.548 MB / 0.8257 GB, free: 360 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005194/1.009, allocations: 179.8 kB / 0.8258 GB, free: 360 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005836/1.015, allocations: 2.167 MB / 0.828 GB, free: 336 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009639/1.016, allocations: 0.7054 MB / 0.8286 GB, free: 180 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002988/1.019, allocations: 1.045 MB / 0.8297 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006962/1.026, allocations: 3.324 MB / 0.8329 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/1.026, allocations: 5.406 kB / 0.8329 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.814e-06/1.026, allocations: 0 / 0.8329 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.747e-05/1.026, allocations: 0 / 0.8329 GB, free: 14.05 MB / 0.5919 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.004071/1.03, allocations: 2.274 MB / 0.8351 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/1.03, allocations: 14.06 kB / 0.8351 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/1.033, allocations: 0.4891 MB / 0.8356 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/1.035, allocations: 1.338 MB / 0.8369 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.79e-05/1.035, allocations: 115.5 kB / 0.837 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/1.036, allocations: 150.3 kB / 0.8372 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/1.038, allocations: 1.752 MB / 0.8389 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.119e-05/1.038, allocations: 9.406 kB / 0.8389 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/1.039, allocations: 59.47 kB / 0.839 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.426e-05/1.039, allocations: 56.38 kB / 0.839 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/1.041, allocations: 1.392 MB / 0.8404 GB, free: 9.309 MB / 0.5919 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.01018/1.051, allocations: 7.268 MB / 0.8475 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/1.053, allocations: 1.023 MB / 0.8485 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009182/1.054, allocations: 0.7009 MB / 0.8492 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002417/1.054, allocations: 113.5 kB / 0.8493 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.084e-05/1.054, allocations: 54.09 kB / 0.8493 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00131/1.055, allocations: 300.7 kB / 0.8496 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=106): time 3.587e-06/1.055, allocations: 0 / 0.8496 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of matching and sorting (n=112): time 0.007694/1.063, allocations: 4.431 MB / 0.8539 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/1.063, allocations: 174 kB / 0.8541 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/1.065, allocations: 1.263 MB / 0.8553 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.224e-05/1.065, allocations: 53.64 kB / 0.8554 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005371/1.065, allocations: 0.7032 MB / 0.8561 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/1.066, allocations: 397.8 kB / 0.8564 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003876/1.066, allocations: 259.4 kB / 0.8567 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.066, allocations: 361.9 kB / 0.857 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007809/1.067, allocations: 0.5231 MB / 0.8576 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/1.068, allocations: 0.849 MB / 0.8584 GB, free: 7.574 MB / 0.6075 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.01096/1.079, allocations: 4.79 MB / 0.8631 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/1.079, allocations: 4 kB / 0.8631 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002665/1.082, allocations: 1.613 MB / 0.8646 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/1.082, allocations: 16.19 kB / 0.8647 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/1.082, allocations: 11.94 kB / 0.8647 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/1.082, allocations: 12 kB / 0.8647 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/1.083, allocations: 292.3 kB / 0.865 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-05/1.083, allocations: 26.45 kB / 0.865 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/1.084, allocations: 47.98 kB / 0.865 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/1.084, allocations: 59.97 kB / 0.8651 GB, free: 0.6484 MB / 0.6075 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.0007883/1.085, allocations: 433.6 kB / 0.8655 GB, free: 244 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/1.086, allocations: 166 kB / 0.8657 GB, free: 76 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/1.088, allocations: 1.286 MB / 0.8669 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/1.088, allocations: 12 kB / 0.8669 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/1.088, allocations: 3.938 kB / 0.8669 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001518/1.089, allocations: 1.243 MB / 0.8681 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005816/1.095, allocations: 3.758 MB / 0.8718 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/1.095, allocations: 8.219 kB / 0.8718 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/1.096, allocations: 256.6 kB / 0.8721 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.888e-05/1.096, allocations: 19.94 kB / 0.8721 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.217e-05/1.096, allocations: 38.62 kB / 0.8721 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.545e-05/1.096, allocations: 18.42 kB / 0.8721 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/1.096, allocations: 17.16 kB / 0.8722 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/1.099, allocations: 2.213 MB / 0.8743 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007925/1.1, allocations: 359 kB / 0.8747 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/1.1, allocations: 39.94 kB / 0.8747 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.101, allocations: 43.97 kB / 0.8747 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/1.101, allocations: 104.1 kB / 0.8748 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.369e-05/1.101, allocations: 51.92 kB / 0.8749 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001111/1.103, allocations: 0.8568 MB / 0.8757 GB, free: 5.449 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/1.103, allocations: 0 / 0.8757 GB, free: 5.449 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001395/1.104, allocations: 436 kB / 0.8761 GB, free: 5.023 MB / 0.6231 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.0005529/1.104, allocations: 252.2 kB / 0.8764 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001961/1.106, allocations: 1.258 MB / 0.8776 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.106, allocations: 0 / 0.8776 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007252/1.107, allocations: 0.55 MB / 0.8781 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003548/1.111, allocations: 0.921 MB / 0.879 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004804/1.116, allocations: 3.376 MB / 0.8823 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009377/1.117, allocations: 1.372 MB / 0.8837 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001398/1.118, allocations: 389.3 kB / 0.884 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003887/1.118, allocations: 123.4 kB / 0.8842 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of SimCode: time 1.142e-06/1.118, allocations: 4 kB / 0.8842 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of Templates: time 0.05051/1.169, allocations: 30.41 MB / 0.9139 GB, free: 14.86 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.makefile (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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)