Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 110.2 kB / 17.07 MB, free: 5.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 194.7 kB / 20.03 MB, free: 2.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.07/1.07, allocations: 147.6 MB / 445.5 MB, free: 8.559 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 68.47 kB / 0.6114 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1499, allocations: 83.16 MB / 0.6926 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002005/0.1519, allocations: 0.8347 MB / 0.6934 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.1532, allocations: 0.8774 MB / 0.6943 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.493e-05/0.1533, allocations: 3.312 kB / 0.6943 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.819e-05/0.1533, allocations: 15.8 kB / 0.6943 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.1535, allocations: 16.8 kB / 0.6943 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.1537, allocations: 38.25 kB / 0.6944 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.1539, allocations: 119.6 kB / 0.6945 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.154, allocations: 25.48 kB / 0.6945 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.1542, allocations: 49.7 kB / 0.6946 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.1543, allocations: 54.88 kB / 0.6946 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.1543, allocations: 9.625 kB / 0.6946 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.325e-05/0.1544, allocations: 13.62 kB / 0.6946 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.786e-05/0.1544, allocations: 30.59 kB / 0.6947 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.864e-05/0.1545, allocations: 46.73 kB / 0.6947 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.1547, allocations: 126.3 kB / 0.6948 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1547, allocations: 1.375 kB / 0.6948 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1547, allocations: 0 / 0.6948 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.1547, allocations: 3.984 kB / 0.6948 GB, free: 11.4 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008082/0.1555, allocations: 436.3 kB / 0.6952 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1556, allocations: 9.156 kB / 0.6952 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/0.1556, allocations: 19.72 kB / 0.6953 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005287/0.1562, allocations: 260.8 kB / 0.6955 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.1562, allocations: 7.469 kB / 0.6955 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.1562, allocations: 6.781 kB / 0.6955 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.1565, allocations: 117.1 kB / 0.6956 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1566, allocations: 7.922 kB / 0.6956 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.1566, allocations: 5.312 kB / 0.6957 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1566, allocations: 5.25 kB / 0.6957 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002995/0.1569, allocations: 74.78 kB / 0.6957 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006949/0.1576, allocations: 498.8 kB / 0.6962 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.1579, allocations: 112.7 kB / 0.6963 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.158, allocations: 61.41 kB / 0.6964 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.1581, allocations: 5.219 kB / 0.6964 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.1581, allocations: 35.81 kB / 0.6964 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 3.136e-06/0.1581, allocations: 5.078 kB / 0.6964 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0005986/0.1587, allocations: 155.2 kB / 0.6966 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.355e-05/0.1588, allocations: 117.4 kB / 0.6967 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.159, allocations: 146.2 kB / 0.6968 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.159, allocations: 29.23 kB / 0.6968 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.1591, allocations: 105.9 kB / 0.6969 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.1591, allocations: 26.53 kB / 0.697 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.1592, allocations: 26.14 kB / 0.697 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1593, allocations: 329.6 kB / 0.6973 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.1595, allocations: 46.69 kB / 0.6974 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.1597, allocations: 82.7 kB / 0.6974 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.16, allocations: 96.48 kB / 0.6975 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.16, allocations: 0 / 0.6975 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003769/0.1604, allocations: 135 kB / 0.6977 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1604, allocations: 5.5 kB / 0.6977 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1605, allocations: 1.375 kB / 0.6977 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1605, allocations: 1.375 kB / 0.6977 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.1606, allocations: 28.34 kB / 0.6977 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1606, allocations: 1.375 kB / 0.6977 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.1608, allocations: 17.55 kB / 0.6977 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1608, allocations: 2.75 kB / 0.6977 GB, free: 8.738 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: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001224/0.1609, allocations: 134.1 kB / 0.6978 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.161, allocations: 17.34 kB / 0.6979 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.1613, allocations: 88.02 kB / 0.6979 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1613, allocations: 2.75 kB / 0.6979 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1613, allocations: 0 / 0.6979 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1613, allocations: 1.375 kB / 0.6979 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.1616, allocations: 200.9 kB / 0.6981 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1616, allocations: 1.375 kB / 0.6981 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.1618, allocations: 28.28 kB / 0.6982 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1618, allocations: 1.375 kB / 0.6982 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1618, allocations: 5.375 kB / 0.6982 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1618, allocations: 1.375 kB / 0.6982 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1618, allocations: 1.375 kB / 0.6982 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004694/0.1623, allocations: 379.9 kB / 0.6985 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.1623, allocations: 83.81 kB / 0.6986 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.1624, allocations: 2.75 kB / 0.6986 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.1626, allocations: 20.17 kB / 0.6986 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.903e-05/0.1627, allocations: 29.56 kB / 0.6987 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.1627, allocations: 2.75 kB / 0.6987 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.606e-05/0.1628, allocations: 115.9 kB / 0.6988 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1628, allocations: 0 / 0.6988 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003148/0.1631, allocations: 21.75 kB / 0.6988 GB, free: 7.711 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001335/0.1632, allocations: 103.6 kB / 0.6989 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003915/0.1636, allocations: 100.5 kB / 0.699 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1636, allocations: 1.312 kB / 0.699 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.1638, allocations: 58.14 kB / 0.699 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.1643, allocations: 14.41 kB / 0.6991 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004242/0.1647, allocations: 196.5 kB / 0.6992 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.1651, allocations: 0.708 MB / 0.6999 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.83e-05/0.1652, allocations: 16.64 kB / 0.7 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.253e-05/0.1652, allocations: 19.42 kB / 0.7 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1652, allocations: 0 / 0.7 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of Templates: time 0.004286/0.1695, allocations: 1.351 MB / 0.7013 GB, free: 5.215 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.735898463986814] Failed to read output from testmodel.py, exit status != 0: 0.477995369117707 0.190783114 0.033373944 Calling exit ...