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.0007765/0.0007765, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.004852/0.004852, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.279/1.279, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7689/0.7689, allocations: 132.3 MB / 423.8 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003169, allocations: 10.19 kB / 0.5041 GB, free: 3.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.383, allocations: 81.57 MB / 0.5837 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2182/0.6012, allocations: 217.3 MB / 0.796 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0165/0.6177, allocations: 12.07 MB / 0.8078 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002216/0.62, allocations: 63.56 kB / 0.8078 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002186/0.6222, allocations: 0.7069 MB / 0.8085 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006741/0.629, allocations: 2.695 MB / 0.8111 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003178/0.6322, allocations: 1.283 MB / 0.8124 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.3329/0.965, allocations: 6.055 MB / 0.8183 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/0.9675, allocations: 1.448 MB / 0.8197 GB, free: 4.992 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005496/0.973, allocations: 2.141 MB / 0.8218 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004024/0.977, allocations: 1.522 MB / 0.8233 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003405/0.9774, allocations: 77.31 kB / 0.8234 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004785/0.9822, allocations: 2.452 MB / 0.8258 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007436/0.983, allocations: 0.593 MB / 0.8263 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001509/0.9845, allocations: 0.9321 MB / 0.8273 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004437/0.9889, allocations: 3.282 MB / 0.8305 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.9889, allocations: 4.969 kB / 0.8305 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9889, allocations: 0 / 0.8305 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.767e-05/0.989, allocations: 0 / 0.8305 GB, free: 4.852 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.003543/0.9925, allocations: 1.897 MB / 0.8323 GB, free: 19.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.9926, allocations: 9.969 kB / 0.8323 GB, free: 19.82 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002567/0.9929, allocations: 206.6 kB / 0.8325 GB, free: 19.78 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003024/0.9959, allocations: 0.4891 MB / 0.833 GB, free: 19.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.9979, allocations: 1.254 MB / 0.8342 GB, free: 19.26 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.853e-05/0.9979, allocations: 107.6 kB / 0.8343 GB, free: 19.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/0.9982, allocations: 148.1 kB / 0.8345 GB, free: 19.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002619/1.001, allocations: 1.761 MB / 0.8362 GB, free: 18.93 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.779e-05/1.001, allocations: 9.656 kB / 0.8362 GB, free: 18.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/1.001, allocations: 59.75 kB / 0.8363 GB, free: 18.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.728e-05/1.001, allocations: 53.67 kB / 0.8363 GB, free: 18.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/1.003, allocations: 1.397 MB / 0.8377 GB, free: 18.91 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.008128/1.011, allocations: 7.3 MB / 0.8448 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/1.012, allocations: 1.022 MB / 0.8458 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00081/1.013, allocations: 0.6915 MB / 0.8465 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000218/1.014, allocations: 114.9 kB / 0.8466 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/1.014, allocations: 54.73 kB / 0.8466 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001284/1.015, allocations: 313.8 kB / 0.8469 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=106): time 3.546e-06/1.015, allocations: 0 / 0.8469 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=112): time 0.00649/1.021, allocations: 4.295 MB / 0.8511 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.995e-05/1.021, allocations: 170.2 kB / 0.8513 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/1.023, allocations: 1.263 MB / 0.8525 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/1.023, allocations: 52.14 kB / 0.8526 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004252/1.024, allocations: 0.7015 MB / 0.8533 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/1.024, allocations: 399.5 kB / 0.8536 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/1.024, allocations: 125.5 kB / 0.8538 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.024, allocations: 360.4 kB / 0.8541 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007053/1.025, allocations: 0.509 MB / 0.8546 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008988/1.026, allocations: 0.8505 MB / 0.8554 GB, free: 11.67 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.0106/1.036, allocations: 4.742 MB / 0.8601 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/1.036, allocations: 2.938 kB / 0.8601 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002663/1.039, allocations: 1.594 MB / 0.8616 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/1.039, allocations: 14.3 kB / 0.8616 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/1.039, allocations: 13.39 kB / 0.8616 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/1.039, allocations: 12.69 kB / 0.8617 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/1.04, allocations: 294.2 kB / 0.8619 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.192e-05/1.04, allocations: 19.39 kB / 0.862 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/1.042, allocations: 100.3 kB / 0.8621 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/1.042, allocations: 60.81 kB / 0.8621 GB, free: 10.8 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 sytem: 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.0007697/1.043, allocations: 421.5 kB / 0.8625 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/1.043, allocations: 159.5 kB / 0.8627 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/1.045, allocations: 1.278 MB / 0.8639 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/1.045, allocations: 11.28 kB / 0.8639 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/1.045, allocations: 2.562 kB / 0.8639 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001404/1.046, allocations: 1.226 MB / 0.8651 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005295/1.052, allocations: 3.744 MB / 0.8688 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/1.052, allocations: 13.94 kB / 0.8688 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/1.053, allocations: 253.5 kB / 0.869 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/1.053, allocations: 18.28 kB / 0.8691 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-05/1.053, allocations: 34.62 kB / 0.8691 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.234e-05/1.053, allocations: 21.48 kB / 0.8691 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/1.053, allocations: 18.34 kB / 0.8691 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/1.055, allocations: 2.2 MB / 0.8713 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006331/1.056, allocations: 362.4 kB / 0.8716 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001986/1.056, allocations: 37.25 kB / 0.8717 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/1.057, allocations: 92.8 kB / 0.8717 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/1.058, allocations: 106.5 kB / 0.8718 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.068e-05/1.058, allocations: 50.52 kB / 0.8719 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001087/1.059, allocations: 0.8527 MB / 0.8727 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/1.059, allocations: 0 / 0.8727 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001328/1.06, allocations: 436.2 kB / 0.8731 GB, free: 8.188 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.002964/1.063, allocations: 2.869 MB / 0.8759 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001705/1.065, allocations: 1.21 MB / 0.8771 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/1.065, allocations: 3.156 kB / 0.8771 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006577/1.065, allocations: 0.5479 MB / 0.8777 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005924/1.071, allocations: 0.9003 MB / 0.8785 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/1.089, allocations: 14.35 MB / 0.8926 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009526/1.09, allocations: 1.375 MB / 0.8939 GB, free: 15.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001577/1.092, allocations: 378.3 kB / 0.8943 GB, free: 15.73 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007741/1.093, allocations: 0.644 MB / 0.8949 GB, free: 15.71 MB / 0.67 GB Notification: Performance of SimCode: time 1.343e-06/1.093, allocations: 0 / 0.8949 GB, free: 15.71 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06319/1.156, allocations: 40.92 MB / 0.9348 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/1.156, allocations: 272.8 kB / 0.9351 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.751/3.907, allocations: 0 / 0.9351 GB, free: 11.23 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)