Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.CoupledVolumesWater,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="IDEAS_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.007657/0.007657, allocations: 98.02 kB / 15.73 MB, free: 6.004 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.00203/0.00203, allocations: 199.3 kB / 16.68 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8251/0.8251, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 63.92 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1704, allocations: 80.2 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02895/0.1994, allocations: 26.26 MB / 0.6848 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.2103, allocations: 7.117 MB / 0.6918 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.2116, allocations: 39.75 kB / 0.6918 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.2128, allocations: 385.5 kB / 0.6922 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003124/0.216, allocations: 1.1 MB / 0.6933 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002759/0.2188, allocations: 0.9579 MB / 0.6942 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003496/0.2223, allocations: 2.085 MB / 0.6962 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009585/0.2232, allocations: 0.6179 MB / 0.6968 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002041/0.2253, allocations: 0.7322 MB / 0.6976 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008807/0.2262, allocations: 0.5366 MB / 0.6981 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.2263, allocations: 56 kB / 0.6981 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.2281, allocations: 0.8149 MB / 0.6989 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.2283, allocations: 171.4 kB / 0.6991 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004346/0.2287, allocations: 386.1 kB / 0.6995 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.2309, allocations: 1.218 MB / 0.7007 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2309, allocations: 0 / 0.7007 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2309, allocations: 0 / 0.7007 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.055e-05/0.2309, allocations: 0 / 0.7007 GB, free: 3.379 MB / 0.5294 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.001873/0.2328, allocations: 1.085 MB / 0.7017 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.2329, allocations: 12.03 kB / 0.7017 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.233, allocations: 86.7 kB / 0.7018 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000332/0.2333, allocations: 88.47 kB / 0.7019 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.2347, allocations: 0.7408 MB / 0.7026 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.2347, allocations: 37 kB / 0.7026 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.617e-05/0.2348, allocations: 44 kB / 0.7027 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008053/0.2356, allocations: 0.5001 MB / 0.7032 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.2356, allocations: 0 / 0.7032 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.146e-05/0.2357, allocations: 20 kB / 0.7032 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.2357, allocations: 12 kB / 0.7032 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005423/0.2363, allocations: 319.7 kB / 0.7035 GB, free: 312 kB / 0.5294 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.00311/0.2394, allocations: 2.76 MB / 0.7062 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.2397, allocations: 194.5 kB / 0.7064 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.2399, allocations: 109.2 kB / 0.7065 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003553/0.2403, allocations: 336.4 kB / 0.7068 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.2403, allocations: 38.56 kB / 0.7069 GB, free: 12.54 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 4.008e-06/0.2403, allocations: 0 / 0.7069 GB, free: 12.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0006017/0.241, allocations: 310.6 kB / 0.7072 GB, free: 12.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.241, allocations: 55.41 kB / 0.7072 GB, free: 12.17 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006161/0.2416, allocations: 0.5264 MB / 0.7077 GB, free: 11.63 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.2417, allocations: 33.7 kB / 0.7078 GB, free: 11.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.242, allocations: 356 kB / 0.7081 GB, free: 11.24 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.828e-05/0.242, allocations: 83.25 kB / 0.7082 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.2422, allocations: 77.66 kB / 0.7082 GB, free: 11.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.2423, allocations: 366.7 kB / 0.7086 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.2425, allocations: 100.8 kB / 0.7087 GB, free: 10.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.2428, allocations: 233.9 kB / 0.7089 GB, free: 10.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004277/0.2432, allocations: 340.2 kB / 0.7092 GB, free: 9.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2432, allocations: 0 / 0.7092 GB, free: 9.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006258/0.2439, allocations: 396.8 kB / 0.7096 GB, free: 9.535 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.2439, allocations: 9.719 kB / 0.7096 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.2439, allocations: 7.984 kB / 0.7096 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.244, allocations: 4 kB / 0.7096 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.2443, allocations: 83.84 kB / 0.7097 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.2443, allocations: 7.938 kB / 0.7097 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.2446, allocations: 44.27 kB / 0.7098 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.2447, allocations: 16 kB / 0.7098 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003442/0.245, allocations: 248 kB / 0.71 GB, free: 9.121 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002725/0.2453, allocations: 231.7 kB / 0.7102 GB, free: 8.832 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004099/0.2457, allocations: 336.1 kB / 0.7106 GB, free: 8.445 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.048e-06/0.2457, allocations: 3.984 kB / 0.7106 GB, free: 8.441 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005829/0.2463, allocations: 396.7 kB / 0.7109 GB, free: 8.047 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.2463, allocations: 8 kB / 0.711 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2463, allocations: 7.938 kB / 0.711 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.2464, allocations: 4.562 kB / 0.711 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.2466, allocations: 87.84 kB / 0.711 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2466, allocations: 7.938 kB / 0.7111 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.2469, allocations: 35.77 kB / 0.7111 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.247, allocations: 20 kB / 0.7111 GB, free: 7.879 MB / 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.0001719/0.2472, allocations: 204.1 kB / 0.7113 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.2473, allocations: 63.56 kB / 0.7114 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005094/0.2478, allocations: 284.1 kB / 0.7116 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.2478, allocations: 4 kB / 0.7116 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2478, allocations: 0 / 0.7116 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004022/0.2482, allocations: 373.4 kB / 0.712 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.2497, allocations: 1.068 MB / 0.713 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.2497, allocations: 4 kB / 0.713 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.25, allocations: 47.92 kB / 0.7131 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.25, allocations: 4 kB / 0.7131 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.25, allocations: 11.98 kB / 0.7131 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.25, allocations: 8 kB / 0.7131 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.25, allocations: 7.938 kB / 0.7131 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006794/0.2507, allocations: 0.5072 MB / 0.7136 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.2509, allocations: 184.5 kB / 0.7138 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.647e-05/0.251, allocations: 4 kB / 0.7138 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003213/0.2513, allocations: 15.98 kB / 0.7138 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.2514, allocations: 31.84 kB / 0.7138 GB, free: 4.859 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.582e-05/0.2514, allocations: 24.05 kB / 0.7139 GB, free: 4.836 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005058/0.252, allocations: 403.1 kB / 0.7142 GB, free: 4.438 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.252, allocations: 0 / 0.7142 GB, free: 4.438 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001034/0.253, allocations: 359.2 kB / 0.7146 GB, free: 4.086 MB / 0.545 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.001585/0.2546, allocations: 1.272 MB / 0.7158 GB, free: 2.773 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007071/0.2553, allocations: 400.8 kB / 0.7162 GB, free: 2.383 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/0.2553, allocations: 11.94 kB / 0.7162 GB, free: 2.371 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.2555, allocations: 99.83 kB / 0.7163 GB, free: 2.273 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.2572, allocations: 387.5 kB / 0.7167 GB, free: 1.918 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005832/0.263, allocations: 4.412 MB / 0.721 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005409/0.2636, allocations: 0.8981 MB / 0.7219 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000581/0.2642, allocations: 160.2 kB / 0.722 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/0.2645, allocations: 227.3 kB / 0.7222 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/0.2645, allocations: 3.938 kB / 0.7222 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04754/0.3121, allocations: 17.93 MB / 0.7398 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.937/9.249, allocations: 8.047 kB / 0.7398 GB, free: 10.36 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)