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.001341/0.001341, allocations: 109 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.001324/0.001324, 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7963/0.7963, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.84 kB / 0.5821 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.174, allocations: 80.2 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.6745/0.8486, allocations: 222.6 MB / 0.8777 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01985/0.8685, allocations: 12.1 MB / 0.8895 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003187/0.8717, allocations: 71.62 kB / 0.8896 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002877/0.8746, allocations: 0.8615 MB / 0.8904 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00848/0.8831, allocations: 2.852 MB / 0.8932 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00421/0.8874, allocations: 1.435 MB / 0.8946 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006514/0.8939, allocations: 4.443 MB / 0.899 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002918/0.8968, allocations: 1.705 MB / 0.9006 GB, free: 15.7 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006289/0.9031, allocations: 2.497 MB / 0.9031 GB, free: 13.2 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003358/0.9065, allocations: 1.554 MB / 0.9046 GB, free: 11.66 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006794/0.9072, allocations: 180 kB / 0.9048 GB, free: 11.48 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004927/0.9121, allocations: 2.159 MB / 0.9069 GB, free: 9.32 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001126/0.9133, allocations: 0.7012 MB / 0.9076 GB, free: 8.617 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002159/0.9154, allocations: 1.05 MB / 0.9086 GB, free: 7.562 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006447/0.9219, allocations: 3.33 MB / 0.9118 GB, free: 4.223 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9219, allocations: 7.984 kB / 0.9118 GB, free: 4.215 MB / 0.67 GB Notification: Performance of FrontEnd: time 8.12e-07/0.9219, allocations: 0 / 0.9118 GB, free: 4.215 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001116/0.9221, allocations: 3.938 kB / 0.9118 GB, free: 4.211 MB / 0.67 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.005287/0.9274, allocations: 2.268 MB / 0.9141 GB, free: 1.887 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.9274, allocations: 16.03 kB / 0.9141 GB, free: 1.871 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003531/0.931, allocations: 0.4933 MB / 0.9146 GB, free: 1.375 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002745/0.9337, allocations: 1.341 MB / 0.9159 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-05/0.9338, allocations: 106.8 kB / 0.916 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003678/0.9342, allocations: 152.8 kB / 0.9161 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003277/0.9375, allocations: 1.753 MB / 0.9178 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.866e-05/0.9375, allocations: 7.938 kB / 0.9178 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.9377, allocations: 60 kB / 0.9179 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.648e-05/0.9378, allocations: 58.53 kB / 0.9179 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/0.9402, allocations: 1.388 MB / 0.9193 GB, free: 12.34 MB / 0.6856 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.01005/0.9503, allocations: 7.273 MB / 0.9264 GB, free: 4.684 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.9518, allocations: 1.027 MB / 0.9274 GB, free: 3.609 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009687/0.9528, allocations: 0.6945 MB / 0.9281 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002399/0.9531, allocations: 118.2 kB / 0.9282 GB, free: 2.773 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.9531, allocations: 47.5 kB / 0.9282 GB, free: 2.719 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001251/0.9544, allocations: 306.5 kB / 0.9285 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=106): time 7.203e-06/0.9544, allocations: 0 / 0.9285 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of matching and sorting (n=112): time 0.009275/0.9637, allocations: 4.439 MB / 0.9329 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.006e-05/0.9638, allocations: 171.3 kB / 0.933 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.9657, allocations: 1.267 MB / 0.9343 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.9658, allocations: 49.7 kB / 0.9343 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005623/0.9664, allocations: 0.7006 MB / 0.935 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003974/0.9668, allocations: 398.2 kB / 0.9354 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004068/0.9672, allocations: 259.4 kB / 0.9356 GB, free: 11 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.9674, allocations: 353.9 kB / 0.936 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008556/0.9682, allocations: 0.527 MB / 0.9365 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.9694, allocations: 0.8518 MB / 0.9373 GB, free: 9.145 MB / 0.7012 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.01148/0.9808, allocations: 4.784 MB / 0.942 GB, free: 4.207 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-05/0.9809, allocations: 8 kB / 0.942 GB, free: 4.199 MB / 0.7012 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002836/0.9837, allocations: 1.616 MB / 0.9436 GB, free: 2.574 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.9838, allocations: 8.156 kB / 0.9436 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.9838, allocations: 15.94 kB / 0.9436 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.989e-05/0.9838, allocations: 23.88 kB / 0.9436 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.985, allocations: 291.6 kB / 0.9439 GB, free: 2.242 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.574e-05/0.9851, allocations: 15.94 kB / 0.9439 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.9867, allocations: 47.92 kB / 0.944 GB, free: 2.18 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.9869, allocations: 63.97 kB / 0.944 GB, free: 2.117 MB / 0.7012 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.0008034/0.9877, allocations: 423.1 kB / 0.9444 GB, free: 1.695 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004928/0.9882, allocations: 174 kB / 0.9446 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.9904, allocations: 1.295 MB / 0.9458 GB, free: 220 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.9905, allocations: 12 kB / 0.9459 GB, free: 208 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.9905, allocations: 4 kB / 0.9459 GB, free: 204 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001526/0.992, allocations: 1.237 MB / 0.9471 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006181/0.9982, allocations: 3.766 MB / 0.9507 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.9982, allocations: 8 kB / 0.9508 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/0.9994, allocations: 259.8 kB / 0.951 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.229e-05/0.9994, allocations: 12 kB / 0.951 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.9995, allocations: 36 kB / 0.951 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.692e-05/0.9996, allocations: 23.92 kB / 0.9511 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.524e-05/0.9996, allocations: 15.94 kB / 0.9511 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003215/1.003, allocations: 2.219 MB / 0.9533 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00087/1.004, allocations: 359 kB / 0.9536 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003776/1.004, allocations: 32.05 kB / 0.9536 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/1.005, allocations: 51.95 kB / 0.9537 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/1.006, allocations: 108.2 kB / 0.9538 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/1.006, allocations: 52.08 kB / 0.9538 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001422/1.007, allocations: 0.8567 MB / 0.9547 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/1.007, allocations: 0 / 0.9547 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001618/1.009, allocations: 428 kB / 0.9551 GB, free: 6.32 MB / 0.7169 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.0006/1.009, allocations: 244.3 kB / 0.9553 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002114/1.012, allocations: 1.255 MB / 0.9565 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/1.012, allocations: 4 kB / 0.9565 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007867/1.012, allocations: 0.5484 MB / 0.9571 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004373/1.017, allocations: 0.9417 MB / 0.958 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005566/1.022, allocations: 3.454 MB / 0.9614 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/1.024, allocations: 1.368 MB / 0.9627 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005564/1.024, allocations: 139.4 kB / 0.9628 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of SimCode: time 1.422e-06/1.024, allocations: 0 / 0.9628 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of Templates: time 0.03842/1.063, allocations: 25.53 MB / 0.9878 GB, free: 4.844 MB / 0.7481 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)