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.007739/0.007739, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001914/0.001914, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8359/0.8359, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 66.52 kB / 0.5852 GB, free: 21.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.128, allocations: 80.92 MB / 0.6642 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.512/0.64, allocations: 222.6 MB / 0.8815 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01599/0.656, allocations: 12.1 MB / 0.8934 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002098/0.6582, allocations: 75.56 kB / 0.8934 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.6602, allocations: 0.8889 MB / 0.8943 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006877/0.6671, allocations: 2.961 MB / 0.8972 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003362/0.6704, allocations: 1.431 MB / 0.8986 GB, free: 15.27 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005064/0.6755, allocations: 4.448 MB / 0.9029 GB, free: 10.81 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002393/0.6779, allocations: 1.713 MB / 0.9046 GB, free: 9.062 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005418/0.6834, allocations: 2.557 MB / 0.9071 GB, free: 6.508 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002829/0.6862, allocations: 1.548 MB / 0.9086 GB, free: 4.977 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004906/0.6867, allocations: 183.9 kB / 0.9088 GB, free: 4.797 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004463/0.6912, allocations: 2.175 MB / 0.9109 GB, free: 2.617 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009448/0.6921, allocations: 0.6973 MB / 0.9116 GB, free: 1.918 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001824/0.694, allocations: 1.042 MB / 0.9126 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005124/0.6991, allocations: 3.348 MB / 0.9159 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.6991, allocations: 4 kB / 0.9159 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of FrontEnd: time 9.02e-07/0.6991, allocations: 3.938 kB / 0.9159 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.206e-05/0.6992, allocations: 0 / 0.9159 GB, free: 13.5 MB / 0.6856 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.004559/0.7038, allocations: 2.344 MB / 0.9182 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.7038, allocations: 13.11 kB / 0.9182 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003688/0.7042, allocations: 202.8 kB / 0.9184 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003204/0.7074, allocations: 0.51 MB / 0.9189 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002527/0.7099, allocations: 1.338 MB / 0.9202 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.952e-05/0.71, allocations: 118.8 kB / 0.9203 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002594/0.7103, allocations: 144 kB / 0.9204 GB, free: 8.719 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002778/0.7131, allocations: 1.76 MB / 0.9222 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.897e-05/0.7131, allocations: 3.938 kB / 0.9222 GB, free: 6.844 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.7133, allocations: 60 kB / 0.9222 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.297e-05/0.7134, allocations: 54.53 kB / 0.9223 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.7156, allocations: 1.395 MB / 0.9236 GB, free: 5.328 MB / 0.6856 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.008525/0.7241, allocations: 7.298 MB / 0.9308 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.7255, allocations: 1.023 MB / 0.9318 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009966/0.7266, allocations: 0.6984 MB / 0.9324 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002017/0.7268, allocations: 106.1 kB / 0.9325 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.7268, allocations: 59.5 kB / 0.9326 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001084/0.7279, allocations: 311 kB / 0.9329 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=106): time 7.294e-06/0.7279, allocations: 4 kB / 0.9329 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of matching and sorting (n=112): time 0.008313/0.7363, allocations: 4.515 MB / 0.9373 GB, free: 6.785 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.7364, allocations: 167.2 kB / 0.9375 GB, free: 6.586 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.738, allocations: 1.263 MB / 0.9387 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.7381, allocations: 57.64 kB / 0.9388 GB, free: 5.25 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005281/0.7386, allocations: 0.7098 MB / 0.9395 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003854/0.739, allocations: 432.4 kB / 0.9399 GB, free: 4.109 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003898/0.7394, allocations: 259.5 kB / 0.9401 GB, free: 3.852 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7396, allocations: 365.9 kB / 0.9405 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008461/0.7404, allocations: 0.5192 MB / 0.941 GB, free: 2.969 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.7415, allocations: 0.8479 MB / 0.9418 GB, free: 1.996 MB / 0.7012 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.7525, allocations: 4.784 MB / 0.9465 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.7526, allocations: 4 kB / 0.9465 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002472/0.755, allocations: 1.632 MB / 0.9481 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.7551, allocations: 8 kB / 0.9481 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.7551, allocations: 11.94 kB / 0.9481 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/0.7551, allocations: 12 kB / 0.9481 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.7563, allocations: 292.1 kB / 0.9484 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-05/0.7563, allocations: 19.94 kB / 0.9484 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.7577, allocations: 47.98 kB / 0.9484 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.7578, allocations: 59.97 kB / 0.9485 GB, free: 10.96 MB / 0.7169 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.0006518/0.7585, allocations: 431.7 kB / 0.9489 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003603/0.7588, allocations: 170.9 kB / 0.9491 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/0.7609, allocations: 1.295 MB / 0.9503 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.7609, allocations: 12 kB / 0.9504 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.7609, allocations: 0 / 0.9504 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001501/0.7624, allocations: 1.244 MB / 0.9516 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005683/0.7681, allocations: 3.762 MB / 0.9552 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/0.7682, allocations: 8 kB / 0.9552 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.7693, allocations: 255.7 kB / 0.9555 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.942e-05/0.7694, allocations: 19.98 kB / 0.9555 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-05/0.7695, allocations: 40.55 kB / 0.9555 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.605e-05/0.7695, allocations: 15.94 kB / 0.9556 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-05/0.7695, allocations: 23.88 kB / 0.9556 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002727/0.7722, allocations: 2.235 MB / 0.9578 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006662/0.7729, allocations: 363.9 kB / 0.9581 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/0.7732, allocations: 39.98 kB / 0.9582 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.7743, allocations: 51.59 kB / 0.9582 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.7745, allocations: 100.3 kB / 0.9583 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.105e-05/0.7746, allocations: 55.98 kB / 0.9584 GB, free: 424 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00108/0.7756, allocations: 0.849 MB / 0.9592 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7756, allocations: 0 / 0.9592 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001284/0.7769, allocations: 436 kB / 0.9596 GB, free: 15.14 MB / 0.7325 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.003299/0.7802, allocations: 2.891 MB / 0.9624 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001903/0.7822, allocations: 1.255 MB / 0.9636 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.7822, allocations: 4 kB / 0.9637 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007547/0.7829, allocations: 0.5526 MB / 0.9642 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004308/0.7873, allocations: 0.933 MB / 0.9651 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/0.8052, allocations: 12.72 MB / 0.9775 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.8063, allocations: 1.376 MB / 0.9789 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001377/0.8077, allocations: 385.5 kB / 0.9792 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009792/0.8087, allocations: 0.6438 MB / 0.9799 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of SimCode: time 5.91e-07/0.8087, allocations: 3.938 kB / 0.9799 GB, free: 9.531 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07189/0.8806, allocations: 43.29 MB / 1.022 GB, free: 14.69 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/15.65, allocations: 15.66 kB / 1.022 GB, free: 14.68 MB / 0.795 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)