Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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.001681/0.001681, allocations: 121 kB / 18.5 MB, free: 4.562 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.001906/0.001906, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.408/1.408, 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.7687/0.7687, 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.Verification.TestHysteresis,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis",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.001899/0.001899, allocations: 63.91 kB / 0.6022 GB, free: 11.55 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6076/0.6095, allocations: 85.83 MB / 0.686 GB, free: 11.14 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001392/0.6109, allocations: 401.7 kB / 0.6864 GB, free: 10.84 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0004373/0.6113, allocations: 240.5 kB / 0.6866 GB, free: 10.67 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.745e-05/0.6114, allocations: 0 / 0.6866 GB, free: 10.67 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.6114, allocations: 1.25 kB / 0.6866 GB, free: 10.67 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.6115, allocations: 5.219 kB / 0.6866 GB, free: 10.66 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001162/0.6116, allocations: 35.39 kB / 0.6867 GB, free: 10.64 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 6.399e-05/0.6117, allocations: 9.031 kB / 0.6867 GB, free: 10.63 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.6117, allocations: 1.281 kB / 0.6867 GB, free: 10.63 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.274e-05/0.6118, allocations: 2.531 kB / 0.6867 GB, free: 10.63 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.606e-05/0.6118, allocations: 10.47 kB / 0.6867 GB, free: 10.62 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.6118, allocations: 5.219 kB / 0.6867 GB, free: 10.62 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 8.945e-05/0.6119, allocations: 29.86 kB / 0.6867 GB, free: 10.61 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.092e-05/0.6119, allocations: 0 / 0.6867 GB, free: 10.61 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.617e-05/0.6119, allocations: 2.531 kB / 0.6867 GB, free: 10.61 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 9.617e-05/0.612, allocations: 32.66 kB / 0.6868 GB, free: 10.59 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.612, allocations: 1.25 kB / 0.6868 GB, free: 10.59 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.284e-06/0.612, allocations: 0 / 0.6868 GB, free: 10.59 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.612, allocations: 0 / 0.6868 GB, free: 10.59 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003046/0.6124, allocations: 330.7 kB / 0.6871 GB, free: 10.22 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.6124, allocations: 14.09 kB / 0.6871 GB, free: 10.21 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.48e-05/0.6124, allocations: 5.125 kB / 0.6871 GB, free: 10.21 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.551e-05/0.6124, allocations: 30.75 kB / 0.6871 GB, free: 10.17 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.449e-05/0.6124, allocations: 9.781 kB / 0.6871 GB, free: 10.16 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.48e-05/0.6125, allocations: 162.2 kB / 0.6873 GB, free: 9.969 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.6125, allocations: 384 / 0.6873 GB, free: 9.969 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.6126, allocations: 2.219 kB / 0.6873 GB, free: 9.969 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.776e-05/0.6126, allocations: 42.62 kB / 0.6873 GB, free: 9.926 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.6127, allocations: 0 / 0.6873 GB, free: 9.926 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.6127, allocations: 0.9375 kB / 0.6873 GB, free: 9.926 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.6127, allocations: 4 kB / 0.6873 GB, free: 9.922 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.686e-05/0.6127, allocations: 12.52 kB / 0.6873 GB, free: 9.914 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001113/0.6128, allocations: 153.3 kB / 0.6875 GB, free: 9.719 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.613, allocations: 43.19 kB / 0.6875 GB, free: 9.684 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.231e-05/0.613, allocations: 12.58 kB / 0.6875 GB, free: 9.672 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.6131, allocations: 0.9062 kB / 0.6875 GB, free: 9.672 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.441e-05/0.6131, allocations: 43.44 kB / 0.6876 GB, free: 9.621 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.6131, allocations: 3.938 kB / 0.6876 GB, free: 9.617 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0001483/0.6132, allocations: 51.53 kB / 0.6876 GB, free: 9.574 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/0.6132, allocations: 52.34 kB / 0.6877 GB, free: 9.512 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.925e-05/0.6133, allocations: 100.6 kB / 0.6878 GB, free: 9.406 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.6133, allocations: 25.7 kB / 0.6878 GB, free: 9.375 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 1.208e-05/0.6133, allocations: 81.08 kB / 0.6879 GB, free: 9.293 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.6133, allocations: 9.75 kB / 0.6879 GB, free: 9.285 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.6133, allocations: 21.53 kB / 0.6879 GB, free: 9.262 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 4.154e-05/0.6134, allocations: 315.8 kB / 0.6882 GB, free: 8.945 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.6134, allocations: 7.688 kB / 0.6882 GB, free: 8.941 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.546e-05/0.6134, allocations: 7.875 kB / 0.6882 GB, free: 8.938 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.925e-05/0.6135, allocations: 25.2 kB / 0.6883 GB, free: 8.918 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.6135, allocations: 0.9375 kB / 0.6883 GB, free: 8.918 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.137e-05/0.6135, allocations: 51.47 kB / 0.6883 GB, free: 8.875 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.6135, allocations: 9.062 kB / 0.6883 GB, free: 8.871 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.6135, allocations: 0.9062 kB / 0.6883 GB, free: 8.871 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.6136, allocations: 4 kB / 0.6883 GB, free: 8.867 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.281e-05/0.6136, allocations: 9.562 kB / 0.6883 GB, free: 8.863 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.6136, allocations: 0.9062 kB / 0.6883 GB, free: 8.863 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/0.6136, allocations: 0.9375 kB / 0.6883 GB, free: 8.863 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.6136, allocations: 0.9062 kB / 0.6883 GB, free: 8.863 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 (4): * Single equations (assignments): 4 * 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 5.403e-05/0.6137, allocations: 114 kB / 0.6884 GB, free: 8.746 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.6137, allocations: 4.875 kB / 0.6884 GB, free: 8.742 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.6138, allocations: 77.39 kB / 0.6885 GB, free: 8.672 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.6138, allocations: 0.9375 kB / 0.6885 GB, free: 8.672 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6138, allocations: 8.828 kB / 0.6885 GB, free: 8.664 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.6138, allocations: 0 / 0.6885 GB, free: 8.664 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.632e-05/0.6139, allocations: 161 kB / 0.6887 GB, free: 8.465 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.6139, allocations: 0 / 0.6887 GB, free: 8.465 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.739e-05/0.614, allocations: 12.31 kB / 0.6887 GB, free: 8.461 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.614, allocations: 4.844 kB / 0.6887 GB, free: 8.457 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.614, allocations: 0.9375 kB / 0.6887 GB, free: 8.457 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.614, allocations: 0.9375 kB / 0.6887 GB, free: 8.457 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.614, allocations: 0 / 0.6887 GB, free: 8.457 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.6141, allocations: 109.6 kB / 0.6888 GB, free: 8.359 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.6141, allocations: 90.78 kB / 0.6889 GB, free: 8.254 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.6141, allocations: 4.844 kB / 0.6889 GB, free: 8.25 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.956e-05/0.6142, allocations: 4.125 kB / 0.6889 GB, free: 8.246 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.6142, allocations: 6.766 kB / 0.6889 GB, free: 8.242 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.6142, allocations: 0.9062 kB / 0.6889 GB, free: 8.242 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 1.581e-05/0.6142, allocations: 81.19 kB / 0.689 GB, free: 8.164 MB / 0.5139 GB Notification: Performance of sort global known variables: time 6e-08/0.6142, allocations: 0.9375 kB / 0.689 GB, free: 8.164 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001887/0.6144, allocations: 11.38 kB / 0.689 GB, free: 8.16 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (6): * Single equations (assignments): 6 * 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.0002915/0.6147, allocations: 0.6349 MB / 0.6896 GB, free: 7.539 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 9.959e-05/0.6148, allocations: 21.8 kB / 0.6896 GB, free: 7.531 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6148, allocations: 1.094 kB / 0.6896 GB, free: 7.531 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 2.969e-05/0.6148, allocations: 22.11 kB / 0.6897 GB, free: 7.52 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.6149, allocations: 3.703 kB / 0.6897 GB, free: 7.52 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006772/0.6156, allocations: 1.12 MB / 0.6908 GB, free: 6.387 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.83e-05/0.6157, allocations: 0.683 MB / 0.6914 GB, free: 5.684 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.448e-05/0.6157, allocations: 7.672 kB / 0.6914 GB, free: 5.68 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.6158, allocations: 14.19 kB / 0.6914 GB, free: 5.668 MB / 0.5139 GB Notification: Performance of SimCode: time 3.21e-07/0.6158, allocations: 0 / 0.6914 GB, free: 5.668 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.6335, allocations: 1.561 MB / 0.693 GB, free: 4.844 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.741, allocations: 14.39 kB / 0.693 GB, free: 4.836 MB / 0.5139 GB " [Timeout remaining time 291] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) [Timeout 315.0] [Calling os._exit(0), Time elapsed: 12.365838923025876] Failed to read output from testmodel.py, exit status != 0: 8.868422489031218 8.879742147 8.265130668 Calling exit ...