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: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001809/0.001809, allocations: 191.4 kB / 16.13 MB, free: 6.672 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.318/1.318, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7263/0.7263, allocations: 132.2 MB / 422.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 59.66 kB / 0.5012 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3513, allocations: 80.2 MB / 0.5795 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.21/0.5613, allocations: 220.3 MB / 0.7947 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01566/0.577, allocations: 12.18 MB / 0.8065 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.579, allocations: 67.56 kB / 0.8066 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.581, allocations: 0.7264 MB / 0.8073 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005923/0.5869, allocations: 2.684 MB / 0.8099 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002862/0.5898, allocations: 1.283 MB / 0.8112 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.3434/0.9332, allocations: 6.053 MB / 0.8171 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002539/0.9358, allocations: 1.494 MB / 0.8186 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005802/0.9416, allocations: 2.211 MB / 0.8207 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003674/0.9453, allocations: 1.597 MB / 0.8223 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003235/0.9456, allocations: 102.3 kB / 0.8224 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004501/0.9501, allocations: 2.469 MB / 0.8248 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007085/0.9508, allocations: 0.6294 MB / 0.8254 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001343/0.9522, allocations: 0.9613 MB / 0.8263 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004546/0.9567, allocations: 3.339 MB / 0.8296 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.9567, allocations: 0.9688 kB / 0.8296 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9568, allocations: 1.641 kB / 0.8296 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.541e-05/0.9568, allocations: 2.906 kB / 0.8296 GB, free: 4.641 MB / 0.6387 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.004085/0.9609, allocations: 2.276 MB / 0.8318 GB, free: 19.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.9609, allocations: 10.16 kB / 0.8318 GB, free: 19.57 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002363/0.9612, allocations: 211.3 kB / 0.832 GB, free: 19.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003097/0.9643, allocations: 0.4912 MB / 0.8325 GB, free: 19.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.9661, allocations: 1.247 MB / 0.8337 GB, free: 19 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.082e-05/0.9661, allocations: 110.7 kB / 0.8339 GB, free: 19 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.9663, allocations: 150.8 kB / 0.834 GB, free: 18.99 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/0.9687, allocations: 1.759 MB / 0.8357 GB, free: 18.67 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/0.9687, allocations: 12.47 kB / 0.8357 GB, free: 18.67 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.9689, allocations: 58.97 kB / 0.8358 GB, free: 18.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.624e-05/0.9689, allocations: 57.16 kB / 0.8358 GB, free: 18.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.9709, allocations: 1.39 MB / 0.8372 GB, free: 18.65 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.008031/0.9789, allocations: 7.283 MB / 0.8443 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.9802, allocations: 1.023 MB / 0.8453 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000853/0.9811, allocations: 0.6952 MB / 0.846 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/0.9813, allocations: 106.9 kB / 0.8461 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.9813, allocations: 57.88 kB / 0.8461 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001223/0.9826, allocations: 308.8 kB / 0.8464 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=106): time 3.787e-06/0.9826, allocations: 6.594 kB / 0.8464 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=112): time 0.006366/0.989, allocations: 4.291 MB / 0.8506 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.9891, allocations: 178.3 kB / 0.8508 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.9904, allocations: 1.258 MB / 0.852 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.921e-05/0.9905, allocations: 50.95 kB / 0.8521 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004548/0.9909, allocations: 0.6985 MB / 0.8528 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002852/0.9912, allocations: 400.8 kB / 0.8531 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000352/0.9916, allocations: 267.2 kB / 0.8534 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.9917, allocations: 357.6 kB / 0.8537 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007528/0.9925, allocations: 0.5114 MB / 0.8542 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009387/0.9934, allocations: 0.8449 MB / 0.8551 GB, free: 11.4 MB / 0.6544 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.01043/1.004, allocations: 4.723 MB / 0.8597 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.832e-06/1.004, allocations: 2.75 kB / 0.8597 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002445/1.006, allocations: 1.604 MB / 0.8612 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/1.006, allocations: 8.812 kB / 0.8613 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.006, allocations: 8.125 kB / 0.8613 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/1.006, allocations: 13.19 kB / 0.8613 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/1.007, allocations: 290.1 kB / 0.8616 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/1.008, allocations: 21.17 kB / 0.8616 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/1.009, allocations: 97.19 kB / 0.8617 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.875e-05/1.009, allocations: 57.8 kB / 0.8617 GB, free: 10.54 MB / 0.6544 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.0007187/1.01, allocations: 431.4 kB / 0.8621 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/1.01, allocations: 160.6 kB / 0.8623 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/1.012, allocations: 1.277 MB / 0.8635 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/1.012, allocations: 11.69 kB / 0.8635 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.012, allocations: 0 / 0.8635 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001363/1.013, allocations: 1.226 MB / 0.8647 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005187/1.019, allocations: 3.752 MB / 0.8684 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/1.019, allocations: 9.344 kB / 0.8684 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/1.02, allocations: 251.8 kB / 0.8687 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-05/1.02, allocations: 14.72 kB / 0.8687 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-05/1.02, allocations: 41.52 kB / 0.8687 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.331e-05/1.02, allocations: 24.64 kB / 0.8687 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.02, allocations: 13.91 kB / 0.8687 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/1.022, allocations: 2.205 MB / 0.8709 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000632/1.023, allocations: 361.5 kB / 0.8712 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/1.023, allocations: 36.56 kB / 0.8713 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/1.024, allocations: 96 kB / 0.8714 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/1.024, allocations: 105.1 kB / 0.8715 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-05/1.024, allocations: 50.59 kB / 0.8715 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009618/1.025, allocations: 0.8504 MB / 0.8723 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/1.025, allocations: 0 / 0.8723 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001344/1.027, allocations: 439.2 kB / 0.8728 GB, free: 7.914 MB / 0.6544 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.002966/1.03, allocations: 2.861 MB / 0.8756 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001759/1.032, allocations: 1.209 MB / 0.8767 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.032, allocations: 3.531 kB / 0.8767 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006537/1.032, allocations: 0.5395 MB / 0.8773 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003848/1.036, allocations: 0.9029 MB / 0.8782 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02037/1.056, allocations: 14.22 MB / 0.892 GB, free: 320 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008245/1.057, allocations: 1.372 MB / 0.8934 GB, free: 15.58 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001583/1.059, allocations: 378.5 kB / 0.8937 GB, free: 15.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007785/1.06, allocations: 0.6451 MB / 0.8944 GB, free: 15.49 MB / 0.67 GB Notification: Performance of SimCode: time 7.01e-07/1.06, allocations: 3.953 kB / 0.8944 GB, free: 15.49 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07633/1.136, allocations: 41.28 MB / 0.9347 GB, free: 7.723 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/1.136, allocations: 277 kB / 0.9349 GB, free: 7.363 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.671/3.807, allocations: 0 / 0.9349 GB, free: 7.363 MB / 0.7012 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)