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.004319/0.004319, allocations: 100.6 kB / 15.73 MB, free: 6 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.001022/0.001022, allocations: 189.1 kB / 16.67 MB, free: 5.934 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7312/0.7312, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 70.45 kB / 0.5809 GB, free: 1.078 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1526, allocations: 80.2 MB / 0.6592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5404/0.6931, allocations: 222.6 MB / 0.8766 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01396/0.7071, allocations: 12.1 MB / 0.8884 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002243/0.7094, allocations: 77.19 kB / 0.8885 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.7112, allocations: 0.8739 MB / 0.8893 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006165/0.7174, allocations: 2.968 MB / 0.8922 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.7203, allocations: 1.44 MB / 0.8936 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004527/0.7249, allocations: 4.452 MB / 0.898 GB, free: 0 / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001992/0.7269, allocations: 1.711 MB / 0.8996 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005373/0.7323, allocations: 2.557 MB / 0.9021 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002862/0.7351, allocations: 1.552 MB / 0.9037 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002972/0.7354, allocations: 178.6 kB / 0.9038 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004328/0.7398, allocations: 2.173 MB / 0.9059 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006731/0.7405, allocations: 0.704 MB / 0.9066 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.7417, allocations: 1.041 MB / 0.9077 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005112/0.7468, allocations: 3.349 MB / 0.9109 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.7468, allocations: 0 / 0.9109 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7469, allocations: 3.938 kB / 0.9109 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.847e-05/0.7469, allocations: 0 / 0.9109 GB, free: 10.81 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.003548/0.7504, allocations: 2.343 MB / 0.9132 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.7505, allocations: 10.75 kB / 0.9132 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002296/0.7507, allocations: 211.8 kB / 0.9134 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002968/0.7537, allocations: 0.4988 MB / 0.9139 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.7561, allocations: 1.351 MB / 0.9152 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.875e-05/0.7562, allocations: 106.7 kB / 0.9153 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000225/0.7564, allocations: 150.1 kB / 0.9155 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002666/0.7591, allocations: 1.758 MB / 0.9172 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/0.7592, allocations: 9.375 kB / 0.9172 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.7593, allocations: 60.09 kB / 0.9173 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.733e-05/0.7594, allocations: 53.73 kB / 0.9173 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.7614, allocations: 1.389 MB / 0.9187 GB, free: 5.82 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.008302/0.7697, allocations: 7.3 MB / 0.9258 GB, free: 14.65 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.7711, allocations: 1.022 MB / 0.9268 GB, free: 13.59 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009519/0.7721, allocations: 0.7009 MB / 0.9275 GB, free: 12.88 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002011/0.7723, allocations: 113.9 kB / 0.9276 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.7724, allocations: 62.08 kB / 0.9276 GB, free: 12.69 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001051/0.7734, allocations: 305.9 kB / 0.9279 GB, free: 12.39 MB / 0.67 GB Notification: Performance of pre-optimization done (n=106): time 3.346e-06/0.7734, allocations: 0 / 0.9279 GB, free: 12.39 MB / 0.67 GB Notification: Performance of matching and sorting (n=112): time 0.007543/0.781, allocations: 4.524 MB / 0.9324 GB, free: 7.812 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.765e-05/0.7811, allocations: 171.2 kB / 0.9325 GB, free: 7.605 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.7825, allocations: 1.261 MB / 0.9338 GB, free: 6.336 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.886e-05/0.7826, allocations: 53.7 kB / 0.9338 GB, free: 6.277 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004958/0.7831, allocations: 0.7056 MB / 0.9345 GB, free: 5.57 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/0.7834, allocations: 425 kB / 0.9349 GB, free: 5.16 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004/0.7838, allocations: 263.5 kB / 0.9352 GB, free: 4.898 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.784, allocations: 357.9 kB / 0.9355 GB, free: 4.543 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008055/0.7848, allocations: 0.527 MB / 0.936 GB, free: 4.016 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.7859, allocations: 0.861 MB / 0.9368 GB, free: 3.035 MB / 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.01104/0.7969, allocations: 4.789 MB / 0.9415 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.7969, allocations: 4 kB / 0.9415 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00237/0.7993, allocations: 1.625 MB / 0.9431 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.7993, allocations: 8 kB / 0.9431 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.7994, allocations: 8 kB / 0.9431 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.7994, allocations: 16 kB / 0.9431 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.8006, allocations: 293.8 kB / 0.9434 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/0.8006, allocations: 19.08 kB / 0.9434 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.8019, allocations: 47.94 kB / 0.9435 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-05/0.802, allocations: 59.98 kB / 0.9435 GB, free: 12.12 MB / 0.6856 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.0006459/0.8026, allocations: 434.5 kB / 0.944 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/0.8029, allocations: 170.9 kB / 0.9441 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.8049, allocations: 1.291 MB / 0.9454 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.805, allocations: 12 kB / 0.9454 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.805, allocations: 6.156 kB / 0.9454 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001484/0.8065, allocations: 1.233 MB / 0.9466 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005414/0.8119, allocations: 3.765 MB / 0.9503 GB, free: 5.055 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.8119, allocations: 8 kB / 0.9503 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.8131, allocations: 259.2 kB / 0.9505 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.8131, allocations: 12 kB / 0.9505 GB, free: 4.797 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-05/0.8132, allocations: 36 kB / 0.9506 GB, free: 4.762 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-05/0.8132, allocations: 25.05 kB / 0.9506 GB, free: 4.742 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.124e-05/0.8132, allocations: 21 kB / 0.9506 GB, free: 4.727 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/0.8159, allocations: 2.222 MB / 0.9528 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006288/0.8166, allocations: 371.8 kB / 0.9532 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.8168, allocations: 35.98 kB / 0.9532 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.8179, allocations: 58.38 kB / 0.9532 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.818, allocations: 100.1 kB / 0.9533 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-05/0.8181, allocations: 51.98 kB / 0.9534 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001026/0.8191, allocations: 0.849 MB / 0.9542 GB, free: 0.8984 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8191, allocations: 0 / 0.9542 GB, free: 0.8984 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001224/0.8203, allocations: 436 kB / 0.9546 GB, free: 484 kB / 0.6856 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.003292/0.8236, allocations: 2.896 MB / 0.9575 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00192/0.8256, allocations: 1.247 MB / 0.9587 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/0.8256, allocations: 4 kB / 0.9587 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007374/0.8263, allocations: 0.5525 MB / 0.9592 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003927/0.8303, allocations: 0.9354 MB / 0.9601 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/0.8463, allocations: 12.72 MB / 0.9726 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009168/0.8472, allocations: 1.376 MB / 0.9739 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001279/0.8485, allocations: 381.3 kB / 0.9743 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008506/0.8494, allocations: 0.6438 MB / 0.9749 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of SimCode: time 6.61e-07/0.8494, allocations: 0 / 0.9749 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07205/0.9214, allocations: 43.28 MB / 1.017 GB, free: 492 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/15.71, allocations: 15.44 kB / 1.017 GB, free: 480 kB / 0.7481 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)