Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IDEAS_dev_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.001402/0.001402, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001544/0.001544, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.726/2.726, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.946/1.946, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000737/0.0007373, allocations: 12 kB / 0.5069 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4045, allocations: 82.31 MB / 0.5873 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.8366/1.241, allocations: 183.2 MB / 0.7662 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02009/1.261, allocations: 11.22 MB / 0.7772 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004993/1.266, allocations: 55.62 kB / 0.7772 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004941/1.271, allocations: 0.8903 MB / 0.7781 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01586/1.287, allocations: 2.625 MB / 0.7807 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009204/1.297, allocations: 1.568 MB / 0.7822 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01002/1.307, allocations: 2.573 MB / 0.7847 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004153/1.311, allocations: 1.313 MB / 0.786 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006324/1.317, allocations: 1.663 MB / 0.7876 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00235/1.32, allocations: 1.004 MB / 0.7886 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003436/1.32, allocations: 76 kB / 0.7887 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003674/1.324, allocations: 0.9595 MB / 0.7896 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007057/1.324, allocations: 0.5414 MB / 0.7901 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007403/1.325, allocations: 384.8 kB / 0.7905 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003409/1.329, allocations: 2.144 MB / 0.7926 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.329, allocations: 0 / 0.7926 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.884e-06/1.329, allocations: 4 kB / 0.7926 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.382e-05/1.329, allocations: 0 / 0.7926 GB, free: 10.15 MB / 0.6075 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.00378/1.332, allocations: 1.881 MB / 0.7944 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/1.333, allocations: 8.031 kB / 0.7945 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003055/1.333, allocations: 206.8 kB / 0.7946 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003077/1.336, allocations: 0.4933 MB / 0.7951 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/1.338, allocations: 1.205 MB / 0.7963 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/1.339, allocations: 110.8 kB / 0.7964 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/1.339, allocations: 151.9 kB / 0.7966 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002937/1.342, allocations: 1.737 MB / 0.7983 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.771e-05/1.342, allocations: 7.844 kB / 0.7983 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/1.342, allocations: 60 kB / 0.7983 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.951e-05/1.342, allocations: 50.55 kB / 0.7984 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/1.344, allocations: 1.384 MB / 0.7997 GB, free: 2.629 MB / 0.6075 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.009951/1.354, allocations: 7.299 MB / 0.8068 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/1.356, allocations: 1.015 MB / 0.8078 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.681e-05/1.356, allocations: 17 kB / 0.8079 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/1.356, allocations: 55.56 kB / 0.8079 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001357/1.357, allocations: 310.7 kB / 0.8082 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=106): time 5.63e-06/1.357, allocations: 0 / 0.8082 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of matching and sorting (n=112): time 0.007499/1.365, allocations: 4.294 MB / 0.8124 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.91e-05/1.365, allocations: 171.2 kB / 0.8126 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/1.367, allocations: 1.243 MB / 0.8138 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.896e-05/1.367, allocations: 53.7 kB / 0.8138 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005808/1.367, allocations: 0.7045 MB / 0.8145 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003724/1.368, allocations: 406.4 kB / 0.8149 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-05/1.368, allocations: 24 kB / 0.8149 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001804/1.368, allocations: 353.9 kB / 0.8153 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008146/1.369, allocations: 0.5192 MB / 0.8158 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/1.37, allocations: 0.8244 MB / 0.8166 GB, free: 0.6719 MB / 0.6231 GB 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) 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009731/1.38, allocations: 3.46 MB / 0.82 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/1.38, allocations: 4 kB / 0.82 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002779/1.383, allocations: 1.576 MB / 0.8215 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/1.383, allocations: 8.938 kB / 0.8215 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/1.383, allocations: 11.98 kB / 0.8215 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.039e-05/1.383, allocations: 16 kB / 0.8215 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/1.384, allocations: 302.9 kB / 0.8218 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-05/1.384, allocations: 19.94 kB / 0.8218 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/1.386, allocations: 97.83 kB / 0.8219 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/1.386, allocations: 59.98 kB / 0.822 GB, free: 11.08 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008751/1.387, allocations: 429.8 kB / 0.8224 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004329/1.387, allocations: 166 kB / 0.8226 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/1.389, allocations: 1.263 MB / 0.8238 GB, free: 9.207 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/1.389, allocations: 15.95 kB / 0.8238 GB, free: 9.191 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/1.389, allocations: 4 kB / 0.8238 GB, free: 9.188 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001604/1.391, allocations: 1.221 MB / 0.825 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006725/1.398, allocations: 3.734 MB / 0.8286 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/1.398, allocations: 8.969 kB / 0.8287 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/1.399, allocations: 259.6 kB / 0.8289 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.352e-05/1.399, allocations: 23.95 kB / 0.8289 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.448e-05/1.399, allocations: 39.98 kB / 0.829 GB, free: 3.641 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.76e-05/1.399, allocations: 19.94 kB / 0.829 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-05/1.399, allocations: 11.94 kB / 0.829 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004018/1.403, allocations: 2.861 MB / 0.8318 GB, free: 172 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009117/1.404, allocations: 355.2 kB / 0.8321 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/1.404, allocations: 35.98 kB / 0.8322 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/1.406, allocations: 93.03 kB / 0.8323 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/1.406, allocations: 104.2 kB / 0.8324 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.725e-05/1.406, allocations: 51.97 kB / 0.8324 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001305/1.407, allocations: 0.8412 MB / 0.8332 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.01e-07/1.407, allocations: 0 / 0.8332 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001697/1.409, allocations: 432 kB / 0.8336 GB, free: 14.26 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00561/1.415, allocations: 6.318 MB / 0.8398 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002355/1.417, allocations: 1.208 MB / 0.841 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.417, allocations: 4 kB / 0.841 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008575/1.418, allocations: 0.5446 MB / 0.8415 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004451/1.422, allocations: 0.8662 MB / 0.8424 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/1.433, allocations: 10.41 MB / 0.8525 GB, free: 10.28 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/1.434, allocations: 1.411 MB / 0.8539 GB, free: 8.84 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001896/1.436, allocations: 373.3 kB / 0.8543 GB, free: 8.469 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009258/1.437, allocations: 0.6438 MB / 0.8549 GB, free: 7.824 MB / 0.67 GB Notification: Performance of SimCode: time 8.82e-07/1.437, allocations: 4 kB / 0.8549 GB, free: 7.82 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5695/2.007, allocations: 41.43 MB / 0.8954 GB, free: 210.9 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/2.007, allocations: 246.9 kB / 0.8956 GB, free: 210.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.637/6.644, allocations: 0 / 0.8956 GB, free: 210.5 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) Environment - environmentSimulation: