Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.CoupledVolumesWater,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater",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.00871/0.00871, allocations: 101 kB / 15.73 MB, free: 6.059 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.001713/0.001713, allocations: 195.3 kB / 16.68 MB, free: 5.969 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7994/0.7994, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 67.55 kB / 0.5851 GB, free: 22.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1553, allocations: 80.92 MB / 0.6642 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.03261/0.188, allocations: 26.27 MB / 0.6898 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009736/0.1978, allocations: 7.115 MB / 0.6968 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.1991, allocations: 35.81 kB / 0.6968 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.2004, allocations: 401.5 kB / 0.6972 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002933/0.2033, allocations: 1.151 MB / 0.6983 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.2058, allocations: 0.9587 MB / 0.6992 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002699/0.2085, allocations: 2.096 MB / 0.7013 GB, free: 292 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009126/0.2094, allocations: 0.6216 MB / 0.7019 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/0.2112, allocations: 0.7547 MB / 0.7026 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009002/0.2121, allocations: 0.5366 MB / 0.7031 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.2122, allocations: 56 kB / 0.7032 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.2138, allocations: 0.8071 MB / 0.704 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.214, allocations: 175.4 kB / 0.7042 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003926/0.2144, allocations: 382.2 kB / 0.7045 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.2159, allocations: 1.222 MB / 0.7057 GB, free: 11.72 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.216, allocations: 0 / 0.7057 GB, free: 11.72 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.216, allocations: 4 kB / 0.7057 GB, free: 11.72 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.216, allocations: 0 / 0.7057 GB, free: 11.72 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001407/0.2174, allocations: 1.077 MB / 0.7068 GB, free: 10.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.2175, allocations: 13.11 kB / 0.7068 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.592e-05/0.2176, allocations: 86.66 kB / 0.7069 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002886/0.2179, allocations: 88.45 kB / 0.7069 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.219, allocations: 0.7448 MB / 0.7077 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.2191, allocations: 33 kB / 0.7077 GB, free: 9.574 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.94e-05/0.2192, allocations: 44 kB / 0.7078 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007449/0.2199, allocations: 0.4962 MB / 0.7082 GB, free: 9.004 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.2199, allocations: 7.938 kB / 0.7082 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.645e-05/0.22, allocations: 23.97 kB / 0.7083 GB, free: 8.973 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.22, allocations: 12 kB / 0.7083 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000478/0.2205, allocations: 323.6 kB / 0.7086 GB, free: 8.645 MB / 0.545 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.002659/0.2232, allocations: 2.752 MB / 0.7113 GB, free: 5.652 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.2235, allocations: 206.4 kB / 0.7115 GB, free: 5.441 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.2237, allocations: 101.1 kB / 0.7116 GB, free: 5.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002869/0.224, allocations: 340.4 kB / 0.7119 GB, free: 4.934 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.224, allocations: 38.56 kB / 0.7119 GB, free: 4.887 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.263e-06/0.224, allocations: 0 / 0.7119 GB, free: 4.887 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0005271/0.2245, allocations: 310.2 kB / 0.7122 GB, free: 4.578 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.2246, allocations: 55.41 kB / 0.7123 GB, free: 4.512 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005292/0.2251, allocations: 0.5225 MB / 0.7128 GB, free: 3.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.2251, allocations: 33.7 kB / 0.7128 GB, free: 3.941 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.2254, allocations: 352 kB / 0.7132 GB, free: 3.594 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.33e-05/0.2254, allocations: 87.34 kB / 0.7132 GB, free: 3.508 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.2255, allocations: 81.64 kB / 0.7133 GB, free: 3.422 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.2257, allocations: 362.7 kB / 0.7137 GB, free: 3.059 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.2258, allocations: 96.77 kB / 0.7138 GB, free: 2.961 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.226, allocations: 233.9 kB / 0.714 GB, free: 2.668 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.2264, allocations: 339.9 kB / 0.7143 GB, free: 2.277 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2264, allocations: 4 kB / 0.7143 GB, free: 2.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005242/0.227, allocations: 392.8 kB / 0.7147 GB, free: 1.883 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.227, allocations: 9.875 kB / 0.7147 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.227, allocations: 7.984 kB / 0.7147 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.227, allocations: 4 kB / 0.7147 GB, free: 1.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.2273, allocations: 75.84 kB / 0.7148 GB, free: 1.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.2273, allocations: 11.94 kB / 0.7148 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003412/0.2276, allocations: 48.22 kB / 0.7148 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.2277, allocations: 16 kB / 0.7148 GB, free: 1.715 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002721/0.228, allocations: 244.1 kB / 0.7151 GB, free: 1.473 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000223/0.2282, allocations: 237.8 kB / 0.7153 GB, free: 1.176 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003459/0.2285, allocations: 332 kB / 0.7156 GB, free: 0.793 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.2286, allocations: 0 / 0.7156 GB, free: 0.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005662/0.2291, allocations: 392.8 kB / 0.716 GB, free: 412 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.2291, allocations: 8 kB / 0.716 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2292, allocations: 7.938 kB / 0.716 GB, free: 396 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.2292, allocations: 8.547 kB / 0.716 GB, free: 388 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.2294, allocations: 79.84 kB / 0.7161 GB, free: 308 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2294, allocations: 11.94 kB / 0.7161 GB, free: 296 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.2297, allocations: 43.77 kB / 0.7161 GB, free: 252 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.2298, allocations: 12 kB / 0.7162 GB, free: 240 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0001186/0.2299, allocations: 209.8 kB / 0.7164 GB, free: 24 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.23, allocations: 59.66 kB / 0.7164 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004433/0.2305, allocations: 282.5 kB / 0.7167 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.2305, allocations: 7.938 kB / 0.7167 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2305, allocations: 3.984 kB / 0.7167 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003378/0.2308, allocations: 381.3 kB / 0.7171 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.2322, allocations: 1.049 MB / 0.7181 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2322, allocations: 0 / 0.7181 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.2325, allocations: 55.91 kB / 0.7181 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.2325, allocations: 4 kB / 0.7181 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.2325, allocations: 8 kB / 0.7182 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.2325, allocations: 7.984 kB / 0.7182 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2325, allocations: 0 / 0.7182 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006053/0.2331, allocations: 0.5314 MB / 0.7187 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.2333, allocations: 180.6 kB / 0.7188 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.465e-05/0.2334, allocations: 8 kB / 0.7189 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/0.2338, allocations: 15.98 kB / 0.7189 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/0.2338, allocations: 23.86 kB / 0.7189 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.2338, allocations: 20.05 kB / 0.7189 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004253/0.2343, allocations: 415.1 kB / 0.7193 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2343, allocations: 0 / 0.7193 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009206/0.2352, allocations: 351.2 kB / 0.7196 GB, free: 12.43 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001272/0.2365, allocations: 1.262 MB / 0.7209 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006069/0.2371, allocations: 409.7 kB / 0.7213 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.2371, allocations: 4 kB / 0.7213 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.2373, allocations: 103.8 kB / 0.7214 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.2389, allocations: 386.8 kB / 0.7217 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004823/0.2437, allocations: 4.426 MB / 0.7261 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.2441, allocations: 0.902 MB / 0.7269 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004711/0.2446, allocations: 155.7 kB / 0.7271 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.2449, allocations: 219.3 kB / 0.7273 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of SimCode: time 1.453e-06/0.2449, allocations: 0 / 0.7273 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0381/0.283, allocations: 17.96 MB / 0.7448 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.492/8.775, allocations: 14.73 kB / 0.7449 GB, free: 2.59 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)