Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.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.001211/0.001211, allocations: 104.5 kB / 16.45 MB, free: 6.504 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.001185/0.001185, allocations: 192.6 kB / 19.41 MB, free: 3.68 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.347/1.347, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.811/0.811, allocations: 134 MB / 436.6 MB, free: 1.27 MB / 334.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.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(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 65.03 kB / 0.6051 GB, free: 15.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1597, allocations: 84.67 MB / 0.6878 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003215/0.163, allocations: 2.047 MB / 0.6898 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008896/0.1638, allocations: 0.5415 MB / 0.6903 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.1e-05/0.1639, allocations: 7.938 kB / 0.6903 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.164, allocations: 27.72 kB / 0.6903 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.106e-05/0.1641, allocations: 39.58 kB / 0.6904 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.1644, allocations: 59.86 kB / 0.6904 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.1646, allocations: 183.2 kB / 0.6906 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.1647, allocations: 58.53 kB / 0.6907 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.1649, allocations: 75.7 kB / 0.6907 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.165, allocations: 83.62 kB / 0.6908 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.165, allocations: 16 kB / 0.6908 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.539e-05/0.1651, allocations: 12 kB / 0.6908 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.193e-05/0.1651, allocations: 35.84 kB / 0.6909 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.364e-05/0.1652, allocations: 83.58 kB / 0.6909 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.1654, allocations: 167.3 kB / 0.6911 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1654, allocations: 0 / 0.6911 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.496e-06/0.1654, allocations: 4 kB / 0.6911 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.1654, allocations: 0 / 0.6911 GB, free: 7.648 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.000824/0.1662, allocations: 0.4908 MB / 0.6916 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1663, allocations: 8.031 kB / 0.6916 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.06e-05/0.1663, allocations: 46.73 kB / 0.6916 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.1664, allocations: 16.84 kB / 0.6917 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.1666, allocations: 220.1 kB / 0.6919 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.56e-05/0.1667, allocations: 38.27 kB / 0.6919 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.1667, allocations: 20.36 kB / 0.6919 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.1671, allocations: 153.5 kB / 0.6921 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1671, allocations: 0 / 0.6921 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.1671, allocations: 4 kB / 0.6921 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1671, allocations: 4 kB / 0.6921 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/0.1676, allocations: 153.2 kB / 0.6922 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007903/0.1684, allocations: 0.527 MB / 0.6927 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.1688, allocations: 126.6 kB / 0.6929 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.169, allocations: 84.73 kB / 0.6929 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.169, allocations: 0 / 0.6929 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.169, allocations: 38.56 kB / 0.693 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 8.92e-07/0.169, allocations: 0 / 0.693 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0006722/0.1697, allocations: 217.4 kB / 0.6932 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.1697, allocations: 55.41 kB / 0.6932 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.1699, allocations: 152.4 kB / 0.6934 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1699, allocations: 25.7 kB / 0.6934 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.108e-05/0.17, allocations: 136.2 kB / 0.6935 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.17, allocations: 43.62 kB / 0.6936 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/0.1701, allocations: 33.67 kB / 0.6936 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1702, allocations: 322.8 kB / 0.6939 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.1704, allocations: 67.88 kB / 0.694 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.1706, allocations: 82.52 kB / 0.6941 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/0.171, allocations: 142.4 kB / 0.6942 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.171, allocations: 0 / 0.6942 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004505/0.1714, allocations: 187.2 kB / 0.6944 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1714, allocations: 8.062 kB / 0.6944 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1715, allocations: 0 / 0.6944 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1715, allocations: 4 kB / 0.6944 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.1716, allocations: 39.95 kB / 0.6944 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1717, allocations: 0 / 0.6944 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.1718, allocations: 31.81 kB / 0.6945 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.1718, allocations: 4 kB / 0.6945 GB, free: 3.949 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.0001116/0.1719, allocations: 137.8 kB / 0.6946 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.1719, allocations: 11.91 kB / 0.6946 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.481e-05/0.172, allocations: 16.72 kB / 0.6946 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.172, allocations: 0 / 0.6946 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.172, allocations: 0 / 0.6946 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.172, allocations: 4 kB / 0.6946 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.1722, allocations: 237.5 kB / 0.6949 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1722, allocations: 0 / 0.6949 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.1724, allocations: 35.91 kB / 0.6949 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1724, allocations: 4 kB / 0.6949 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.1724, allocations: 8 kB / 0.6949 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1724, allocations: 0 / 0.6949 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1725, allocations: 3.984 kB / 0.6949 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006741/0.1731, allocations: 343.2 kB / 0.6952 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.1732, allocations: 92.98 kB / 0.6953 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.1732, allocations: 4 kB / 0.6953 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.1734, allocations: 19.97 kB / 0.6953 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.1734, allocations: 15.98 kB / 0.6954 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.1734, allocations: 4 kB / 0.6954 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.039e-05/0.1735, allocations: 113.7 kB / 0.6955 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1735, allocations: 4.062 kB / 0.6955 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002449/0.1737, allocations: 32 kB / 0.6955 GB, free: 2.785 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.0009547/0.1747, allocations: 0.8817 MB / 0.6964 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004363/0.1751, allocations: 139.8 kB / 0.6965 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1751, allocations: 0 / 0.6965 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.1753, allocations: 76.06 kB / 0.6966 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.1757, allocations: 23.81 kB / 0.6966 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.1783, allocations: 1.971 MB / 0.6985 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.1786, allocations: 0.7197 MB / 0.6992 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.961e-05/0.1787, allocations: 4.562 kB / 0.6992 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.315e-05/0.1788, allocations: 51.42 kB / 0.6993 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.1788, allocations: 0 / 0.6993 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.2067, allocations: 3.311 MB / 0.7025 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.561/7.768, allocations: 7.984 kB / 0.7025 GB, free: 11.62 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating.fmu > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.10700312629342] Failed to read output from testmodel.py, exit status != 0: 7.83291313610971 7.847353279 7.679196389 Calling exit ...