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.0007803/0.0007804, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.0008518/0.0008518, allocations: 172.7 kB / 15.95 MB, free: 208 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.338/1.338, allocations: 223.2 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7712/0.7712, allocations: 132.3 MB / 423.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003279, allocations: 8 kB / 0.5035 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4388/0.4391, allocations: 81.58 MB / 0.5831 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2243/0.6634, allocations: 202.7 MB / 0.7811 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01539/0.6789, allocations: 11.36 MB / 0.7922 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.6809, allocations: 59.62 kB / 0.7923 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001702/0.6826, allocations: 0.5859 MB / 0.7929 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005594/0.6882, allocations: 2.119 MB / 0.7949 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003354/0.6916, allocations: 1.021 MB / 0.7959 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006992/0.6986, allocations: 5.124 MB / 0.8009 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00226/0.7009, allocations: 1.321 MB / 0.8022 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005048/0.7059, allocations: 1.937 MB / 0.8041 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002646/0.7086, allocations: 1.436 MB / 0.8055 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003095/0.709, allocations: 76 kB / 0.8056 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003326/0.7123, allocations: 1.056 MB / 0.8066 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00084/0.7131, allocations: 0.5802 MB / 0.8072 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009101/0.7141, allocations: 380.7 kB / 0.8076 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003132/0.7172, allocations: 2.256 MB / 0.8098 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.7172, allocations: 0 / 0.8098 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7172, allocations: 4 kB / 0.8098 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.212e-05/0.7173, allocations: 0 / 0.8098 GB, free: 7.918 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.003332/0.7206, allocations: 1.906 MB / 0.8116 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.7207, allocations: 16.02 kB / 0.8116 GB, free: 5.941 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002828/0.721, allocations: 206.8 kB / 0.8118 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002907/0.7239, allocations: 0.4894 MB / 0.8123 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/0.726, allocations: 1.209 MB / 0.8135 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.68e-05/0.7261, allocations: 114.7 kB / 0.8136 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/0.7263, allocations: 148 kB / 0.8137 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/0.7289, allocations: 1.749 MB / 0.8155 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/0.729, allocations: 7.906 kB / 0.8155 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.7291, allocations: 60 kB / 0.8155 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.669e-05/0.7292, allocations: 58.47 kB / 0.8156 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.7313, allocations: 1.38 MB / 0.8169 GB, free: 352 kB / 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.3121/1.043, allocations: 7.289 MB / 0.824 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/1.045, allocations: 1.011 MB / 0.825 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/1.046, allocations: 0.6885 MB / 0.8257 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/1.046, allocations: 116 kB / 0.8258 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/1.046, allocations: 56.95 kB / 0.8259 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001338/1.048, allocations: 297.8 kB / 0.8261 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=106): time 4.569e-06/1.048, allocations: 0 / 0.8261 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=112): time 0.008183/1.056, allocations: 4.297 MB / 0.8303 GB, free: 211.7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/1.056, allocations: 168.3 kB / 0.8305 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/1.058, allocations: 1.251 MB / 0.8317 GB, free: 211 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/1.058, allocations: 48.64 kB / 0.8318 GB, free: 211 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004708/1.058, allocations: 0.7021 MB / 0.8325 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/1.059, allocations: 401.4 kB / 0.8328 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-05/1.059, allocations: 28.88 kB / 0.8329 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.814e-05/1.059, allocations: 361.2 kB / 0.8332 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008341/1.06, allocations: 0.5104 MB / 0.8337 GB, free: 209.6 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009238/1.061, allocations: 0.8376 MB / 0.8345 GB, free: 209 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.008823/1.069, allocations: 3.457 MB / 0.8379 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/1.069, allocations: 10.39 kB / 0.8379 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002529/1.072, allocations: 1.587 MB / 0.8395 GB, free: 206.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/1.072, allocations: 8.031 kB / 0.8395 GB, free: 206.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/1.072, allocations: 8.594 kB / 0.8395 GB, free: 206.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.393e-05/1.072, allocations: 15.06 kB / 0.8395 GB, free: 206.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/1.073, allocations: 295.9 kB / 0.8398 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.686e-05/1.073, allocations: 18.94 kB / 0.8398 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.075, allocations: 102.5 kB / 0.8399 GB, free: 206.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/1.075, allocations: 59.64 kB / 0.84 GB, free: 206.7 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.0007243/1.076, allocations: 419.4 kB / 0.8404 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003/1.076, allocations: 169.8 kB / 0.8405 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/1.078, allocations: 1.268 MB / 0.8418 GB, free: 205.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/1.078, allocations: 11.81 kB / 0.8418 GB, free: 205.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/1.078, allocations: 2.156 kB / 0.8418 GB, free: 205.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001405/1.079, allocations: 1.223 MB / 0.843 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005342/1.085, allocations: 3.738 MB / 0.8466 GB, free: 202.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/1.085, allocations: 13.33 kB / 0.8466 GB, free: 202.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/1.086, allocations: 260.8 kB / 0.8469 GB, free: 202.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.1e-05/1.086, allocations: 15.25 kB / 0.8469 GB, free: 202.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.577e-05/1.086, allocations: 40.36 kB / 0.8469 GB, free: 202 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-05/1.086, allocations: 18.84 kB / 0.8469 GB, free: 202 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-05/1.086, allocations: 14.62 kB / 0.847 GB, free: 202 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/1.088, allocations: 2.189 MB / 0.8491 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/1.089, allocations: 361.8 kB / 0.8494 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/1.089, allocations: 35.86 kB / 0.8495 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/1.09, allocations: 92.66 kB / 0.8496 GB, free: 200.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/1.09, allocations: 99.78 kB / 0.8497 GB, free: 200.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-05/1.09, allocations: 59.61 kB / 0.8497 GB, free: 200.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009266/1.091, allocations: 0.836 MB / 0.8505 GB, free: 199.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/1.091, allocations: 0 / 0.8505 GB, free: 199.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001366/1.093, allocations: 436.9 kB / 0.8509 GB, free: 199.7 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.002714/1.095, allocations: 2.855 MB / 0.8537 GB, free: 197.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001779/1.097, allocations: 1.212 MB / 0.8549 GB, free: 197.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.097, allocations: 6.594 kB / 0.8549 GB, free: 197.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000654/1.098, allocations: 0.534 MB / 0.8554 GB, free: 196.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003695/1.102, allocations: 0.8935 MB / 0.8563 GB, free: 195.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/1.115, allocations: 10.46 MB / 0.8665 GB, free: 184.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007066/1.116, allocations: 1.372 MB / 0.8679 GB, free: 183.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001486/1.117, allocations: 381.3 kB / 0.8682 GB, free: 182.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007356/1.118, allocations: 0.6438 MB / 0.8689 GB, free: 182.2 MB / 0.6387 GB Notification: Performance of SimCode: time 8.72e-07/1.118, allocations: 0 / 0.8689 GB, free: 182.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06174/1.18, allocations: 42.3 MB / 0.9102 GB, free: 140.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/1.18, allocations: 257.5 kB / 0.9104 GB, free: 140.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.713/3.893, allocations: 4 kB / 0.9104 GB, free: 140.2 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: