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.006695/0.006695, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001528/0.001528, allocations: 197.3 kB / 16.68 MB, free: 5.93 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.822/0.822, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.59 kB / 0.5809 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1583, allocations: 80.21 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.6404/0.7988, allocations: 222.5 MB / 0.8766 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01786/0.8167, allocations: 12.11 MB / 0.8884 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003109/0.8199, allocations: 71.56 kB / 0.8885 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002959/0.8228, allocations: 0.885 MB / 0.8893 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009603/0.8325, allocations: 2.961 MB / 0.8922 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004397/0.8369, allocations: 1.446 MB / 0.8936 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0067/0.8437, allocations: 4.435 MB / 0.898 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003107/0.8468, allocations: 1.72 MB / 0.8996 GB, free: 15.81 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008511/0.8553, allocations: 2.552 MB / 0.9021 GB, free: 13.25 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004/0.8594, allocations: 1.545 MB / 0.9036 GB, free: 11.73 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001044/0.8604, allocations: 179.9 kB / 0.9038 GB, free: 11.55 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007707/0.8682, allocations: 2.171 MB / 0.9059 GB, free: 9.375 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001673/0.8699, allocations: 0.7012 MB / 0.9066 GB, free: 8.672 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002859/0.8728, allocations: 1.046 MB / 0.9076 GB, free: 7.621 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008232/0.881, allocations: 3.334 MB / 0.9109 GB, free: 4.281 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.881, allocations: 0 / 0.9109 GB, free: 4.281 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.454e-06/0.881, allocations: 0 / 0.9109 GB, free: 4.281 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000109/0.8812, allocations: 0 / 0.9109 GB, free: 4.281 MB / 0.67 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.006592/0.8878, allocations: 2.294 MB / 0.9131 GB, free: 1.934 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.8878, allocations: 8.031 kB / 0.9131 GB, free: 1.926 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005202/0.8884, allocations: 206.8 kB / 0.9133 GB, free: 1.715 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004714/0.8931, allocations: 0.4933 MB / 0.9138 GB, free: 1.219 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003647/0.8968, allocations: 1.333 MB / 0.9151 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.8969, allocations: 110.8 kB / 0.9152 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004278/0.8973, allocations: 151.9 kB / 0.9154 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004245/0.9016, allocations: 1.756 MB / 0.9171 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.388e-05/0.9017, allocations: 4 kB / 0.9171 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/0.9019, allocations: 61.5 kB / 0.9172 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-05/0.902, allocations: 54.53 kB / 0.9172 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003391/0.9054, allocations: 1.392 MB / 0.9186 GB, free: 12.19 MB / 0.6856 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.01192/0.9173, allocations: 7.273 MB / 0.9257 GB, free: 4.531 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/0.9194, allocations: 1.022 MB / 0.9267 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.9208, allocations: 0.6984 MB / 0.9273 GB, free: 2.754 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002856/0.9211, allocations: 114.1 kB / 0.9275 GB, free: 2.625 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/0.9211, allocations: 51.56 kB / 0.9275 GB, free: 2.566 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001593/0.9227, allocations: 306.7 kB / 0.9278 GB, free: 2.266 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=106): time 7.845e-06/0.9228, allocations: 0 / 0.9278 GB, free: 2.266 MB / 0.6856 GB Notification: Performance of matching and sorting (n=112): time 0.01182/0.9346, allocations: 4.44 MB / 0.9321 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.784e-05/0.9347, allocations: 167.2 kB / 0.9323 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.9371, allocations: 1.263 MB / 0.9335 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.9373, allocations: 53.64 kB / 0.9336 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007131/0.938, allocations: 0.7046 MB / 0.9343 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005271/0.9386, allocations: 394.2 kB / 0.9346 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005774/0.9392, allocations: 259.4 kB / 0.9349 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.9394, allocations: 366 kB / 0.9352 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.9406, allocations: 0.5231 MB / 0.9357 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.9422, allocations: 0.8479 MB / 0.9366 GB, free: 8.992 MB / 0.7012 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.01224/0.9545, allocations: 4.782 MB / 0.9412 GB, free: 4.055 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.9545, allocations: 4 kB / 0.9413 GB, free: 4.051 MB / 0.7012 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002722/0.9572, allocations: 1.62 MB / 0.9428 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.9573, allocations: 8 kB / 0.9428 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.9573, allocations: 19.88 kB / 0.9429 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.18e-05/0.9573, allocations: 12 kB / 0.9429 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.9585, allocations: 295.5 kB / 0.9432 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.129e-05/0.9585, allocations: 15.94 kB / 0.9432 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.9599, allocations: 52.61 kB / 0.9432 GB, free: 2.027 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.9601, allocations: 60.22 kB / 0.9433 GB, free: 1.969 MB / 0.7012 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: 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.000776/0.9608, allocations: 432.5 kB / 0.9437 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004822/0.9613, allocations: 166 kB / 0.9438 GB, free: 1.375 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002218/0.9636, allocations: 1.291 MB / 0.9451 GB, free: 72 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.9636, allocations: 12 kB / 0.9451 GB, free: 60 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.9636, allocations: 4 kB / 0.9451 GB, free: 56 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001568/0.9652, allocations: 1.248 MB / 0.9463 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006497/0.9717, allocations: 3.758 MB / 0.95 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/0.9717, allocations: 8 kB / 0.95 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.9729, allocations: 255.6 kB / 0.9503 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.691e-05/0.9729, allocations: 16 kB / 0.9503 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.973, allocations: 36.03 kB / 0.9503 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-05/0.9731, allocations: 19.94 kB / 0.9503 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.107e-05/0.9731, allocations: 23.86 kB / 0.9504 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00289/0.976, allocations: 2.227 MB / 0.9525 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007601/0.9767, allocations: 355 kB / 0.9529 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000301/0.9771, allocations: 40 kB / 0.9529 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.9782, allocations: 44.78 kB / 0.9529 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.9784, allocations: 100.3 kB / 0.953 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.9785, allocations: 51.97 kB / 0.9531 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001212/0.9797, allocations: 0.8529 MB / 0.9539 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9797, allocations: 0 / 0.9539 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001469/0.9812, allocations: 432 kB / 0.9543 GB, free: 6.172 MB / 0.7169 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.003431/0.9846, allocations: 2.903 MB / 0.9572 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002025/0.9867, allocations: 1.254 MB / 0.9584 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.9867, allocations: 0 / 0.9584 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007557/0.9874, allocations: 0.5565 MB / 0.9589 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003885/0.9913, allocations: 0.9246 MB / 0.9598 GB, free: 456 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0186/1.01, allocations: 12.66 MB / 0.9722 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/1.011, allocations: 1.376 MB / 0.9736 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001497/1.013, allocations: 385.5 kB / 0.9739 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009944/1.014, allocations: 0.6438 MB / 0.9745 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of SimCode: time 1.363e-06/1.014, allocations: 3.938 kB / 0.9746 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08027/1.094, allocations: 43.28 MB / 1.017 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/16.07, allocations: 13.19 kB / 1.017 GB, free: 5.824 MB / 0.7794 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)