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.001292/0.001292, allocations: 113.6 kB / 17.08 MB, free: 5.988 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.001351/0.001351, allocations: 190.8 kB / 20.03 MB, free: 3.059 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.515/1.515, allocations: 222.9 MB / 245.7 MB, free: 4.227 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.144/1.144, allocations: 147.6 MB / 445.6 MB, free: 8.422 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 67.14 kB / 0.611 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1575, allocations: 83.16 MB / 0.6922 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002146/0.1597, allocations: 0.8324 MB / 0.693 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1608, allocations: 0.8789 MB / 0.6938 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.115e-05/0.1609, allocations: 3.938 kB / 0.6938 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.071e-05/0.1609, allocations: 13.64 kB / 0.6939 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.699e-05/0.161, allocations: 17.55 kB / 0.6939 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.1612, allocations: 33.42 kB / 0.6939 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.1614, allocations: 116.7 kB / 0.694 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.1615, allocations: 32.19 kB / 0.694 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.1617, allocations: 45.91 kB / 0.6941 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.072e-05/0.1618, allocations: 62.5 kB / 0.6941 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.1618, allocations: 10.38 kB / 0.6942 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.009e-05/0.1618, allocations: 8.969 kB / 0.6942 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.532e-05/0.1619, allocations: 24.03 kB / 0.6942 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.154e-05/0.1619, allocations: 49.45 kB / 0.6942 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.1621, allocations: 122.7 kB / 0.6944 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1621, allocations: 4 kB / 0.6944 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1621, allocations: 0 / 0.6944 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.1621, allocations: 0 / 0.6944 GB, free: 11.68 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.0007186/0.1629, allocations: 444.5 kB / 0.6948 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1629, allocations: 9.625 kB / 0.6948 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.678e-05/0.163, allocations: 33.5 kB / 0.6948 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.163, allocations: 14.34 kB / 0.6948 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004996/0.1635, allocations: 265.6 kB / 0.6951 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.1635, allocations: 7.125 kB / 0.6951 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.1636, allocations: 7.25 kB / 0.6951 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.1639, allocations: 120.2 kB / 0.6952 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.1639, allocations: 2.156 kB / 0.6952 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.1639, allocations: 4 kB / 0.6952 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1639, allocations: 1.156 kB / 0.6952 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.1642, allocations: 70.53 kB / 0.6953 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006398/0.1648, allocations: 0.5037 MB / 0.6958 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.1651, allocations: 116.6 kB / 0.6959 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.1653, allocations: 56.53 kB / 0.696 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.1653, allocations: 1.375 kB / 0.696 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.1654, allocations: 31.66 kB / 0.696 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.1654, allocations: 4 kB / 0.696 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0006108/0.166, allocations: 163.7 kB / 0.6961 GB, free: 10 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/0.1661, allocations: 104.9 kB / 0.6962 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.1662, allocations: 148.1 kB / 0.6964 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.1663, allocations: 36.03 kB / 0.6964 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/0.1663, allocations: 101.7 kB / 0.6965 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.1664, allocations: 26.94 kB / 0.6965 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.482e-05/0.1664, allocations: 26.17 kB / 0.6966 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1666, allocations: 325.4 kB / 0.6969 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.1668, allocations: 39.75 kB / 0.6969 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.1669, allocations: 84.39 kB / 0.697 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.1672, allocations: 97.42 kB / 0.6971 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1673, allocations: 5.438 kB / 0.6971 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003657/0.1676, allocations: 133.8 kB / 0.6972 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1677, allocations: 9.578 kB / 0.6972 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1677, allocations: 1.469 kB / 0.6972 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.1677, allocations: 5.5 kB / 0.6972 GB, free: 9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.1678, allocations: 20.33 kB / 0.6973 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.1679, allocations: 5.375 kB / 0.6973 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.168, allocations: 18.83 kB / 0.6973 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.168, allocations: 6.672 kB / 0.6973 GB, free: 8.977 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.0001405/0.1682, allocations: 124.6 kB / 0.6974 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.836e-05/0.1682, allocations: 13.66 kB / 0.6974 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.1686, allocations: 83.8 kB / 0.6975 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1686, allocations: 6.75 kB / 0.6975 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1686, allocations: 3.938 kB / 0.6975 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.1686, allocations: 1.375 kB / 0.6975 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.169, allocations: 204.9 kB / 0.6977 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.169, allocations: 5.375 kB / 0.6977 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.1691, allocations: 20.34 kB / 0.6977 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1691, allocations: 1.375 kB / 0.6977 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.1691, allocations: 5.375 kB / 0.6977 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.1691, allocations: 1.375 kB / 0.6977 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1691, allocations: 1.375 kB / 0.6977 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005334/0.1697, allocations: 379.4 kB / 0.6981 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.599e-05/0.1698, allocations: 87.75 kB / 0.6982 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.1698, allocations: 2.75 kB / 0.6982 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.17, allocations: 20.23 kB / 0.6982 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.661e-05/0.1701, allocations: 25.58 kB / 0.6982 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.1701, allocations: 6.688 kB / 0.6982 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.876e-05/0.1702, allocations: 112 kB / 0.6983 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1702, allocations: 0 / 0.6983 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003148/0.1705, allocations: 17.75 kB / 0.6984 GB, free: 7.961 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.0009938/0.1715, allocations: 0.9137 MB / 0.6993 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004047/0.172, allocations: 104.4 kB / 0.6993 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.172, allocations: 1.344 kB / 0.6994 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.1722, allocations: 45.61 kB / 0.6994 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/0.1727, allocations: 17.66 kB / 0.6994 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.1751, allocations: 1.803 MB / 0.7012 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.1755, allocations: 0.7002 MB / 0.7019 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.409e-05/0.1756, allocations: 16.64 kB / 0.7019 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.612e-05/0.1757, allocations: 39.36 kB / 0.7019 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1757, allocations: 4 kB / 0.7019 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.1999, allocations: 2.695 MB / 0.7045 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.013/8.213, allocations: 2.125 kB / 0.7045 GB, free: 1.812 MB / 0.5137 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.106723911128938] Failed to read output from testmodel.py, exit status != 0: 8.56603473983705 8.306699288 8.140356064 Calling exit ...