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.005333/0.005334, allocations: 99.69 kB / 15.73 MB, free: 5.555 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.00127/0.00127, allocations: 196.4 kB / 16.68 MB, free: 5.484 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7762/0.7762, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 68.77 kB / 0.5809 GB, free: 1.066 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1445, allocations: 80.2 MB / 0.6592 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.5331/0.6776, allocations: 222.6 MB / 0.8766 GB, free: 2.234 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.0139/0.6915, allocations: 12.1 MB / 0.8884 GB, free: 1.906 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002392/0.694, allocations: 74.19 kB / 0.8885 GB, free: 1.906 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.6957, allocations: 0.8577 MB / 0.8893 GB, free: 1.891 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 0.005994/0.7018, allocations: 2.856 MB / 0.8921 GB, free: 1.77 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.002936/0.7048, allocations: 1.434 MB / 0.8935 GB, free: 1.27 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.00418/0.7089, allocations: 4.436 MB / 0.8978 GB, free: 16 kB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002101/0.7111, allocations: 1.709 MB / 0.8995 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005292/0.7164, allocations: 2.455 MB / 0.9019 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003099/0.7195, allocations: 1.555 MB / 0.9034 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002927/0.7198, allocations: 183.1 kB / 0.9036 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004202/0.724, allocations: 2.169 MB / 0.9057 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006889/0.7247, allocations: 0.7018 MB / 0.9064 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.7259, allocations: 1.04 MB / 0.9074 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004558/0.7305, allocations: 3.344 MB / 0.9107 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.7305, allocations: 4 kB / 0.9107 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7305, allocations: 3.594 kB / 0.9107 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.214e-05/0.7306, allocations: 0 / 0.9107 GB, free: 10.91 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.003455/0.734, allocations: 2.332 MB / 0.913 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.7341, allocations: 15.08 kB / 0.913 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002387/0.7343, allocations: 205.2 kB / 0.9132 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002816/0.7371, allocations: 0.5053 MB / 0.9137 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.7393, allocations: 1.357 MB / 0.915 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.51e-05/0.7394, allocations: 110.3 kB / 0.9151 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/0.7396, allocations: 144.4 kB / 0.9152 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/0.7421, allocations: 1.76 MB / 0.9169 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.386e-05/0.7422, allocations: 5.594 kB / 0.917 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/0.7423, allocations: 60.44 kB / 0.917 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.625e-05/0.7423, allocations: 54.59 kB / 0.9171 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.7444, allocations: 1.386 MB / 0.9184 GB, free: 5.926 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.008402/0.7528, allocations: 7.3 MB / 0.9255 GB, free: 14.84 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.7543, allocations: 1.022 MB / 0.9265 GB, free: 13.77 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009858/0.7553, allocations: 0.6945 MB / 0.9272 GB, free: 13.07 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00023/0.7556, allocations: 127.5 kB / 0.9273 GB, free: 12.93 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.7556, allocations: 43.56 kB / 0.9274 GB, free: 12.88 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000986/0.7566, allocations: 310.6 kB / 0.9277 GB, free: 12.58 MB / 0.67 GB Notification: Performance of pre-optimization done (n=106): time 4.148e-06/0.7566, allocations: 0 / 0.9277 GB, free: 12.58 MB / 0.67 GB Notification: Performance of matching and sorting (n=112): time 0.007859/0.7645, allocations: 4.528 MB / 0.9321 GB, free: 8 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.63e-05/0.7646, allocations: 167.2 kB / 0.9323 GB, free: 7.797 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.7662, allocations: 1.263 MB / 0.9335 GB, free: 6.523 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-05/0.7663, allocations: 49.7 kB / 0.9335 GB, free: 6.469 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005761/0.7668, allocations: 0.7153 MB / 0.9342 GB, free: 5.754 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003687/0.7672, allocations: 423.9 kB / 0.9346 GB, free: 5.344 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003973/0.7676, allocations: 262.1 kB / 0.9349 GB, free: 5.086 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.7678, allocations: 361.8 kB / 0.9352 GB, free: 4.727 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008442/0.7687, allocations: 0.5309 MB / 0.9358 GB, free: 4.195 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.7698, allocations: 0.8517 MB / 0.9366 GB, free: 3.223 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.01131/0.7811, allocations: 4.786 MB / 0.9413 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.7811, allocations: 8 kB / 0.9413 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002589/0.7837, allocations: 1.626 MB / 0.9429 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.7838, allocations: 8 kB / 0.9429 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.7838, allocations: 8 kB / 0.9429 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.7838, allocations: 16.75 kB / 0.9429 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.7849, allocations: 290.7 kB / 0.9432 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.152e-05/0.785, allocations: 19.09 kB / 0.9432 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.7863, allocations: 49.88 kB / 0.9432 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.7864, allocations: 63.97 kB / 0.9433 GB, free: 12.3 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.0006981/0.7871, allocations: 425.8 kB / 0.9437 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000315/0.7874, allocations: 174.9 kB / 0.9439 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.7896, allocations: 1.286 MB / 0.9451 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.7896, allocations: 16 kB / 0.9451 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.7896, allocations: 4 kB / 0.9451 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001632/0.7913, allocations: 1.24 MB / 0.9464 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005816/0.7971, allocations: 3.761 MB / 0.95 GB, free: 5.238 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.7971, allocations: 8 kB / 0.95 GB, free: 5.23 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.7983, allocations: 255.2 kB / 0.9503 GB, free: 4.996 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.555e-05/0.7983, allocations: 12.72 kB / 0.9503 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.379e-05/0.7984, allocations: 36 kB / 0.9503 GB, free: 4.949 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.005e-05/0.7984, allocations: 29.05 kB / 0.9504 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.61e-05/0.7985, allocations: 21.09 kB / 0.9504 GB, free: 4.91 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002993/0.8015, allocations: 2.226 MB / 0.9525 GB, free: 2.539 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006394/0.8021, allocations: 367.8 kB / 0.9529 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.8023, allocations: 32 kB / 0.9529 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.8033, allocations: 56.62 kB / 0.953 GB, free: 2.078 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.8035, allocations: 104 kB / 0.9531 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.001e-05/0.8036, allocations: 51.98 kB / 0.9531 GB, free: 1.934 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001149/0.8047, allocations: 0.849 MB / 0.954 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8047, allocations: 4 kB / 0.954 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001317/0.8061, allocations: 436 kB / 0.9544 GB, free: 0.6562 MB / 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.003593/0.8097, allocations: 2.902 MB / 0.9572 GB, free: 13.63 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.001983/0.8117, allocations: 1.246 MB / 0.9584 GB, free: 12.44 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.8117, allocations: 0 / 0.9584 GB, free: 12.44 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.0007773/0.8125, allocations: 0.5583 MB / 0.959 GB, free: 11.93 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003945/0.8164, allocations: 0.9309 MB / 0.9599 GB, free: 11.04 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/0.8334, allocations: 12.72 MB / 0.9723 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.8344, allocations: 1.376 MB / 0.9736 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001217/0.8357, allocations: 381.3 kB / 0.974 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009357/0.8366, allocations: 0.6438 MB / 0.9746 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.8366, allocations: 0 / 0.9746 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07879/0.9154, allocations: 43.3 MB / 1.017 GB, free: 0.6562 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/15.89, allocations: 3.75 kB / 1.017 GB, free: 0.6523 MB / 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)