Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.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.001316/0.001316, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001604/0.001604, allocations: 217.1 kB / 22.24 MB, free: 5.105 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.39/1.39, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8289/0.8289, allocations: 134 MB / 446.4 MB, free: 9.977 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.00286/0.00286, allocations: 67.45 kB / 0.6185 GB, free: 6.934 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1836, allocations: 85.91 MB / 0.7023 GB, free: 1.113 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.00339/0.187, allocations: 1.977 MB / 0.7043 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1881, allocations: 0.5765 MB / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1882, allocations: 4 kB / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.1884, allocations: 19.73 kB / 0.7049 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.1885, allocations: 55.56 kB / 0.7049 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.1888, allocations: 67.84 kB / 0.705 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.189, allocations: 183.2 kB / 0.7052 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.1892, allocations: 50.69 kB / 0.7052 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.1894, allocations: 87.69 kB / 0.7053 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.1895, allocations: 67.69 kB / 0.7054 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.1895, allocations: 12 kB / 0.7054 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.648e-05/0.1896, allocations: 20 kB / 0.7054 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.1896, allocations: 35.84 kB / 0.7054 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.999e-05/0.1897, allocations: 75.66 kB / 0.7055 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.19, allocations: 179.2 kB / 0.7057 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.19, allocations: 0 / 0.7057 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.412e-06/0.19, allocations: 0 / 0.7057 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.19, allocations: 0 / 0.7057 GB, free: 13.7 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007853/0.1908, allocations: 419.9 kB / 0.7061 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1908, allocations: 16.03 kB / 0.7061 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.813e-05/0.1909, allocations: 46.73 kB / 0.7061 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.191, allocations: 32.78 kB / 0.7062 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.1913, allocations: 154.2 kB / 0.7063 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-05/0.1914, allocations: 67.97 kB / 0.7064 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.1915, allocations: 12.38 kB / 0.7064 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.1919, allocations: 161.5 kB / 0.7065 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1919, allocations: 4 kB / 0.7065 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.1919, allocations: 4 kB / 0.7065 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.1919, allocations: 7.984 kB / 0.7065 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004661/0.1924, allocations: 147.8 kB / 0.7067 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007811/0.1932, allocations: 423.4 kB / 0.7071 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.1936, allocations: 138.6 kB / 0.7072 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.1938, allocations: 72.81 kB / 0.7073 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.1938, allocations: 0 / 0.7073 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.1939, allocations: 38.56 kB / 0.7073 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.1939, allocations: 0 / 0.7073 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0007032/0.1946, allocations: 217.5 kB / 0.7075 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.1946, allocations: 59.33 kB / 0.7076 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.1947, allocations: 156 kB / 0.7077 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.1948, allocations: 33.7 kB / 0.7078 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.326e-05/0.1949, allocations: 128.2 kB / 0.7079 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.1949, allocations: 47.55 kB / 0.7079 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-05/0.195, allocations: 33.7 kB / 0.708 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1951, allocations: 326.8 kB / 0.7083 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.1953, allocations: 59.95 kB / 0.7083 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.1956, allocations: 85.33 kB / 0.7084 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.1959, allocations: 146 kB / 0.7086 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.196, allocations: 0 / 0.7086 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004964/0.1964, allocations: 193.4 kB / 0.7087 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1965, allocations: 10.34 kB / 0.7088 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1965, allocations: 3.938 kB / 0.7088 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1965, allocations: 0 / 0.7088 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.1967, allocations: 35.97 kB / 0.7088 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1967, allocations: 3.984 kB / 0.7088 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.1968, allocations: 35.92 kB / 0.7088 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.1969, allocations: 4 kB / 0.7088 GB, free: 10.22 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (con.y_boolean,$PRE.con.y_boolean) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001177/0.197, allocations: 129.7 kB / 0.709 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.197, allocations: 15.91 kB / 0.709 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.777e-05/0.1971, allocations: 17.39 kB / 0.709 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1971, allocations: 4 kB / 0.709 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1971, allocations: 0 / 0.709 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1971, allocations: 0 / 0.709 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.1973, allocations: 196.6 kB / 0.7092 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1973, allocations: 0 / 0.7092 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.1975, allocations: 35.97 kB / 0.7092 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1975, allocations: 0 / 0.7092 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.1975, allocations: 4 kB / 0.7092 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1975, allocations: 7.938 kB / 0.7092 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1975, allocations: 0 / 0.7092 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007577/0.1983, allocations: 343.2 kB / 0.7096 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.626e-05/0.1983, allocations: 11.94 kB / 0.7096 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.1983, allocations: 4 kB / 0.7096 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.1985, allocations: 23.97 kB / 0.7096 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.1986, allocations: 11.98 kB / 0.7096 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1986, allocations: 7.984 kB / 0.7096 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.36e-05/0.1987, allocations: 116.2 kB / 0.7097 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1987, allocations: 0 / 0.7097 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002642/0.1989, allocations: 36 kB / 0.7098 GB, free: 9.211 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cap.T) * Number of discrete variables: 1 (con.y_boolean) * Number of discrete states: 1 (con.y_boolean) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.001024/0.2, allocations: 0.8754 MB / 0.7106 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004618/0.2004, allocations: 139.9 kB / 0.7107 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2004, allocations: 7.938 kB / 0.7108 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.2006, allocations: 75.88 kB / 0.7108 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.2009, allocations: 8.125 kB / 0.7108 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.2038, allocations: 2.002 MB / 0.7128 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.2039, allocations: 107.7 kB / 0.7129 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.072e-05/0.204, allocations: 12.48 kB / 0.7129 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.083e-05/0.2041, allocations: 43.42 kB / 0.7129 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of SimCode: time 8.21e-07/0.2041, allocations: 0 / 0.7129 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03337/0.2374, allocations: 3.94 MB / 0.7168 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.91, allocations: 4 kB / 0.7168 GB, free: 2.027 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling.fmu > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.390867495909333] Failed to read output from testmodel.py, exit status != 0: 11.02151961112395 11.050054695 10.854602515 Calling exit ...