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.001575/0.001575, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8903/0.8903, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 68.39 kB / 0.5054 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1418, allocations: 80.93 MB / 0.5845 GB, free: 4.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.4563/0.5982, allocations: 222.5 MB / 0.8018 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01604/0.6142, allocations: 12.11 MB / 0.8136 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.6164, allocations: 71.62 kB / 0.8137 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002037/0.6185, allocations: 0.8654 MB / 0.8145 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006453/0.625, allocations: 2.843 MB / 0.8173 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003318/0.6283, allocations: 1.428 MB / 0.8187 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005713/0.6341, allocations: 4.433 MB / 0.823 GB, free: 8.406 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002239/0.6363, allocations: 1.709 MB / 0.8247 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005288/0.6416, allocations: 2.452 MB / 0.8271 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002406/0.6441, allocations: 1.552 MB / 0.8286 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002875/0.6444, allocations: 176 kB / 0.8288 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003765/0.6481, allocations: 2.167 MB / 0.8309 GB, free: 344 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006151/0.6488, allocations: 0.7089 MB / 0.8316 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.6498, allocations: 1.046 MB / 0.8326 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003907/0.6537, allocations: 3.272 MB / 0.8358 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6537, allocations: 0 / 0.8358 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.572e-06/0.6538, allocations: 0 / 0.8358 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.973e-05/0.6538, allocations: 0 / 0.8358 GB, free: 11.29 MB / 0.6544 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.003483/0.6573, allocations: 2.275 MB / 0.838 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.6573, allocations: 16.02 kB / 0.838 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002481/0.6576, allocations: 204 kB / 0.8382 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003061/0.6607, allocations: 0.4933 MB / 0.8387 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.6625, allocations: 1.266 MB / 0.84 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-05/0.6626, allocations: 110.8 kB / 0.8401 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000202/0.6628, allocations: 144 kB / 0.8402 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.6652, allocations: 1.753 MB / 0.8419 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.6653, allocations: 0 / 0.8419 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.6654, allocations: 64 kB / 0.842 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-05/0.6655, allocations: 62.47 kB / 0.842 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.6676, allocations: 1.392 MB / 0.8434 GB, free: 3.285 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.008015/0.6756, allocations: 7.321 MB / 0.8505 GB, free: 11.59 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.677, allocations: 1.02 MB / 0.8515 GB, free: 10.53 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008922/0.6779, allocations: 0.6945 MB / 0.8522 GB, free: 9.82 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002005/0.6781, allocations: 118.2 kB / 0.8523 GB, free: 9.688 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.6782, allocations: 51.56 kB / 0.8524 GB, free: 9.625 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001036/0.6792, allocations: 298.6 kB / 0.8527 GB, free: 9.332 MB / 0.67 GB Notification: Performance of pre-optimization done (n=106): time 3.006e-06/0.6792, allocations: 0 / 0.8527 GB, free: 9.332 MB / 0.67 GB Notification: Performance of matching and sorting (n=112): time 0.007461/0.6867, allocations: 4.444 MB / 0.857 GB, free: 4.812 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.6868, allocations: 167.2 kB / 0.8572 GB, free: 4.613 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.6882, allocations: 1.255 MB / 0.8584 GB, free: 3.348 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.211e-05/0.6883, allocations: 53.7 kB / 0.8584 GB, free: 3.289 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004708/0.6888, allocations: 0.7007 MB / 0.8591 GB, free: 2.582 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003101/0.6891, allocations: 410.2 kB / 0.8595 GB, free: 2.176 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003705/0.6895, allocations: 259.4 kB / 0.8598 GB, free: 1.918 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6896, allocations: 357.9 kB / 0.8601 GB, free: 1.562 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007903/0.6904, allocations: 0.5231 MB / 0.8606 GB, free: 1.039 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.6915, allocations: 0.8553 MB / 0.8615 GB, free: 64 kB / 0.67 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.2379/0.9294, allocations: 4.789 MB / 0.8661 GB, free: 219.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.9294, allocations: 3.188 kB / 0.8661 GB, free: 219.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002108/0.9315, allocations: 1.615 MB / 0.8677 GB, free: 219.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.9316, allocations: 10.94 kB / 0.8677 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.9316, allocations: 8.125 kB / 0.8677 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.9316, allocations: 24.56 kB / 0.8677 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.9327, allocations: 292.2 kB / 0.868 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.9327, allocations: 21.59 kB / 0.868 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.9339, allocations: 48.83 kB / 0.8681 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-05/0.934, allocations: 61.02 kB / 0.8682 GB, free: 219.2 MB / 0.67 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.00055/0.9346, allocations: 422.5 kB / 0.8686 GB, free: 218.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002691/0.9349, allocations: 160.8 kB / 0.8687 GB, free: 218.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.9366, allocations: 1.29 MB / 0.87 GB, free: 218.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.9366, allocations: 12.84 kB / 0.87 GB, free: 218.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.9366, allocations: 6.641 kB / 0.87 GB, free: 218.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001192/0.9378, allocations: 1.243 MB / 0.8712 GB, free: 217.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004298/0.9421, allocations: 3.756 MB / 0.8749 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.9421, allocations: 9.609 kB / 0.8749 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.9432, allocations: 255 kB / 0.8751 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/0.9432, allocations: 17.53 kB / 0.8751 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.976e-05/0.9433, allocations: 39.75 kB / 0.8752 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.188e-05/0.9433, allocations: 24.94 kB / 0.8752 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.9433, allocations: 12.94 kB / 0.8752 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.9454, allocations: 2.222 MB / 0.8774 GB, free: 214.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000435/0.9459, allocations: 356.6 kB / 0.8777 GB, free: 214.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/0.9461, allocations: 36.77 kB / 0.8778 GB, free: 214.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.9471, allocations: 54.14 kB / 0.8778 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.9473, allocations: 103.4 kB / 0.8779 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.219e-05/0.9473, allocations: 52.52 kB / 0.878 GB, free: 214.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008138/0.9482, allocations: 0.8489 MB / 0.8788 GB, free: 213.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.42e-07/0.9482, allocations: 0 / 0.8788 GB, free: 213.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001068/0.9492, allocations: 441.2 kB / 0.8792 GB, free: 213.8 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 (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.00254/0.9518, allocations: 2.893 MB / 0.882 GB, free: 212 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001973/0.9538, allocations: 1.436 MB / 0.8834 GB, free: 211.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.9538, allocations: 2.344 kB / 0.8834 GB, free: 211.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006174/0.9544, allocations: 0.5523 MB / 0.884 GB, free: 211.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003634/0.9581, allocations: 0.9431 MB / 0.8849 GB, free: 211.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/0.9722, allocations: 13.74 MB / 0.8983 GB, free: 203 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007604/0.973, allocations: 1.376 MB / 0.8997 GB, free: 202.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001407/0.9744, allocations: 387 kB / 0.9 GB, free: 202.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007445/0.9752, allocations: 0.6415 MB / 0.9007 GB, free: 201.6 MB / 0.67 GB Notification: Performance of SimCode: time 6.41e-07/0.9752, allocations: 0 / 0.9007 GB, free: 201.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06847/1.044, allocations: 42.97 MB / 0.9426 GB, free: 182.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.877/10.92, allocations: 26.08 kB / 0.9426 GB, free: 182.4 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/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)