Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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.00124/0.00124, allocations: 112.2 kB / 18.49 MB, free: 4.539 MB / 14.72 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.001313/0.001313, allocations: 218.9 kB / 21.46 MB, free: 1.586 MB / 14.72 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 1.414/1.414, allocations: 230.6 MB / 254.8 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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.7675/0.7675, allocations: 120.6 MB / 431.4 MB, free: 176 kB / 350.1 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_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.91 kB / 0.6036 GB, free: 10.06 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5973/0.5993, allocations: 85.81 MB / 0.6874 GB, free: 11.53 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002144/0.6014, allocations: 1.401 MB / 0.6888 GB, free: 10.42 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0008571/0.6023, allocations: 0.5701 MB / 0.6894 GB, free: 9.973 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/0.6023, allocations: 3.938 kB / 0.6894 GB, free: 9.969 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.682e-05/0.6024, allocations: 9.453 kB / 0.6894 GB, free: 9.961 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.6027, allocations: 58.83 kB / 0.6894 GB, free: 9.918 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 9.524e-05/0.6028, allocations: 39.06 kB / 0.6895 GB, free: 9.891 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.6031, allocations: 316.2 kB / 0.6898 GB, free: 9.727 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.471e-05/0.6031, allocations: 4.344 kB / 0.6898 GB, free: 9.727 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.6033, allocations: 131.1 kB / 0.6899 GB, free: 9.664 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.6035, allocations: 152.1 kB / 0.6901 GB, free: 9.578 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 4.163e-05/0.6036, allocations: 15.78 kB / 0.6901 GB, free: 9.578 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.6037, allocations: 43.97 kB / 0.6901 GB, free: 9.562 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.6038, allocations: 132.9 kB / 0.6902 GB, free: 9.48 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.604, allocations: 123.4 kB / 0.6904 GB, free: 9.406 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.6042, allocations: 244.4 kB / 0.6906 GB, free: 9.27 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6042, allocations: 1.219 kB / 0.6906 GB, free: 9.27 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6042, allocations: 3.938 kB / 0.6906 GB, free: 9.266 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.6042, allocations: 0 / 0.6906 GB, free: 9.266 MB / 0.5139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001025/0.6052, allocations: 0.5872 MB / 0.6912 GB, free: 8.762 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.6053, allocations: 14.03 kB / 0.6912 GB, free: 8.758 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.873e-05/0.6053, allocations: 6.406 kB / 0.6912 GB, free: 8.758 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.843e-05/0.6054, allocations: 59.58 kB / 0.6912 GB, free: 8.699 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.724e-05/0.6054, allocations: 25.39 kB / 0.6913 GB, free: 8.688 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.6057, allocations: 248 kB / 0.6915 GB, free: 8.441 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.6057, allocations: 16.03 kB / 0.6915 GB, free: 8.434 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.501e-05/0.6057, allocations: 33.55 kB / 0.6916 GB, free: 8.418 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004657/0.6062, allocations: 315.6 kB / 0.6919 GB, free: 8.234 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.6062, allocations: 1.281 kB / 0.6919 GB, free: 8.234 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.6063, allocations: 13.25 kB / 0.6919 GB, free: 8.223 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.6063, allocations: 5.062 kB / 0.6919 GB, free: 8.223 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.6067, allocations: 287.3 kB / 0.6921 GB, free: 8.105 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.6071, allocations: 393.2 kB / 0.6925 GB, free: 7.777 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.6088, allocations: 0.6695 MB / 0.6932 GB, free: 7.484 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003096/0.6091, allocations: 215.2 kB / 0.6934 GB, free: 7.387 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.6092, allocations: 102.8 kB / 0.6935 GB, free: 7.277 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.6092, allocations: 41.41 kB / 0.6935 GB, free: 7.227 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=53): time 1.532e-06/0.6092, allocations: 0 / 0.6935 GB, free: 7.227 MB / 0.5139 GB Notification: Performance of matching and sorting (n=53): time 0.00113/0.6104, allocations: 0.695 MB / 0.6942 GB, free: 6.906 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.6104, allocations: 61.53 kB / 0.6943 GB, free: 6.84 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.6105, allocations: 147.1 kB / 0.6944 GB, free: 6.711 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.6105, allocations: 36.33 kB / 0.6944 GB, free: 6.672 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.6106, allocations: 92.83 kB / 0.6945 GB, free: 6.578 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.6107, allocations: 228.6 kB / 0.6947 GB, free: 6.379 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.6108, allocations: 109.2 kB / 0.6948 GB, free: 6.312 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 6.118e-05/0.6109, allocations: 344.1 kB / 0.6952 GB, free: 5.977 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.6113, allocations: 240.5 kB / 0.6954 GB, free: 5.871 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.6116, allocations: 243.4 kB / 0.6956 GB, free: 5.77 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007382/0.6124, allocations: 0.5267 MB / 0.6961 GB, free: 5.523 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.6124, allocations: 4 kB / 0.6961 GB, free: 5.52 MB / 0.5139 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009058/0.6133, allocations: 0.6441 MB / 0.6968 GB, free: 5.219 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.6133, allocations: 8.312 kB / 0.6968 GB, free: 5.219 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6133, allocations: 0 / 0.6968 GB, free: 5.219 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.6133, allocations: 10.39 kB / 0.6968 GB, free: 5.211 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005307/0.6138, allocations: 147.6 kB / 0.6969 GB, free: 5.176 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.6139, allocations: 6.328 kB / 0.6969 GB, free: 5.172 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.614, allocations: 34.83 kB / 0.697 GB, free: 5.145 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.6141, allocations: 17.53 kB / 0.697 GB, free: 5.141 MB / 0.5139 GB 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 (74): * Single equations (assignments): 74 * 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.0001229/0.6142, allocations: 169.1 kB / 0.6972 GB, free: 4.988 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.6143, allocations: 24.8 kB / 0.6972 GB, free: 4.977 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.6154, allocations: 0.7268 MB / 0.6979 GB, free: 4.586 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.6154, allocations: 6.844 kB / 0.6979 GB, free: 4.586 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6154, allocations: 1.406 kB / 0.6979 GB, free: 4.586 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.6154, allocations: 7.984 kB / 0.6979 GB, free: 4.578 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.6159, allocations: 471.2 kB / 0.6984 GB, free: 4.203 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.6159, allocations: 0 / 0.6984 GB, free: 4.203 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007375/0.6166, allocations: 158.6 kB / 0.6985 GB, free: 4.172 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.6166, allocations: 2.406 kB / 0.6985 GB, free: 4.172 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.798e-05/0.6166, allocations: 26.89 kB / 0.6985 GB, free: 4.156 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.6167, allocations: 2.25 kB / 0.6985 GB, free: 4.156 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6167, allocations: 1.125 kB / 0.6985 GB, free: 4.156 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.618, allocations: 0.9713 MB / 0.6995 GB, free: 3.676 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.6181, allocations: 165.1 kB / 0.6996 GB, free: 3.531 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.869e-05/0.6182, allocations: 21.58 kB / 0.6997 GB, free: 3.52 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.6183, allocations: 9.656 kB / 0.6997 GB, free: 3.512 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.553e-05/0.6184, allocations: 46.47 kB / 0.6997 GB, free: 3.488 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/0.6185, allocations: 22.67 kB / 0.6997 GB, free: 3.48 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.045e-05/0.6185, allocations: 117.6 kB / 0.6998 GB, free: 3.387 MB / 0.5139 GB Notification: Performance of sort global known variables: time 8e-08/0.6185, allocations: 3.938 kB / 0.6999 GB, free: 3.383 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003702/0.6189, allocations: 122.9 kB / 0.7 GB, free: 3.363 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.001481/0.6204, allocations: 1.545 MB / 0.7015 GB, free: 2.332 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0008198/0.6212, allocations: 0.5518 MB / 0.702 GB, free: 2.109 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6212, allocations: 0 / 0.702 GB, free: 2.109 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004067/0.6216, allocations: 312.9 kB / 0.7023 GB, free: 1.988 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.6219, allocations: 64.75 kB / 0.7024 GB, free: 1.945 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005388/0.6273, allocations: 4.504 MB / 0.7068 GB, free: 15.02 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.6278, allocations: 0.8039 MB / 0.7076 GB, free: 14.27 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0004288/0.6282, allocations: 184.2 kB / 0.7077 GB, free: 14.2 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/0.6285, allocations: 121.5 kB / 0.7079 GB, free: 14.11 MB / 0.5295 GB Notification: Performance of SimCode: time 6.61e-07/0.6285, allocations: 0.9062 kB / 0.7079 GB, free: 14.11 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.6572, allocations: 9.31 MB / 0.7169 GB, free: 5.133 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.678/9.335, allocations: 7.641 kB / 0.7169 GB, free: 5.129 MB / 0.5295 GB " [Timeout remaining time 291] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10_fmu --startTime=0 --stopTime=432000 --stepSize=20 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) [Timeout 315.0] [Calling os._exit(0), Time elapsed: 12.976029486977495] Failed to read output from testmodel.py, exit status != 0: 9.45905646000756 9.473046675 8.866107952 Calling exit ...