Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.668/1.668, allocations: 225.6 MB / 249.4 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.928/2.928, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 67.89 kB / 1.107 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165/1.167, allocations: 168.7 MB / 1.272 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03531/1.202, allocations: 29.08 MB / 1.3 GB, free: 2.914 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01477/1.217, allocations: 7.982 MB / 1.308 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/1.219, allocations: 42.81 kB / 1.308 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001679/1.22, allocations: 417 kB / 1.308 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00427/1.225, allocations: 1.064 MB / 1.309 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00378/1.229, allocations: 1.074 MB / 1.31 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.008155/1.237, allocations: 4.945 MB / 1.315 GB, free: 9.395 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003258/1.24, allocations: 1.602 MB / 1.317 GB, free: 8.637 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005655/1.246, allocations: 1.835 MB / 1.318 GB, free: 7.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00417/1.25, allocations: 1.515 MB / 1.32 GB, free: 7.148 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.00111/1.251, allocations: 230.8 kB / 1.32 GB, free: 7.148 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005377/1.256, allocations: 1.33 MB / 1.321 GB, free: 6.773 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001726/1.258, allocations: 0.5694 MB / 1.322 GB, free: 6.414 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004553/1.263, allocations: 1.158 MB / 1.323 GB, free: 5.707 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009301/1.272, allocations: 3.694 MB / 1.327 GB, free: 4.414 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/1.272, allocations: 5.031 kB / 1.327 GB, free: 4.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.375e-06/1.272, allocations: 0 / 1.327 GB, free: 4.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001282/1.272, allocations: 0 / 1.327 GB, free: 4.41 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.009002/1.281, allocations: 2.625 MB / 1.329 GB, free: 2.891 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/1.281, allocations: 9.812 kB / 1.329 GB, free: 2.891 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005287/1.282, allocations: 212.7 kB / 1.329 GB, free: 2.762 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/1.283, allocations: 238.8 kB / 1.33 GB, free: 2.652 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00466/1.287, allocations: 1.815 MB / 1.331 GB, free: 1.695 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/1.288, allocations: 111.3 kB / 1.332 GB, free: 1.645 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006074/1.288, allocations: 152.8 kB / 1.332 GB, free: 1.594 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004644/1.293, allocations: 1.995 MB / 1.334 GB, free: 0.7852 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.383e-05/1.293, allocations: 6.562 kB / 1.334 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/1.293, allocations: 65.98 kB / 1.334 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.44e-05/1.293, allocations: 42.2 kB / 1.334 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003584/1.297, allocations: 1.797 MB / 1.336 GB, free: 144 kB / 1.029 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.0163/1.313, allocations: 7.61 MB / 1.343 GB, free: 11.71 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/1.316, allocations: 1.389 MB / 1.344 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/1.317, allocations: 0.6266 MB / 1.345 GB, free: 10.77 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008384/1.325, allocations: 3.862 MB / 1.349 GB, free: 7.531 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.228e-05/1.325, allocations: 44.12 kB / 1.349 GB, free: 7.484 MB / 1.045 GB Notification: Performance of pre-optimization done (n=88): time 3.446e-06/1.325, allocations: 4 kB / 1.349 GB, free: 7.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=88): time 0.003506/1.329, allocations: 1.514 MB / 1.35 GB, free: 6.715 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/1.329, allocations: 68.34 kB / 1.35 GB, free: 6.641 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003099/1.332, allocations: 1.653 MB / 1.352 GB, free: 5.75 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003828/1.332, allocations: 49.16 kB / 1.352 GB, free: 5.703 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009212/1.333, allocations: 0.7672 MB / 1.353 GB, free: 5.031 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005167/1.334, allocations: 330.6 kB / 1.353 GB, free: 4.746 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005458/1.334, allocations: 292.7 kB / 1.353 GB, free: 4.582 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002397/1.334, allocations: 371.6 kB / 1.354 GB, free: 4.23 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/1.336, allocations: 0.6935 MB / 1.354 GB, free: 3.863 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/1.337, allocations: 1.017 MB / 1.355 GB, free: 3.102 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002503/1.34, allocations: 1.623 MB / 1.357 GB, free: 2.02 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/1.34, allocations: 2.781 kB / 1.357 GB, free: 2.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004121/1.344, allocations: 1.96 MB / 1.359 GB, free: 1.012 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/1.344, allocations: 8.875 kB / 1.359 GB, free: 1.012 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/1.344, allocations: 12.06 kB / 1.359 GB, free: 1.008 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.563e-05/1.344, allocations: 15.94 kB / 1.359 GB, free: 1.008 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/1.345, allocations: 335.9 kB / 1.359 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.758e-05/1.345, allocations: 24.14 kB / 1.359 GB, free: 0.918 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/1.348, allocations: 206.9 kB / 1.359 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/1.348, allocations: 58.42 kB / 1.359 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00319/1.351, allocations: 1.284 MB / 1.361 GB, free: 24 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002102/1.353, allocations: 1.02 MB / 1.362 GB, free: 15.26 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003547/1.357, allocations: 1.622 MB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.365e-05/1.357, allocations: 7.906 kB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.004188/1.361, allocations: 1.949 MB / 1.365 GB, free: 13.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.361, allocations: 9.125 kB / 1.365 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/1.361, allocations: 8.75 kB / 1.365 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/1.361, allocations: 20.44 kB / 1.365 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/1.362, allocations: 335.2 kB / 1.366 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.579e-05/1.362, allocations: 24.39 kB / 1.366 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/1.364, allocations: 153 kB / 1.366 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/1.364, allocations: 57.77 kB / 1.366 GB, free: 12.97 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (175): * Single equations (assignments): 175 * 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.0004869/1.365, allocations: 273.2 kB / 1.366 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005433/1.365, allocations: 155.4 kB / 1.366 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/1.368, allocations: 1.283 MB / 1.367 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/1.368, allocations: 9.688 kB / 1.367 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.368, allocations: 0 / 1.367 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00175/1.37, allocations: 1.286 MB / 1.369 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006758/1.376, allocations: 2.955 MB / 1.372 GB, free: 9.109 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.376, allocations: 2.031 kB / 1.372 GB, free: 9.109 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009323/1.377, allocations: 185.5 kB / 1.372 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/1.377, allocations: 3.812 kB / 1.372 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-05/1.377, allocations: 24.64 kB / 1.372 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/1.377, allocations: 4.406 kB / 1.372 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.377, allocations: 5.312 kB / 1.372 GB, free: 9.047 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003583/1.381, allocations: 1.926 MB / 1.374 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/1.382, allocations: 410.4 kB / 1.374 GB, free: 7.629 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006188/1.383, allocations: 19.03 kB / 1.374 GB, free: 7.617 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/1.384, allocations: 50.86 kB / 1.374 GB, free: 7.586 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/1.384, allocations: 63.03 kB / 1.374 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/1.384, allocations: 43.03 kB / 1.374 GB, free: 7.531 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002848/1.387, allocations: 1.236 MB / 1.375 GB, free: 6.867 MB / 1.061 GB Notification: Performance of sort global known variables: time 3e-07/1.387, allocations: 0 / 1.375 GB, free: 6.867 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.004754/1.392, allocations: 0.9234 MB / 1.376 GB, free: 6.684 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * 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 (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00474/1.397, allocations: 2.736 MB / 1.379 GB, free: 4.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004363/1.401, allocations: 2.224 MB / 1.381 GB, free: 2.961 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.401, allocations: 4 kB / 1.381 GB, free: 2.957 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008631/1.402, allocations: 0.4935 MB / 1.382 GB, free: 2.461 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004912/1.407, allocations: 0.9269 MB / 1.383 GB, free: 1.566 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02666/1.434, allocations: 15.14 MB / 1.397 GB, free: 2.043 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/1.435, allocations: 1.678 MB / 1.399 GB, free: 336 kB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.003077/1.438, allocations: 0.9188 MB / 1.4 GB, free: 15.42 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/1.439, allocations: 0.6242 MB / 1.401 GB, free: 14.8 MB / 1.092 GB Notification: Performance of SimCode: time 1.172e-06/1.439, allocations: 0 / 1.401 GB, free: 14.8 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2247/1.664, allocations: 49.67 MB / 1.449 GB, free: 13.65 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/12.94, allocations: 9.812 kB / 1.449 GB, free: 13.64 MB / 1.139 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger_res.csv --start-time 0 --stop-time 15 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_11_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > Buildings_11_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.745439794001868] Failed to read output from testmodel.py, exit status != 0: 13.036759987997357 13.056820004 11.78081708 Calling exit ...