Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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.001318/0.001318, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.001328/0.001328, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.42/1.42, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.7572/0.7572, allocations: 120.6 MB / 431.5 MB, free: 164 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_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",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.002004/0.002004, allocations: 67.91 kB / 0.6037 GB, free: 10.06 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.609/0.611, allocations: 85.81 MB / 0.6875 GB, free: 11.54 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002549/0.6136, allocations: 1.394 MB / 0.6888 GB, free: 10.43 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0009175/0.6145, allocations: 0.5749 MB / 0.6894 GB, free: 9.98 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.025e-05/0.6145, allocations: 0 / 0.6894 GB, free: 9.98 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 8.204e-05/0.6146, allocations: 12.8 kB / 0.6894 GB, free: 9.969 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.6149, allocations: 51.44 kB / 0.6894 GB, free: 9.934 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001149/0.615, allocations: 38.53 kB / 0.6895 GB, free: 9.906 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.6152, allocations: 203.8 kB / 0.6897 GB, free: 9.797 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.6153, allocations: 3.438 kB / 0.6897 GB, free: 9.797 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.6154, allocations: 87.58 kB / 0.6898 GB, free: 9.754 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.6156, allocations: 101.1 kB / 0.6899 GB, free: 9.695 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 4.423e-05/0.6157, allocations: 7.156 kB / 0.6899 GB, free: 9.695 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.6158, allocations: 33.22 kB / 0.6899 GB, free: 9.684 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 9.998e-05/0.6159, allocations: 66.33 kB / 0.69 GB, free: 9.645 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 9.153e-05/0.616, allocations: 75.3 kB / 0.69 GB, free: 9.598 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.6162, allocations: 144.1 kB / 0.6902 GB, free: 9.52 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.6162, allocations: 0 / 0.6902 GB, free: 9.52 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6162, allocations: 0 / 0.6902 GB, free: 9.52 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.6162, allocations: 0 / 0.6902 GB, free: 9.52 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007836/0.617, allocations: 478.7 kB / 0.6906 GB, free: 9.074 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.617, allocations: 10.09 kB / 0.6906 GB, free: 9.074 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.455e-05/0.617, allocations: 12.2 kB / 0.6906 GB, free: 9.066 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.241e-05/0.6171, allocations: 42.47 kB / 0.6907 GB, free: 9.02 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.6171, allocations: 16.44 kB / 0.6907 GB, free: 9.012 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.6173, allocations: 217.8 kB / 0.6909 GB, free: 8.781 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.6174, allocations: 9.297 kB / 0.6909 GB, free: 8.777 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.6174, allocations: 16.77 kB / 0.6909 GB, free: 8.77 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.6177, allocations: 180.8 kB / 0.6911 GB, free: 8.656 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.6177, allocations: 0 / 0.6911 GB, free: 8.656 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.6177, allocations: 5.25 kB / 0.6911 GB, free: 8.652 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.6177, allocations: 6.531 kB / 0.6911 GB, free: 8.648 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.618, allocations: 141.2 kB / 0.6912 GB, free: 8.594 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.6183, allocations: 283.3 kB / 0.6915 GB, free: 8.324 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009468/0.6192, allocations: 344.4 kB / 0.6918 GB, free: 8.172 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.6194, allocations: 121.4 kB / 0.692 GB, free: 8.109 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.6195, allocations: 91.39 kB / 0.692 GB, free: 8.008 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.6195, allocations: 35.81 kB / 0.6921 GB, free: 7.965 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=28): time 1.232e-06/0.6195, allocations: 1.281 kB / 0.6921 GB, free: 7.965 MB / 0.5139 GB Notification: Performance of matching and sorting (n=28): time 0.000648/0.6202, allocations: 381.9 kB / 0.6924 GB, free: 7.785 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.6202, allocations: 55.22 kB / 0.6925 GB, free: 7.723 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.337e-05/0.6203, allocations: 127.3 kB / 0.6926 GB, free: 7.609 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.6203, allocations: 34.95 kB / 0.6927 GB, free: 7.57 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.6204, allocations: 96.31 kB / 0.6927 GB, free: 7.473 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 6.964e-05/0.6204, allocations: 109 kB / 0.6929 GB, free: 7.379 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.6205, allocations: 64.52 kB / 0.6929 GB, free: 7.332 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 5.973e-05/0.6206, allocations: 331.8 kB / 0.6932 GB, free: 7.004 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.6208, allocations: 119.4 kB / 0.6933 GB, free: 6.953 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.621, allocations: 127.8 kB / 0.6935 GB, free: 6.898 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.6214, allocations: 288 kB / 0.6937 GB, free: 6.762 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6214, allocations: 5.094 kB / 0.6937 GB, free: 6.758 MB / 0.5139 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005002/0.6219, allocations: 355 kB / 0.6941 GB, free: 6.586 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6219, allocations: 7.156 kB / 0.6941 GB, free: 6.586 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.6219, allocations: 0 / 0.6941 GB, free: 6.586 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.6219, allocations: 2.344 kB / 0.6941 GB, free: 6.586 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.6222, allocations: 74.28 kB / 0.6942 GB, free: 6.57 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.6222, allocations: 2.594 kB / 0.6942 GB, free: 6.57 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.6223, allocations: 23.72 kB / 0.6942 GB, free: 6.551 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.6224, allocations: 10.75 kB / 0.6942 GB, free: 6.547 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 (39): * Single equations (assignments): 39 * 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 9.006e-05/0.6224, allocations: 148.1 kB / 0.6943 GB, free: 6.406 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.6225, allocations: 15.5 kB / 0.6944 GB, free: 6.398 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006394/0.6231, allocations: 393.7 kB / 0.6947 GB, free: 6.18 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.6231, allocations: 8.578 kB / 0.6947 GB, free: 6.176 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6231, allocations: 0 / 0.6947 GB, free: 6.176 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.6231, allocations: 9.031 kB / 0.6947 GB, free: 6.168 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.6234, allocations: 321.6 kB / 0.6951 GB, free: 5.875 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6234, allocations: 0 / 0.6951 GB, free: 5.875 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004088/0.6238, allocations: 79.69 kB / 0.6951 GB, free: 5.863 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.6238, allocations: 1.344 kB / 0.6951 GB, free: 5.863 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.6238, allocations: 17.3 kB / 0.6951 GB, free: 5.852 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.6238, allocations: 6.781 kB / 0.6952 GB, free: 5.848 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6238, allocations: 0 / 0.6952 GB, free: 5.848 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007571/0.6246, allocations: 0.5253 MB / 0.6957 GB, free: 5.57 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.6247, allocations: 133.6 kB / 0.6958 GB, free: 5.441 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.6247, allocations: 11.73 kB / 0.6958 GB, free: 5.434 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.6248, allocations: 6.312 kB / 0.6958 GB, free: 5.43 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.6249, allocations: 23.19 kB / 0.6958 GB, free: 5.418 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.6249, allocations: 8.531 kB / 0.6958 GB, free: 5.418 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.034e-05/0.625, allocations: 107.3 kB / 0.6959 GB, free: 5.328 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7e-08/0.625, allocations: 0 / 0.6959 GB, free: 5.328 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.000284/0.6253, allocations: 69.44 kB / 0.696 GB, free: 5.316 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.0009692/0.6262, allocations: 1.083 MB / 0.6971 GB, free: 4.496 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0004695/0.6267, allocations: 283.8 kB / 0.6973 GB, free: 4.391 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.6267, allocations: 0 / 0.6973 GB, free: 4.391 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.6269, allocations: 160.5 kB / 0.6975 GB, free: 4.328 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.6272, allocations: 41.45 kB / 0.6975 GB, free: 4.301 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/0.6302, allocations: 2.892 MB / 0.7004 GB, free: 2.215 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.6304, allocations: 0.7523 MB / 0.7011 GB, free: 1.488 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0001812/0.6305, allocations: 92.16 kB / 0.7012 GB, free: 1.449 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.6307, allocations: 69.31 kB / 0.7012 GB, free: 1.398 MB / 0.5139 GB Notification: Performance of SimCode: time 4.51e-07/0.6307, allocations: 0 / 0.7012 GB, free: 1.398 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.6556, allocations: 5.606 MB / 0.7067 GB, free: 14.67 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.398/9.054, allocations: 3.625 kB / 0.7067 GB, free: 14.67 MB / 0.5295 GB " [Timeout remaining time 291] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5_fmu --startTime=0 --stopTime=432000 --stepSize=20 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) [Timeout 315.0] [Calling os._exit(0), Time elapsed: 12.710296690987889] Failed to read output from testmodel.py, exit status != 0: 9.194098038016818 9.207041826 8.588206817 Calling exit ...