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.0009037/0.0009037, allocations: 87.3 kB / 15.06 MB, free: 1.082 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.0009416/0.0009419, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9626/0.9626, allocations: 135.3 MB / 426.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003493, allocations: 15.92 kB / 0.5071 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1706, allocations: 82.31 MB / 0.5875 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5346/0.7052, allocations: 202.7 MB / 0.7854 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01657/0.7218, allocations: 11.37 MB / 0.7965 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.7241, allocations: 63.56 kB / 0.7966 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001914/0.726, allocations: 0.5821 MB / 0.7972 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006965/0.733, allocations: 2.119 MB / 0.7992 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.7361, allocations: 1.035 MB / 0.8002 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006886/0.743, allocations: 5.113 MB / 0.8052 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002036/0.7451, allocations: 1.317 MB / 0.8065 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004368/0.7494, allocations: 1.933 MB / 0.8084 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002254/0.7517, allocations: 1.44 MB / 0.8098 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002237/0.7519, allocations: 79.94 kB / 0.8099 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003122/0.7551, allocations: 1.052 MB / 0.8109 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007174/0.7558, allocations: 0.588 MB / 0.8115 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006164/0.7564, allocations: 380.7 kB / 0.8119 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002895/0.7593, allocations: 2.26 MB / 0.8141 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.7594, allocations: 0 / 0.8141 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7594, allocations: 0 / 0.8141 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.851e-05/0.7594, allocations: 0 / 0.8141 GB, free: 4.859 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.003109/0.7625, allocations: 1.911 MB / 0.8159 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.7626, allocations: 8.031 kB / 0.8159 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002583/0.7628, allocations: 206.8 kB / 0.8161 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002784/0.7656, allocations: 0.4933 MB / 0.8166 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/0.7676, allocations: 1.201 MB / 0.8178 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.061e-05/0.7677, allocations: 119.7 kB / 0.8179 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.7679, allocations: 152 kB / 0.8181 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/0.7704, allocations: 1.737 MB / 0.8197 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/0.7705, allocations: 11.84 kB / 0.8198 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.7706, allocations: 60 kB / 0.8198 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.333e-05/0.7707, allocations: 54.48 kB / 0.8199 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/0.7728, allocations: 1.388 MB / 0.8212 GB, free: 13.29 MB / 0.6387 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.008282/0.7811, allocations: 7.295 MB / 0.8283 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.7826, allocations: 1.015 MB / 0.8293 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009487/0.7835, allocations: 0.6953 MB / 0.83 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002203/0.7837, allocations: 110.1 kB / 0.8301 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/0.7838, allocations: 63.48 kB / 0.8302 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001164/0.785, allocations: 298.7 kB / 0.8305 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=106): time 3.316e-06/0.785, allocations: 4 kB / 0.8305 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of matching and sorting (n=112): time 0.007002/0.792, allocations: 4.29 MB / 0.8347 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.98e-05/0.7921, allocations: 171.2 kB / 0.8348 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.7937, allocations: 1.247 MB / 0.836 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.801e-05/0.7938, allocations: 53.64 kB / 0.8361 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005519/0.7944, allocations: 0.7125 MB / 0.8368 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003649/0.7948, allocations: 402.2 kB / 0.8372 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.839e-05/0.7948, allocations: 28 kB / 0.8372 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.795, allocations: 353.9 kB / 0.8375 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007897/0.7958, allocations: 0.5114 MB / 0.838 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.7968, allocations: 0.8323 MB / 0.8388 GB, free: 10.51 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: 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.008682/0.8055, allocations: 3.459 MB / 0.8422 GB, free: 7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.8055, allocations: 4 kB / 0.8422 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002513/0.808, allocations: 1.577 MB / 0.8438 GB, free: 5.414 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.8081, allocations: 11.98 kB / 0.8438 GB, free: 5.402 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.8081, allocations: 11.88 kB / 0.8438 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.382e-05/0.8081, allocations: 20 kB / 0.8438 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.8092, allocations: 294.4 kB / 0.8441 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-05/0.8092, allocations: 22.19 kB / 0.8441 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.8106, allocations: 92.64 kB / 0.8442 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.8108, allocations: 59.98 kB / 0.8443 GB, free: 4.922 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: 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.0009207/0.8117, allocations: 425.9 kB / 0.8447 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004708/0.8122, allocations: 166 kB / 0.8448 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/0.8146, allocations: 1.271 MB / 0.8461 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.8146, allocations: 12 kB / 0.8461 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.8146, allocations: 4 kB / 0.8461 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001645/0.8163, allocations: 1.221 MB / 0.8473 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00628/0.8226, allocations: 3.739 MB / 0.8509 GB, free: 13.81 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.8226, allocations: 8 kB / 0.8509 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.8238, allocations: 259.7 kB / 0.8512 GB, free: 13.55 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.532e-05/0.8238, allocations: 19.94 kB / 0.8512 GB, free: 13.53 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.655e-05/0.8239, allocations: 39.98 kB / 0.8512 GB, free: 13.49 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.719e-05/0.8239, allocations: 15.94 kB / 0.8513 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.228e-05/0.8239, allocations: 19.92 kB / 0.8513 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00323/0.8272, allocations: 2.183 MB / 0.8534 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008437/0.828, allocations: 359 kB / 0.8537 GB, free: 10.74 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003053/0.8283, allocations: 35.98 kB / 0.8538 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/0.8298, allocations: 97.03 kB / 0.8539 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.83, allocations: 104.2 kB / 0.854 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/0.8302, allocations: 55.97 kB / 0.854 GB, free: 10.46 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001722/0.8319, allocations: 0.8411 MB / 0.8548 GB, free: 9.621 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8319, allocations: 0 / 0.8548 GB, free: 9.621 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001771/0.8337, allocations: 428 kB / 0.8553 GB, free: 9.203 MB / 0.67 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.00464/0.8383, allocations: 2.859 MB / 0.858 GB, free: 6.199 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002566/0.8409, allocations: 1.208 MB / 0.8592 GB, free: 4.992 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/0.841, allocations: 3.938 kB / 0.8592 GB, free: 4.988 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008395/0.8418, allocations: 0.5407 MB / 0.8598 GB, free: 4.449 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004556/0.8464, allocations: 0.8899 MB / 0.8606 GB, free: 3.59 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2885/1.135, allocations: 10.46 MB / 0.8708 GB, free: 214 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007853/1.136, allocations: 1.373 MB / 0.8722 GB, free: 213.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001514/1.137, allocations: 377.7 kB / 0.8725 GB, free: 213.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008227/1.138, allocations: 0.6395 MB / 0.8732 GB, free: 213.2 MB / 0.67 GB Notification: Performance of SimCode: time 8.51e-07/1.138, allocations: 0.5625 kB / 0.8732 GB, free: 213.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07194/1.21, allocations: 42.32 MB / 0.9145 GB, free: 204 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001359/1.21, allocations: 257.5 kB / 0.9147 GB, free: 203.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.921/4.131, allocations: 3.234 kB / 0.9148 GB, free: 203.6 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: