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.001154/0.001154, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001106/0.001106, allocations: 190.7 kB / 16.25 MB, free: 6.617 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.132/1.132, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6872/0.6872, allocations: 132.2 MB / 422.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 55.62 kB / 0.5014 GB, free: 4.094 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3147, allocations: 80.2 MB / 0.5797 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2008/0.5156, allocations: 219.8 MB / 0.7943 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0147/0.5303, allocations: 12.03 MB / 0.806 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.5319, allocations: 67.56 kB / 0.8061 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.5337, allocations: 0.7382 MB / 0.8068 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005297/0.539, allocations: 2.679 MB / 0.8094 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002662/0.5417, allocations: 1.292 MB / 0.8107 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.2896/0.8313, allocations: 4.427 MB / 0.815 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002599/0.8339, allocations: 1.68 MB / 0.8167 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005017/0.8389, allocations: 2.442 MB / 0.8191 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003183/0.8421, allocations: 1.643 MB / 0.8207 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003102/0.8424, allocations: 178.1 kB / 0.8208 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003449/0.8459, allocations: 2.272 MB / 0.8231 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006213/0.8465, allocations: 0.7045 MB / 0.8237 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.8476, allocations: 1.047 MB / 0.8248 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003607/0.8512, allocations: 3.427 MB / 0.8281 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.8512, allocations: 0.875 kB / 0.8281 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8512, allocations: 0.9375 kB / 0.8281 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.315e-05/0.8513, allocations: 1 kB / 0.8281 GB, free: 4.598 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.003413/0.8547, allocations: 2.276 MB / 0.8303 GB, free: 19.54 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.8547, allocations: 9.594 kB / 0.8303 GB, free: 19.54 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002248/0.8549, allocations: 209.3 kB / 0.8305 GB, free: 19.49 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002885/0.8578, allocations: 0.4917 MB / 0.831 GB, free: 19.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.8596, allocations: 1.249 MB / 0.8322 GB, free: 18.97 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.457e-05/0.8597, allocations: 111.1 kB / 0.8323 GB, free: 18.97 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002277/0.86, allocations: 156.6 kB / 0.8325 GB, free: 18.96 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.8623, allocations: 1.759 MB / 0.8342 GB, free: 18.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/0.8623, allocations: 5.953 kB / 0.8342 GB, free: 18.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/0.8624, allocations: 60.38 kB / 0.8343 GB, free: 18.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.914e-05/0.8625, allocations: 54.02 kB / 0.8343 GB, free: 18.65 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.8643, allocations: 1.395 MB / 0.8357 GB, free: 18.63 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.006977/0.8713, allocations: 7.285 MB / 0.8428 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.8724, allocations: 1.016 MB / 0.8438 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007365/0.8732, allocations: 0.6987 MB / 0.8445 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/0.8734, allocations: 108.9 kB / 0.8446 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.8734, allocations: 57.22 kB / 0.8446 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001218/0.8747, allocations: 324.5 kB / 0.8449 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=106): time 3.266e-06/0.8747, allocations: 1.062 kB / 0.8449 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=112): time 0.007112/0.8818, allocations: 4.418 MB / 0.8493 GB, free: 13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.8819, allocations: 169.7 kB / 0.8494 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.8832, allocations: 1.269 MB / 0.8507 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.101e-05/0.8833, allocations: 48.36 kB / 0.8507 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003567/0.8836, allocations: 0.7012 MB / 0.8514 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.8839, allocations: 408.6 kB / 0.8518 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003221/0.8842, allocations: 262.2 kB / 0.852 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.8843, allocations: 360.9 kB / 0.8524 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006627/0.885, allocations: 0.5227 MB / 0.8529 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008023/0.8858, allocations: 0.852 MB / 0.8537 GB, free: 11.44 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: 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.009992/0.8958, allocations: 4.794 MB / 0.8584 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.8958, allocations: 9.344 kB / 0.8584 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002259/0.8981, allocations: 1.618 MB / 0.86 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.8981, allocations: 11.77 kB / 0.86 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.8982, allocations: 9.469 kB / 0.86 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.8982, allocations: 14.81 kB / 0.86 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.8993, allocations: 291.9 kB / 0.8603 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-05/0.8993, allocations: 20.23 kB / 0.8603 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.9008, allocations: 92.41 kB / 0.8604 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.9009, allocations: 62.62 kB / 0.8605 GB, free: 10.64 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 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.0006845/0.9016, allocations: 426.7 kB / 0.8609 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/0.9019, allocations: 159.1 kB / 0.861 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.9038, allocations: 1.286 MB / 0.8623 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.9038, allocations: 12.91 kB / 0.8623 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.9038, allocations: 5.844 kB / 0.8623 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001382/0.9052, allocations: 1.237 MB / 0.8635 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004813/0.91, allocations: 3.769 MB / 0.8672 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/0.91, allocations: 7.625 kB / 0.8672 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.9111, allocations: 253.8 kB / 0.8674 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/0.9111, allocations: 14.34 kB / 0.8675 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.137e-05/0.9112, allocations: 44.84 kB / 0.8675 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/0.9112, allocations: 17 kB / 0.8675 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.9112, allocations: 19.56 kB / 0.8675 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/0.9135, allocations: 2.223 MB / 0.8697 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005663/0.9141, allocations: 359 kB / 0.87 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.9143, allocations: 34.98 kB / 0.8701 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.9155, allocations: 95.77 kB / 0.8702 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.9156, allocations: 103.8 kB / 0.8703 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.71e-05/0.9157, allocations: 52.52 kB / 0.8703 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008886/0.9166, allocations: 0.8521 MB / 0.8712 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.9166, allocations: 4.438 kB / 0.8712 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001226/0.9179, allocations: 430.6 kB / 0.8716 GB, free: 8.078 MB / 0.6544 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.002904/0.9208, allocations: 2.894 MB / 0.8744 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002114/0.9229, allocations: 1.434 MB / 0.8758 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.9229, allocations: 3.156 kB / 0.8758 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006347/0.9236, allocations: 0.551 MB / 0.8763 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003773/0.9273, allocations: 0.9398 MB / 0.8773 GB, free: 6.773 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/0.9438, allocations: 14.28 MB / 0.8912 GB, free: 464 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007494/0.9446, allocations: 1.374 MB / 0.8925 GB, free: 15.72 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001452/0.9461, allocations: 379 kB / 0.8929 GB, free: 15.64 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007047/0.9468, allocations: 0.6459 MB / 0.8935 GB, free: 15.63 MB / 0.67 GB Notification: Performance of SimCode: time 6.61e-07/0.9468, allocations: 0 / 0.8935 GB, free: 15.63 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.304/3.251, allocations: 42.74 MB / 0.9353 GB, free: 7.984 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002784/3.251, allocations: 261.7 kB / 0.9355 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.319/6.57, allocations: 0 / 0.9355 GB, free: 7.633 MB / 0.7012 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)