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.001683/0.001683, allocations: 108 kB / 15.6 MB, free: 132 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.001995/0.001995, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7675/0.7675, allocations: 132.2 MB / 422.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.72 kB / 0.5019 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3417, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2177/0.5594, allocations: 222.6 MB / 0.7975 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0162/0.5756, allocations: 12.1 MB / 0.8094 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002019/0.5777, allocations: 79.56 kB / 0.8094 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002162/0.5798, allocations: 0.8538 MB / 0.8103 GB, free: 5.121 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006625/0.5865, allocations: 2.858 MB / 0.8131 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00329/0.5898, allocations: 1.419 MB / 0.8144 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.3108/0.9006, allocations: 4.426 MB / 0.8188 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002542/0.9032, allocations: 1.709 MB / 0.8204 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005144/0.9084, allocations: 2.451 MB / 0.8228 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002579/0.911, allocations: 1.554 MB / 0.8243 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003463/0.9113, allocations: 180.4 kB / 0.8245 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003973/0.9153, allocations: 2.159 MB / 0.8266 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006843/0.916, allocations: 0.7061 MB / 0.8273 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001231/0.9172, allocations: 1.049 MB / 0.8283 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004467/0.9217, allocations: 3.273 MB / 0.8315 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.9217, allocations: 1.062 kB / 0.8315 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9217, allocations: 0.875 kB / 0.8315 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.853e-05/0.9218, allocations: 1.094 kB / 0.8315 GB, free: 4.668 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.003478/0.9253, allocations: 2.284 MB / 0.8338 GB, free: 19.6 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.9253, allocations: 8.562 kB / 0.8338 GB, free: 19.6 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002165/0.9255, allocations: 207.6 kB / 0.834 GB, free: 19.56 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002858/0.9284, allocations: 0.4937 MB / 0.8345 GB, free: 19.46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.9301, allocations: 1.25 MB / 0.8357 GB, free: 19.04 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/0.9302, allocations: 109.7 kB / 0.8358 GB, free: 19.04 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.9304, allocations: 152.3 kB / 0.8359 GB, free: 19.04 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.9326, allocations: 1.763 MB / 0.8376 GB, free: 18.72 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/0.9327, allocations: 4.094 kB / 0.8376 GB, free: 18.72 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.9328, allocations: 60.84 kB / 0.8377 GB, free: 18.72 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.107e-05/0.9329, allocations: 50.8 kB / 0.8378 GB, free: 18.72 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.9347, allocations: 1.392 MB / 0.8391 GB, free: 18.7 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.007118/0.9419, allocations: 7.311 MB / 0.8463 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.9431, allocations: 1.025 MB / 0.8473 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007689/0.9439, allocations: 0.6972 MB / 0.8479 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001993/0.9441, allocations: 113.2 kB / 0.848 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.9441, allocations: 54.72 kB / 0.8481 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009764/0.9451, allocations: 311.2 kB / 0.8484 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=106): time 3.186e-06/0.9451, allocations: 3.969 kB / 0.8484 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=112): time 0.006774/0.9519, allocations: 4.431 MB / 0.8527 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/0.952, allocations: 175.1 kB / 0.8529 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.9532, allocations: 1.255 MB / 0.8541 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.814e-05/0.9533, allocations: 51.92 kB / 0.8542 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003648/0.9537, allocations: 0.7029 MB / 0.8549 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/0.9539, allocations: 400.8 kB / 0.8552 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003295/0.9543, allocations: 261.7 kB / 0.8555 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.9544, allocations: 356.9 kB / 0.8558 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007041/0.9551, allocations: 0.5255 MB / 0.8563 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008712/0.956, allocations: 0.8535 MB / 0.8572 GB, free: 11.5 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.01049/0.9665, allocations: 4.793 MB / 0.8619 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.9665, allocations: 4.25 kB / 0.8619 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002275/0.9688, allocations: 1.616 MB / 0.8634 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.9688, allocations: 9.562 kB / 0.8634 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.9688, allocations: 12.47 kB / 0.8635 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.9689, allocations: 15.78 kB / 0.8635 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.9699, allocations: 291.8 kB / 0.8637 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/0.97, allocations: 25.45 kB / 0.8638 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.9713, allocations: 44.28 kB / 0.8638 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.9714, allocations: 61.59 kB / 0.8639 GB, free: 10.72 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.0006535/0.9721, allocations: 435.2 kB / 0.8643 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003218/0.9724, allocations: 164.9 kB / 0.8644 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/0.9742, allocations: 1.29 MB / 0.8657 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.9743, allocations: 11.19 kB / 0.8657 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.9743, allocations: 3.062 kB / 0.8657 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001349/0.9756, allocations: 1.239 MB / 0.8669 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004829/0.9805, allocations: 3.766 MB / 0.8706 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.9805, allocations: 10.53 kB / 0.8706 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.9816, allocations: 254.5 kB / 0.8709 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/0.9816, allocations: 17.22 kB / 0.8709 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.259e-05/0.9817, allocations: 38.86 kB / 0.8709 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.251e-05/0.9817, allocations: 20.64 kB / 0.8709 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.9817, allocations: 14.59 kB / 0.8709 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002402/0.9841, allocations: 2.223 MB / 0.8731 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005138/0.9847, allocations: 354.4 kB / 0.8735 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.9849, allocations: 40.77 kB / 0.8735 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.9859, allocations: 54.14 kB / 0.8735 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.9861, allocations: 98.89 kB / 0.8736 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.631e-05/0.9862, allocations: 50.11 kB / 0.8737 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008962/0.9871, allocations: 0.857 MB / 0.8745 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9871, allocations: 3.188 kB / 0.8745 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001238/0.9883, allocations: 432.1 kB / 0.8749 GB, free: 8.152 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.002947/0.9913, allocations: 2.89 MB / 0.8778 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002098/0.9934, allocations: 1.437 MB / 0.8792 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.9934, allocations: 2.875 kB / 0.8792 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006415/0.9941, allocations: 0.5508 MB / 0.8797 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003888/0.9979, allocations: 0.9326 MB / 0.8806 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/1.014, allocations: 13.77 MB / 0.8941 GB, free: 15.95 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008651/1.015, allocations: 1.374 MB / 0.8954 GB, free: 14.82 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001567/1.016, allocations: 376.1 kB / 0.8958 GB, free: 14.53 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000755/1.017, allocations: 0.6478 MB / 0.8964 GB, free: 14.41 MB / 0.67 GB Notification: Performance of SimCode: time 4.91e-07/1.017, allocations: 0 / 0.8964 GB, free: 14.41 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0957/1.113, allocations: 42.97 MB / 0.9384 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.332/9.444, allocations: 16.45 kB / 0.9384 GB, free: 5.281 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)