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.001498/0.001498, allocations: 118.8 kB / 18.49 MB, free: 4.586 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.001578/0.001578, allocations: 213.5 kB / 21.45 MB, free: 1.641 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.412/1.412, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.7552/0.7552, allocations: 120.6 MB / 431.5 MB, free: 156 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_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20",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.001946/0.001946, allocations: 63.91 kB / 0.6036 GB, free: 10.06 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6156/0.6175, allocations: 85.82 MB / 0.6875 GB, free: 11.53 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002114/0.6196, allocations: 1.397 MB / 0.6888 GB, free: 10.42 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.000807/0.6204, allocations: 0.5705 MB / 0.6894 GB, free: 9.973 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.6205, allocations: 3.938 kB / 0.6894 GB, free: 9.969 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 9.014e-05/0.6206, allocations: 9.078 kB / 0.6894 GB, free: 9.961 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.6209, allocations: 59.2 kB / 0.6894 GB, free: 9.918 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001002/0.621, allocations: 42.55 kB / 0.6895 GB, free: 9.887 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.00046/0.6214, allocations: 0.5494 MB / 0.69 GB, free: 9.594 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.118e-05/0.6215, allocations: 5.469 kB / 0.69 GB, free: 9.594 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002541/0.6217, allocations: 206 kB / 0.6902 GB, free: 9.504 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003506/0.6221, allocations: 276.1 kB / 0.6905 GB, free: 9.344 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 7.008e-05/0.6221, allocations: 30.09 kB / 0.6905 GB, free: 9.344 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.6223, allocations: 62.98 kB / 0.6906 GB, free: 9.324 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.6225, allocations: 237.7 kB / 0.6908 GB, free: 9.184 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.6227, allocations: 239.3 kB / 0.691 GB, free: 9.035 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.6231, allocations: 448.1 kB / 0.6915 GB, free: 8.781 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6231, allocations: 0 / 0.6915 GB, free: 8.781 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6231, allocations: 4 kB / 0.6915 GB, free: 8.777 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.6232, allocations: 0 / 0.6915 GB, free: 8.777 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001604/0.6248, allocations: 0.8204 MB / 0.6923 GB, free: 8.152 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.6248, allocations: 10.09 kB / 0.6923 GB, free: 8.152 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.207e-05/0.6248, allocations: 15.28 kB / 0.6923 GB, free: 8.148 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.414e-05/0.6249, allocations: 91.05 kB / 0.6924 GB, free: 8.066 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.625, allocations: 44.2 kB / 0.6924 GB, free: 8.047 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.6254, allocations: 327.2 kB / 0.6927 GB, free: 7.754 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.6254, allocations: 30 kB / 0.6928 GB, free: 7.742 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.6255, allocations: 60.17 kB / 0.6928 GB, free: 7.715 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008594/0.6264, allocations: 0.5865 MB / 0.6934 GB, free: 7.379 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.6264, allocations: 3.938 kB / 0.6934 GB, free: 7.375 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/0.6264, allocations: 15.97 kB / 0.6934 GB, free: 7.363 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.6265, allocations: 10.12 kB / 0.6934 GB, free: 7.363 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008715/0.6273, allocations: 0.5853 MB / 0.694 GB, free: 7.125 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007308/0.6281, allocations: 0.6251 MB / 0.6946 GB, free: 6.66 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003135/0.6312, allocations: 1.328 MB / 0.6959 GB, free: 6.066 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005661/0.6318, allocations: 427.2 kB / 0.6963 GB, free: 5.875 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/0.632, allocations: 104.7 kB / 0.6964 GB, free: 5.77 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.632, allocations: 39.94 kB / 0.6964 GB, free: 5.723 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=103): time 2.365e-06/0.632, allocations: 0 / 0.6964 GB, free: 5.723 MB / 0.5139 GB Notification: Performance of matching and sorting (n=103): time 0.002039/0.634, allocations: 1.35 MB / 0.6978 GB, free: 5.121 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.6341, allocations: 65.91 kB / 0.6978 GB, free: 5.055 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.6342, allocations: 181.2 kB / 0.698 GB, free: 4.914 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.6343, allocations: 41.14 kB / 0.698 GB, free: 4.871 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.6343, allocations: 104.8 kB / 0.6981 GB, free: 4.77 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.6345, allocations: 434 kB / 0.6985 GB, free: 4.391 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/0.6348, allocations: 195.1 kB / 0.6987 GB, free: 4.281 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 8.587e-05/0.6349, allocations: 366.9 kB / 0.6991 GB, free: 3.93 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006544/0.6355, allocations: 474.4 kB / 0.6995 GB, free: 3.723 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006728/0.6362, allocations: 498.5 kB / 0.7 GB, free: 3.496 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.6376, allocations: 1.046 MB / 0.701 GB, free: 3.008 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.6376, allocations: 0 / 0.701 GB, free: 3.008 MB / 0.5139 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001791/0.6394, allocations: 1.236 MB / 0.7022 GB, free: 2.449 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.6394, allocations: 7.75 kB / 0.7022 GB, free: 2.449 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.6394, allocations: 0 / 0.7022 GB, free: 2.449 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.6395, allocations: 5.25 kB / 0.7023 GB, free: 2.449 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.6405, allocations: 278.3 kB / 0.7025 GB, free: 2.387 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.6405, allocations: 4.594 kB / 0.7025 GB, free: 2.387 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000394/0.6409, allocations: 81.14 kB / 0.7026 GB, free: 2.32 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.459e-05/0.641, allocations: 46.7 kB / 0.7026 GB, free: 2.301 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 (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.0002414/0.6413, allocations: 207 kB / 0.7028 GB, free: 2.129 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.6414, allocations: 46.75 kB / 0.7029 GB, free: 2.105 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/0.6435, allocations: 1.388 MB / 0.7042 GB, free: 1.383 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.6435, allocations: 14.47 kB / 0.7043 GB, free: 1.383 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.6435, allocations: 0 / 0.7043 GB, free: 1.383 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.6435, allocations: 7.969 kB / 0.7043 GB, free: 1.375 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007933/0.6443, allocations: 0.7423 MB / 0.705 GB, free: 0.8438 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.6443, allocations: 0 / 0.705 GB, free: 0.8438 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/0.6457, allocations: 304.3 kB / 0.7053 GB, free: 0.7852 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.6457, allocations: 9.531 kB / 0.7053 GB, free: 0.7812 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.716e-05/0.6458, allocations: 56.2 kB / 0.7053 GB, free: 0.7461 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/0.6458, allocations: 4.594 kB / 0.7053 GB, free: 0.7461 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6458, allocations: 0 / 0.7053 GB, free: 0.7461 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.6484, allocations: 1.855 MB / 0.7072 GB, free: 15.1 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/0.6488, allocations: 252.2 kB / 0.7074 GB, free: 14.83 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.6489, allocations: 43.97 kB / 0.7074 GB, free: 14.79 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/0.6492, allocations: 24 kB / 0.7075 GB, free: 14.77 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.6494, allocations: 85.19 kB / 0.7075 GB, free: 14.68 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.419e-05/0.6495, allocations: 39.98 kB / 0.7076 GB, free: 14.64 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001257/0.6496, allocations: 140.2 kB / 0.7077 GB, free: 14.5 MB / 0.5295 GB Notification: Performance of sort global known variables: time 7e-08/0.6496, allocations: 0 / 0.7077 GB, free: 14.5 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0006231/0.6502, allocations: 235.9 kB / 0.7079 GB, free: 14.27 MB / 0.5295 GB 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.003261/0.6535, allocations: 2.455 MB / 0.7103 GB, free: 11.79 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.001819/0.6553, allocations: 1.089 MB / 0.7114 GB, free: 10.7 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6553, allocations: 0 / 0.7114 GB, free: 10.7 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0008809/0.6562, allocations: 0.6046 MB / 0.712 GB, free: 10.09 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.6567, allocations: 105.2 kB / 0.7121 GB, free: 9.992 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.6673, allocations: 7.804 MB / 0.7197 GB, free: 2.098 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.6678, allocations: 0.9228 MB / 0.7206 GB, free: 1.152 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0008049/0.6686, allocations: 364.8 kB / 0.721 GB, free: 0.793 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004508/0.6691, allocations: 235.3 kB / 0.7212 GB, free: 0.5625 MB / 0.5295 GB Notification: Performance of SimCode: time 1.202e-06/0.6691, allocations: 4 kB / 0.7212 GB, free: 0.5586 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03877/0.7079, allocations: 16.74 MB / 0.7375 GB, free: 52 kB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.489/10.2, allocations: 12.92 kB / 0.7375 GB, free: 44 kB / 0.5452 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20_fmu --startTime=0 --stopTime=432000 --stepSize=20 --timeout=300 --tolerance=1e-07 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: 13.885644500958733] Failed to read output from testmodel.py, exit status != 0: 10.327070588013157 10.346778635 9.719976207 Calling exit ...