Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="IBPSA_latest_IBPSA_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.00157/0.00157, allocations: 103.2 kB / 16.4 MB, free: 6.016 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.00167/0.00167, allocations: 195.4 kB / 17.34 MB, free: 5.605 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.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.711/0.711, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 65.62 kB / 0.568 GB, free: 28.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.147, allocations: 77.93 MB / 0.6441 GB, free: 9.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02814/0.1752, allocations: 26.25 MB / 0.6697 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01092/0.1861, allocations: 7.135 MB / 0.6767 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.1876, allocations: 39.75 kB / 0.6767 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.189, allocations: 401.5 kB / 0.6771 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003393/0.1924, allocations: 1.164 MB / 0.6782 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.1951, allocations: 0.9644 MB / 0.6792 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003074/0.1982, allocations: 2.095 MB / 0.6812 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.1994, allocations: 0.6218 MB / 0.6818 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002/0.2014, allocations: 0.7411 MB / 0.6825 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.2024, allocations: 0.5366 MB / 0.6831 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001997/0.2026, allocations: 55.94 kB / 0.6831 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.2045, allocations: 0.8149 MB / 0.6839 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002957/0.2048, allocations: 175.4 kB / 0.6841 GB, free: 432 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006508/0.2055, allocations: 386.1 kB / 0.6844 GB, free: 44 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002353/0.2078, allocations: 1.211 MB / 0.6856 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2079, allocations: 0 / 0.6856 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2079, allocations: 0 / 0.6856 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.458e-05/0.2079, allocations: 0 / 0.6856 GB, free: 14.83 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.002038/0.2099, allocations: 1.085 MB / 0.6867 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.21, allocations: 8.625 kB / 0.6867 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/0.2101, allocations: 82.72 kB / 0.6868 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003565/0.2105, allocations: 92.41 kB / 0.6869 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.212, allocations: 0.7455 MB / 0.6876 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/0.2121, allocations: 33 kB / 0.6876 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.858e-05/0.2122, allocations: 47.95 kB / 0.6877 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008954/0.2131, allocations: 0.4962 MB / 0.6882 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.2131, allocations: 4 kB / 0.6882 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.778e-05/0.2131, allocations: 19.98 kB / 0.6882 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.2132, allocations: 12 kB / 0.6882 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005367/0.2137, allocations: 319.7 kB / 0.6885 GB, free: 11.76 MB / 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.00321/0.2169, allocations: 2.76 MB / 0.6912 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.2173, allocations: 190.6 kB / 0.6914 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.2174, allocations: 108.7 kB / 0.6915 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003186/0.2178, allocations: 336.8 kB / 0.6918 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.2178, allocations: 42.5 kB / 0.6918 GB, free: 8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=22): time 3.236e-06/0.2178, allocations: 0 / 0.6918 GB, free: 8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22): time 0.0007863/0.2186, allocations: 306.3 kB / 0.6921 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.2187, allocations: 59.34 kB / 0.6922 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006524/0.2193, allocations: 0.5303 MB / 0.6927 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.2194, allocations: 29.7 kB / 0.6927 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.2196, allocations: 356 kB / 0.6931 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.88e-05/0.2197, allocations: 87.25 kB / 0.6932 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.2198, allocations: 81.61 kB / 0.6932 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.22, allocations: 358.8 kB / 0.6936 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.2202, allocations: 108.7 kB / 0.6937 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.2205, allocations: 231.6 kB / 0.6939 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004013/0.2209, allocations: 343.4 kB / 0.6942 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2209, allocations: 0 / 0.6942 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006111/0.2215, allocations: 396.8 kB / 0.6946 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2215, allocations: 8 kB / 0.6946 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.2215, allocations: 4 kB / 0.6946 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.2216, allocations: 4 kB / 0.6946 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.2218, allocations: 76.47 kB / 0.6947 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.2219, allocations: 7.938 kB / 0.6947 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003755/0.2222, allocations: 51.72 kB / 0.6947 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.2223, allocations: 12 kB / 0.6948 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000357/0.2226, allocations: 248 kB / 0.695 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002385/0.2229, allocations: 230 kB / 0.6952 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004036/0.2233, allocations: 335.2 kB / 0.6955 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.328e-06/0.2233, allocations: 0 / 0.6955 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005784/0.2239, allocations: 392.8 kB / 0.6959 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.2239, allocations: 8 kB / 0.6959 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.2239, allocations: 4.562 kB / 0.6959 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/0.224, allocations: 8 kB / 0.6959 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.2242, allocations: 75.91 kB / 0.696 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.2242, allocations: 11.88 kB / 0.696 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.2246, allocations: 39.77 kB / 0.696 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.2246, allocations: 16 kB / 0.6961 GB, free: 3.355 MB / 0.5294 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.0001367/0.2247, allocations: 200.6 kB / 0.6963 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.2249, allocations: 63.56 kB / 0.6963 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.2254, allocations: 283.1 kB / 0.6966 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.2254, allocations: 7.938 kB / 0.6966 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2254, allocations: 3.938 kB / 0.6966 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003643/0.2258, allocations: 380.9 kB / 0.697 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.2272, allocations: 1.057 MB / 0.698 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.2272, allocations: 4 kB / 0.698 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.2274, allocations: 47.92 kB / 0.698 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.2274, allocations: 11.98 kB / 0.6981 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.2275, allocations: 8 kB / 0.6981 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.2275, allocations: 7.938 kB / 0.6981 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2275, allocations: 12.22 kB / 0.6981 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/0.2281, allocations: 0.5204 MB / 0.6986 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/0.2284, allocations: 180.6 kB / 0.6988 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.138e-05/0.2285, allocations: 8 kB / 0.6988 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.2288, allocations: 15.98 kB / 0.6988 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.2289, allocations: 31.97 kB / 0.6988 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.2289, allocations: 15.98 kB / 0.6988 GB, free: 304 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005243/0.2295, allocations: 407.1 kB / 0.6992 GB, free: 15.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2295, allocations: 0 / 0.6992 GB, free: 15.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001009/0.2305, allocations: 355.2 kB / 0.6996 GB, free: 15.55 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.001499/0.232, allocations: 1.264 MB / 0.7008 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006806/0.2327, allocations: 413.2 kB / 0.7012 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2327, allocations: 0 / 0.7012 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.2329, allocations: 105.4 kB / 0.7013 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.2345, allocations: 378.3 kB / 0.7016 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006108/0.2406, allocations: 4.443 MB / 0.706 GB, free: 8.695 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.2412, allocations: 0.902 MB / 0.7069 GB, free: 7.766 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005685/0.2418, allocations: 157.1 kB / 0.707 GB, free: 7.613 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.2421, allocations: 215.4 kB / 0.7072 GB, free: 7.402 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.2421, allocations: 0 / 0.7072 GB, free: 7.402 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04487/0.287, allocations: 17.97 MB / 0.7248 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.46/8.747, allocations: 1.406 kB / 0.7248 GB, free: 5.703 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)