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.001839/0.001839, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001419/0.001419, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.379/1.379, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.8058/0.8058, allocations: 133.9 MB / 443.5 MB, free: 13.85 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling",fmuType="cs",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.001938/0.001938, allocations: 64.2 kB / 0.6141 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1521, allocations: 85.86 MB / 0.6979 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.00323/0.1553, allocations: 2.072 MB / 0.6999 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.1564, allocations: 0.5978 MB / 0.7005 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.206e-05/0.1564, allocations: 2.812 kB / 0.7005 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.1566, allocations: 25.09 kB / 0.7005 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.285e-05/0.1567, allocations: 41.2 kB / 0.7006 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.1569, allocations: 69.66 kB / 0.7006 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.1572, allocations: 190.6 kB / 0.7008 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.1573, allocations: 46.92 kB / 0.7009 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.1575, allocations: 85.34 kB / 0.701 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.1576, allocations: 78.78 kB / 0.701 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.1577, allocations: 15.12 kB / 0.701 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.965e-05/0.1577, allocations: 20.5 kB / 0.7011 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.1578, allocations: 37.34 kB / 0.7011 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.677e-05/0.1578, allocations: 86.89 kB / 0.7012 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.1581, allocations: 173.5 kB / 0.7013 GB, free: 11 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1581, allocations: 0 / 0.7013 GB, free: 11 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1581, allocations: 7.938 kB / 0.7014 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.1581, allocations: 0 / 0.7014 GB, free: 10.99 MB / 0.5137 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.000823/0.1589, allocations: 495.4 kB / 0.7018 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1589, allocations: 11.3 kB / 0.7018 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.747e-05/0.159, allocations: 12.31 kB / 0.7018 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.621e-05/0.159, allocations: 46.86 kB / 0.7019 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.1592, allocations: 31.91 kB / 0.7019 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1594, allocations: 224 kB / 0.7021 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.42e-05/0.1595, allocations: 37.14 kB / 0.7022 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.1595, allocations: 16.38 kB / 0.7022 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.1599, allocations: 158.1 kB / 0.7023 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1599, allocations: 1.375 kB / 0.7023 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.16, allocations: 9.312 kB / 0.7023 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.16, allocations: 2.75 kB / 0.7024 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004866/0.1605, allocations: 142 kB / 0.7025 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007906/0.1612, allocations: 0.5285 MB / 0.703 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.1617, allocations: 132.9 kB / 0.7031 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.1619, allocations: 76.75 kB / 0.7032 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.1619, allocations: 0 / 0.7032 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.1619, allocations: 30.56 kB / 0.7032 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.162, allocations: 0 / 0.7032 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0007223/0.1627, allocations: 232.9 kB / 0.7035 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.1627, allocations: 51.41 kB / 0.7035 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.1629, allocations: 158.1 kB / 0.7037 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.1629, allocations: 33.69 kB / 0.7037 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.85e-05/0.163, allocations: 128.2 kB / 0.7038 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.163, allocations: 47.62 kB / 0.7039 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.908e-05/0.1631, allocations: 29.7 kB / 0.7039 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1632, allocations: 330.8 kB / 0.7042 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.1634, allocations: 59.89 kB / 0.7043 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.1636, allocations: 86.52 kB / 0.7043 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.1641, allocations: 144.8 kB / 0.7045 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1641, allocations: 0 / 0.7045 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004887/0.1645, allocations: 189.4 kB / 0.7047 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1646, allocations: 4 kB / 0.7047 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1646, allocations: 4 kB / 0.7047 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1646, allocations: 0 / 0.7047 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.1648, allocations: 35.97 kB / 0.7047 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1648, allocations: 4.062 kB / 0.7047 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.1649, allocations: 27.92 kB / 0.7047 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.1649, allocations: 4 kB / 0.7047 GB, free: 7.652 MB / 0.5137 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.0001065/0.165, allocations: 130.4 kB / 0.7049 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.1651, allocations: 19.84 kB / 0.7049 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.306e-05/0.1651, allocations: 17.39 kB / 0.7049 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.1651, allocations: 4 kB / 0.7049 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1651, allocations: 4 kB / 0.7049 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1651, allocations: 0 / 0.7049 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.1654, allocations: 245.4 kB / 0.7051 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1654, allocations: 4 kB / 0.7051 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.1656, allocations: 31.97 kB / 0.7052 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1656, allocations: 0 / 0.7052 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1656, allocations: 0 / 0.7052 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1656, allocations: 0 / 0.7052 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1656, allocations: 7.938 kB / 0.7052 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007464/0.1664, allocations: 351.2 kB / 0.7055 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.813e-05/0.1664, allocations: 89.05 kB / 0.7056 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.1664, allocations: 0 / 0.7056 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.1666, allocations: 24.03 kB / 0.7056 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.1666, allocations: 11.98 kB / 0.7056 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.1667, allocations: 4 kB / 0.7056 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.045e-05/0.1667, allocations: 117.8 kB / 0.7057 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1667, allocations: 0 / 0.7057 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002517/0.167, allocations: 35.94 kB / 0.7058 GB, free: 6.48 MB / 0.5137 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.001002/0.168, allocations: 0.8723 MB / 0.7066 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004777/0.1685, allocations: 139.9 kB / 0.7068 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1685, allocations: 0 / 0.7068 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.1687, allocations: 75.89 kB / 0.7068 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.169, allocations: 29.3 kB / 0.7069 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.1717, allocations: 1.987 MB / 0.7088 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.172, allocations: 0.7234 MB / 0.7095 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.361e-05/0.1721, allocations: 8.562 kB / 0.7095 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.18e-05/0.1722, allocations: 43.42 kB / 0.7096 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1722, allocations: 0 / 0.7096 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/0.1925, allocations: 3.38 MB / 0.7129 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.018/8.21, allocations: 15.12 kB / 0.7129 GB, free: 15.24 MB / 0.5294 GB " [Timeout remaining time 651] (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: 11.725094508030452] Failed to read output from testmodel.py, exit status != 0: 8.582842812000308 8.352019247 8.19030158 Calling exit ...