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.001289/0.001289, allocations: 99.62 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.001658/0.001658, allocations: 177.3 kB / 15.95 MB, free: 216 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.445/2.445, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.245/1.245, allocations: 132.2 MB / 423.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007252/0.0007255, allocations: 15.98 kB / 0.5033 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9853/0.9861, allocations: 81.57 MB / 0.583 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.32/1.306, allocations: 183.3 MB / 0.7619 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02126/1.327, allocations: 11.24 MB / 0.7729 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002744/1.33, allocations: 59.56 kB / 0.773 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004153/1.334, allocations: 0.8942 MB / 0.7738 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01089/1.345, allocations: 2.618 MB / 0.7764 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006758/1.352, allocations: 1.57 MB / 0.7779 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008087/1.36, allocations: 2.563 MB / 0.7804 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002588/1.363, allocations: 1.317 MB / 0.7817 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005051/1.368, allocations: 1.655 MB / 0.7833 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002586/1.371, allocations: 1.008 MB / 0.7843 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004282/1.371, allocations: 76 kB / 0.7844 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003664/1.375, allocations: 0.9517 MB / 0.7853 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000885/1.376, allocations: 0.5492 MB / 0.7858 GB, free: 424 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008453/1.377, allocations: 384.7 kB / 0.7862 GB, free: 32 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003625/1.38, allocations: 2.139 MB / 0.7883 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.38, allocations: 0 / 0.7883 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.755e-06/1.38, allocations: 4 kB / 0.7883 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.78e-05/1.38, allocations: 0 / 0.7883 GB, free: 13.88 MB / 0.6231 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.004511/1.385, allocations: 1.871 MB / 0.7901 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.715e-05/1.385, allocations: 12.03 kB / 0.7901 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003545/1.385, allocations: 210.8 kB / 0.7903 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003366/1.389, allocations: 0.4894 MB / 0.7908 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003033/1.392, allocations: 1.213 MB / 0.792 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/1.392, allocations: 110.7 kB / 0.7921 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002523/1.392, allocations: 156 kB / 0.7923 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002983/1.395, allocations: 1.733 MB / 0.7939 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/1.395, allocations: 3.906 kB / 0.794 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/1.395, allocations: 60 kB / 0.794 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.424e-05/1.395, allocations: 50.55 kB / 0.7941 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002377/1.398, allocations: 1.388 MB / 0.7954 GB, free: 6.352 MB / 0.6231 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.01054/1.408, allocations: 7.312 MB / 0.8026 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/1.41, allocations: 1.01 MB / 0.8035 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.804e-05/1.41, allocations: 17 kB / 0.8036 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.203e-05/1.41, allocations: 59.48 kB / 0.8036 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001416/1.412, allocations: 298.8 kB / 0.8039 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=106): time 4.258e-06/1.412, allocations: 0 / 0.8039 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=112): time 0.008671/1.42, allocations: 4.297 MB / 0.8081 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/1.42, allocations: 171.2 kB / 0.8083 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/1.422, allocations: 1.251 MB / 0.8095 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001495/1.422, allocations: 49.7 kB / 0.8095 GB, free: 7.336 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006305/1.423, allocations: 0.7045 MB / 0.8102 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004477/1.423, allocations: 398.2 kB / 0.8106 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.934e-05/1.424, allocations: 28 kB / 0.8106 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002252/1.424, allocations: 353.9 kB / 0.811 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009505/1.425, allocations: 0.5153 MB / 0.8115 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/1.426, allocations: 0.8283 MB / 0.8123 GB, free: 4.383 MB / 0.6387 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.01045/1.436, allocations: 3.461 MB / 0.8157 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/1.436, allocations: 4 kB / 0.8157 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.6735/2.11, allocations: 1.577 MB / 0.8172 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.55e-05/2.11, allocations: 8.875 kB / 0.8172 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-05/2.11, allocations: 9.328 kB / 0.8172 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.219e-05/2.11, allocations: 17.59 kB / 0.8172 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/2.113, allocations: 296.4 kB / 0.8175 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.831e-05/2.113, allocations: 19.77 kB / 0.8175 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002909/2.116, allocations: 94.83 kB / 0.8176 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002647/2.116, allocations: 59.66 kB / 0.8177 GB, free: 217.2 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.002413/2.119, allocations: 428.7 kB / 0.8181 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008454/2.119, allocations: 162.7 kB / 0.8182 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004359/2.124, allocations: 1.27 MB / 0.8195 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.107e-05/2.124, allocations: 16 kB / 0.8195 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/2.124, allocations: 2.453 kB / 0.8195 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002743/2.127, allocations: 1.224 MB / 0.8207 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01349/2.14, allocations: 3.737 MB / 0.8243 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.671e-05/2.14, allocations: 9.875 kB / 0.8244 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001974/2.142, allocations: 254.5 kB / 0.8246 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.063e-05/2.142, allocations: 15.38 kB / 0.8246 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/2.142, allocations: 38.12 kB / 0.8246 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.799e-05/2.143, allocations: 21.12 kB / 0.8247 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-05/2.143, allocations: 18.91 kB / 0.8247 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006218/2.149, allocations: 2.851 MB / 0.8275 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001821/2.151, allocations: 356.8 kB / 0.8278 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004364/2.151, allocations: 37.7 kB / 0.8278 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002039/2.153, allocations: 99.8 kB / 0.8279 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002942/2.153, allocations: 103.5 kB / 0.828 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/2.154, allocations: 54.84 kB / 0.8281 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002338/2.156, allocations: 0.8402 MB / 0.8289 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/2.156, allocations: 1.688 kB / 0.8289 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003131/2.159, allocations: 429.7 kB / 0.8293 GB, free: 211.2 MB / 0.6387 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.006826/2.166, allocations: 6.319 MB / 0.8355 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003794/2.17, allocations: 1.21 MB / 0.8367 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.127e-05/2.17, allocations: 2.656 kB / 0.8367 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001364/2.171, allocations: 0.5395 MB / 0.8372 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00681/2.178, allocations: 0.869 MB / 0.8381 GB, free: 205 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/2.192, allocations: 10.42 MB / 0.8482 GB, free: 196.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001655/2.194, allocations: 1.411 MB / 0.8496 GB, free: 195.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003053/2.197, allocations: 378.8 kB / 0.85 GB, free: 195.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001555/2.198, allocations: 0.6388 MB / 0.8506 GB, free: 194.7 MB / 0.6387 GB Notification: Performance of SimCode: time 2.094e-06/2.199, allocations: 0 / 0.8506 GB, free: 194.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/2.3, allocations: 41.43 MB / 0.891 GB, free: 159 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002813/2.301, allocations: 257.1 kB / 0.8913 GB, free: 158.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.98/7.281, allocations: 0 / 0.8913 GB, free: 158.8 MB / 0.6387 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/linux/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) Environment - environmentSimulation: