Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008737/0.0008737, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008019/0.0008019, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8397/0.8397, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.602/0.602, allocations: 88.07 MB / 348.8 MB, free: 14.38 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.5246 GB, free: 2.402 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.435e-05, allocations: 3.828 kB / 0.5246 GB, free: 2.398 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001917/0.001941, allocations: 1.373 MB / 0.526 GB, free: 1.016 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.000839/0.00278, allocations: 0.5185 MB / 0.5265 GB, free: 0.4961 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.549e-05/0.002836, allocations: 3.938 kB / 0.5265 GB, free: 0.4922 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.002946, allocations: 7.922 kB / 0.5265 GB, free: 496 kB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004122/0.003359, allocations: 67.59 kB / 0.5265 GB, free: 428 kB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.468e-05/0.003453, allocations: 39.83 kB / 0.5266 GB, free: 388 kB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004067/0.00386, allocations: 0.5536 MB / 0.5271 GB, free: 15.82 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.005e-05/0.00392, allocations: 12.19 kB / 0.5271 GB, free: 15.81 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003235/0.004243, allocations: 259.6 kB / 0.5274 GB, free: 15.56 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.004565, allocations: 271.5 kB / 0.5276 GB, free: 15.29 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.004622, allocations: 28 kB / 0.5277 GB, free: 15.27 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.004756, allocations: 59.95 kB / 0.5277 GB, free: 15.21 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.004969, allocations: 243.5 kB / 0.528 GB, free: 14.97 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.005116, allocations: 187.5 kB / 0.5281 GB, free: 14.79 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003785/0.005494, allocations: 494.3 kB / 0.5286 GB, free: 14.3 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.005498, allocations: 0 / 0.5286 GB, free: 14.3 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.313e-06/0.005499, allocations: 0 / 0.5286 GB, free: 14.3 MB / 458.8 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.005504, allocations: 0 / 0.5286 GB, free: 14.3 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001079/0.006583, allocations: 0.7551 MB / 0.5293 GB, free: 13.52 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.006618, allocations: 8.031 kB / 0.5293 GB, free: 13.51 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.685e-05/0.006685, allocations: 78.72 kB / 0.5294 GB, free: 13.42 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.699e-05/0.006752, allocations: 48.69 kB / 0.5295 GB, free: 13.38 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.007044, allocations: 261.1 kB / 0.5297 GB, free: 13.09 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.007068, allocations: 37.06 kB / 0.5298 GB, free: 13.06 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.562e-05/0.007144, allocations: 59.91 kB / 0.5298 GB, free: 13 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005932/0.007737, allocations: 0.5879 MB / 0.5304 GB, free: 12.41 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.007747, allocations: 0 / 0.5304 GB, free: 12.41 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.007779, allocations: 23.98 kB / 0.5304 GB, free: 12.38 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.007789, allocations: 12 kB / 0.5304 GB, free: 12.37 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005791/0.008368, allocations: 0.5816 MB / 0.531 GB, free: 11.79 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.008871, allocations: 0.5428 MB / 0.5315 GB, free: 11.2 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.01066, allocations: 1.323 MB / 0.5328 GB, free: 9.863 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004196/0.01108, allocations: 431.5 kB / 0.5332 GB, free: 9.441 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.0112, allocations: 20.98 kB / 0.5332 GB, free: 9.422 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.01122, allocations: 43.56 kB / 0.5333 GB, free: 9.371 MB / 458.8 MB Notification: Performance of pre-optimization done (n=103): time 1.893e-06/0.01123, allocations: 0 / 0.5333 GB, free: 9.371 MB / 458.8 MB Notification: Performance of matching and sorting (n=103): time 0.001395/0.01262, allocations: 1.346 MB / 0.5346 GB, free: 8.023 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.01265, allocations: 60.41 kB / 0.5347 GB, free: 7.953 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.01276, allocations: 183.3 kB / 0.5348 GB, free: 7.766 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.01279, allocations: 45.7 kB / 0.5349 GB, free: 7.715 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.01283, allocations: 102.1 kB / 0.535 GB, free: 7.613 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.01303, allocations: 428.3 kB / 0.5354 GB, free: 7.191 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.01319, allocations: 195 kB / 0.5356 GB, free: 6.996 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.01329, allocations: 374.8 kB / 0.5359 GB, free: 6.621 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004969/0.01379, allocations: 474.2 kB / 0.5364 GB, free: 6.156 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.01426, allocations: 487.5 kB / 0.5368 GB, free: 5.68 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.01526, allocations: 1.044 MB / 0.5379 GB, free: 4.633 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.01526, allocations: 3.938 kB / 0.5379 GB, free: 4.629 MB / 458.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001174/0.01644, allocations: 1.242 MB / 0.5391 GB, free: 3.379 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.01645, allocations: 8 kB / 0.5391 GB, free: 3.371 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.01646, allocations: 0 / 0.5391 GB, free: 3.371 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.01647, allocations: 4 kB / 0.5391 GB, free: 3.367 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005317/0.017, allocations: 275.6 kB / 0.5394 GB, free: 3.098 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.01701, allocations: 4 kB / 0.5394 GB, free: 3.094 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.01717, allocations: 79.36 kB / 0.5394 GB, free: 3.016 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.01721, allocations: 39.92 kB / 0.5395 GB, free: 2.977 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (144): * Single equations (assignments): 144 * 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.0001546/0.01736, allocations: 209.5 kB / 0.5397 GB, free: 2.762 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.01742, allocations: 47.72 kB / 0.5397 GB, free: 2.715 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.01879, allocations: 1.396 MB / 0.5411 GB, free: 1.312 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.0188, allocations: 16 kB / 0.5411 GB, free: 1.297 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.01881, allocations: 3.938 kB / 0.5411 GB, free: 1.293 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.01882, allocations: 15.95 kB / 0.5411 GB, free: 1.277 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005576/0.01937, allocations: 0.6679 MB / 0.5418 GB, free: 0.5703 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.01938, allocations: 0 / 0.5418 GB, free: 0.5703 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007226/0.0201, allocations: 299.7 kB / 0.542 GB, free: 284 kB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.02011, allocations: 4 kB / 0.5421 GB, free: 280 kB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-05/0.02016, allocations: 55.95 kB / 0.5421 GB, free: 224 kB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.02017, allocations: 11.94 kB / 0.5421 GB, free: 212 kB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.02017, allocations: 0 / 0.5421 GB, free: 212 kB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.02195, allocations: 1.848 MB / 0.5439 GB, free: 14.33 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.02215, allocations: 179.1 kB / 0.5441 GB, free: 14.15 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/0.02221, allocations: 35.98 kB / 0.5441 GB, free: 14.12 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.02235, allocations: 28 kB / 0.5442 GB, free: 14.09 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.218e-05/0.02245, allocations: 93.12 kB / 0.5442 GB, free: 14 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.02249, allocations: 39.98 kB / 0.5443 GB, free: 13.96 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.853e-05/0.02254, allocations: 131.2 kB / 0.5444 GB, free: 13.83 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.02254, allocations: 0 / 0.5444 GB, free: 13.83 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.000297/0.02284, allocations: 232 kB / 0.5446 GB, free: 13.61 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20]) * 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 (144): * Single equations (assignments): 144 * 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.001976/0.02482, allocations: 2.464 MB / 0.547 GB, free: 11.12 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.02586, allocations: 1.089 MB / 0.5481 GB, free: 10.03 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.02586, allocations: 0 / 0.5481 GB, free: 10.03 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000535/0.0264, allocations: 0.6007 MB / 0.5487 GB, free: 9.43 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.0267, allocations: 109.1 kB / 0.5488 GB, free: 9.324 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006067/0.03277, allocations: 7.285 MB / 0.5559 GB, free: 1.938 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.03294, allocations: 319.6 kB / 0.5562 GB, free: 1.598 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.000408/0.03335, allocations: 368.8 kB / 0.5566 GB, free: 1.238 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.03364, allocations: 240.4 kB / 0.5568 GB, free: 1.004 MB / 474.8 MB Notification: Performance of SimCode: time 8.12e-07/0.03364, allocations: 0 / 0.5568 GB, free: 1.004 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.0612, allocations: 17.73 MB / 0.5741 GB, free: 15.49 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.895/6.956, allocations: 7.797 kB / 0.5741 GB, free: 15.48 MB / 0.4949 GB " [Timeout remaining time 293] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.csv --start-time 0 --stop-time 432000 --timeout 300 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 20 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 315.0] [Calling os._exit(0), Time elapsed: 11.253060610964894] Failed to read output from testmodel.py, exit status != 0: 7.039439289830625 7.047878522 7.040577417 Calling exit ...