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.001226/0.001226, allocations: 117.3 kB / 17.76 MB, free: 5.336 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.001451/0.001451, allocations: 184.6 kB / 20.69 MB, free: 2.41 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.437/1.437, allocations: 222.9 MB / 246.4 MB, free: 4.32 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.115/1.115, allocations: 147.7 MB / 446.2 MB, free: 8.277 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.002043/0.002043, allocations: 69.14 kB / 0.6121 GB, free: 37.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.206, allocations: 83.16 MB / 0.6933 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.00227/0.2084, allocations: 0.836 MB / 0.6941 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.2097, allocations: 0.8816 MB / 0.695 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.049e-05/0.2098, allocations: 1.5 kB / 0.695 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.864e-05/0.2098, allocations: 11.88 kB / 0.695 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.21, allocations: 22.61 kB / 0.695 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.2102, allocations: 36.34 kB / 0.695 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000173/0.2104, allocations: 117.2 kB / 0.6952 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.2105, allocations: 24.31 kB / 0.6952 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.2107, allocations: 51.05 kB / 0.6952 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.2108, allocations: 54 kB / 0.6953 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.2108, allocations: 9.312 kB / 0.6953 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.315e-05/0.2109, allocations: 10.78 kB / 0.6953 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.989e-05/0.2109, allocations: 31.44 kB / 0.6953 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.696e-05/0.211, allocations: 50.47 kB / 0.6954 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.2112, allocations: 117.9 kB / 0.6955 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2112, allocations: 0 / 0.6955 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2112, allocations: 5.781 kB / 0.6955 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.2112, allocations: 4 kB / 0.6955 GB, free: 11.14 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.0007951/0.212, allocations: 439 kB / 0.6959 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2121, allocations: 9.625 kB / 0.6959 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/0.2121, allocations: 15.72 kB / 0.6959 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005296/0.2126, allocations: 258.5 kB / 0.6962 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.2127, allocations: 7.125 kB / 0.6962 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.2127, allocations: 5.875 kB / 0.6962 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.213, allocations: 117.7 kB / 0.6963 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.213, allocations: 13.3 kB / 0.6963 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.2131, allocations: 4 kB / 0.6963 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.2131, allocations: 1.375 kB / 0.6963 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.2134, allocations: 78.42 kB / 0.6964 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006926/0.2141, allocations: 0.4996 MB / 0.6969 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.2144, allocations: 108.8 kB / 0.697 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.2145, allocations: 56.55 kB / 0.6971 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.2146, allocations: 5.312 kB / 0.6971 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.2146, allocations: 31.94 kB / 0.6971 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.163e-06/0.2146, allocations: 0 / 0.6971 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0006106/0.2152, allocations: 165.1 kB / 0.6972 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.215e-05/0.2153, allocations: 104.2 kB / 0.6973 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.2155, allocations: 155 kB / 0.6975 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.2155, allocations: 28.45 kB / 0.6975 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.627e-05/0.2156, allocations: 110.1 kB / 0.6976 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.2157, allocations: 22.55 kB / 0.6977 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.724e-05/0.2157, allocations: 25.95 kB / 0.6977 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.2159, allocations: 325.5 kB / 0.698 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.2161, allocations: 39.22 kB / 0.698 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.2163, allocations: 85.45 kB / 0.6981 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.2166, allocations: 97.52 kB / 0.6982 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2166, allocations: 0 / 0.6982 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004244/0.217, allocations: 142.9 kB / 0.6983 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.217, allocations: 5.031 kB / 0.6983 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2171, allocations: 1.438 kB / 0.6983 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.2171, allocations: 1.438 kB / 0.6983 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.2172, allocations: 21.39 kB / 0.6984 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.2172, allocations: 1.344 kB / 0.6984 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.2174, allocations: 16.66 kB / 0.6984 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.2174, allocations: 7.641 kB / 0.6984 GB, free: 8.484 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.0001273/0.2175, allocations: 129.9 kB / 0.6985 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.844e-05/0.2176, allocations: 14.28 kB / 0.6985 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002867/0.2179, allocations: 91.53 kB / 0.6986 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2179, allocations: 6.312 kB / 0.6986 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2179, allocations: 1.156 kB / 0.6986 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2179, allocations: 1.094 kB / 0.6986 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.2183, allocations: 212.2 kB / 0.6988 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2183, allocations: 1.156 kB / 0.6988 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.2184, allocations: 17.23 kB / 0.6988 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2184, allocations: 5.188 kB / 0.6988 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.2185, allocations: 5.219 kB / 0.6988 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.2185, allocations: 5.203 kB / 0.6989 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2185, allocations: 1.031 kB / 0.6989 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004987/0.219, allocations: 371.8 kB / 0.6992 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-05/0.2191, allocations: 83.94 kB / 0.6993 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.2191, allocations: 2.188 kB / 0.6993 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.2193, allocations: 20.44 kB / 0.6993 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.2194, allocations: 29.78 kB / 0.6993 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.2194, allocations: 6.781 kB / 0.6993 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.987e-05/0.2195, allocations: 115.9 kB / 0.6995 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2195, allocations: 1.156 kB / 0.6995 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003192/0.2199, allocations: 17.09 kB / 0.6995 GB, free: 7.457 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.0001645/0.22, allocations: 104.1 kB / 0.6996 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004149/0.2204, allocations: 104.5 kB / 0.6997 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2205, allocations: 0 / 0.6997 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.2206, allocations: 52.72 kB / 0.6997 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.2211, allocations: 12 kB / 0.6997 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.2216, allocations: 229.3 kB / 0.7 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.222, allocations: 0.7002 MB / 0.7006 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.069e-05/0.2221, allocations: 15.44 kB / 0.7007 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.2221, allocations: 4 kB / 0.7007 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of Templates: time 0.003707/0.2258, allocations: 1.517 MB / 0.7021 GB, free: 4.734 MB / 0.5137 GB " [Timeout remaining time 659] 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: 8.081719855079427] Failed to read output from testmodel.py, exit status != 0: 0.5871580699458718 0.247307991 0.033331985 Calling exit ...