Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006071/0.006071, allocations: 169.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9927/0.9927, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004255, allocations: 8 kB / 0.5077 GB, free: 4.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1915, allocations: 82.31 MB / 0.5881 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002221/0.1938, allocations: 1.731 MB / 0.5898 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009043/0.1947, allocations: 0.5066 MB / 0.5903 GB, free: 260 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.1948, allocations: 4 kB / 0.5903 GB, free: 256 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.195, allocations: 15.86 kB / 0.5903 GB, free: 240 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.1951, allocations: 39.62 kB / 0.5903 GB, free: 200 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.1954, allocations: 47.95 kB / 0.5904 GB, free: 152 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000254/0.1956, allocations: 175.3 kB / 0.5905 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.1958, allocations: 73.78 kB / 0.5906 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.196, allocations: 55.72 kB / 0.5906 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.1961, allocations: 75.69 kB / 0.5907 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.1962, allocations: 8 kB / 0.5907 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.697e-05/0.1962, allocations: 8 kB / 0.5907 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.791e-05/0.1962, allocations: 27.84 kB / 0.5908 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.16e-05/0.1963, allocations: 89.31 kB / 0.5908 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.1965, allocations: 167.6 kB / 0.591 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1965, allocations: 0 / 0.591 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1965, allocations: 0 / 0.591 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.1966, allocations: 0 / 0.591 GB, free: 15.47 MB / 0.4981 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.0007128/0.1973, allocations: 474.9 kB / 0.5915 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1973, allocations: 8.031 kB / 0.5915 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.949e-05/0.1974, allocations: 50.73 kB / 0.5915 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.1974, allocations: 24.66 kB / 0.5915 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.1976, allocations: 211.7 kB / 0.5917 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.238e-05/0.1977, allocations: 38.27 kB / 0.5918 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.1978, allocations: 12.38 kB / 0.5918 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/0.1982, allocations: 177.5 kB / 0.592 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1982, allocations: 3.938 kB / 0.592 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.1982, allocations: 4 kB / 0.592 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1982, allocations: 4 kB / 0.592 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005167/0.1988, allocations: 167.9 kB / 0.5921 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007552/0.1995, allocations: 0.5503 MB / 0.5927 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.2, allocations: 150.6 kB / 0.5928 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.2002, allocations: 84.81 kB / 0.5929 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.2002, allocations: 4 kB / 0.5929 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2003, allocations: 34.56 kB / 0.5929 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.2003, allocations: 0 / 0.5929 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.000747/0.201, allocations: 263.4 kB / 0.5932 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.2011, allocations: 51.41 kB / 0.5932 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.2012, allocations: 157.4 kB / 0.5934 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.2012, allocations: 33.64 kB / 0.5934 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.625e-05/0.2013, allocations: 128.1 kB / 0.5935 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.2013, allocations: 47.38 kB / 0.5936 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.2014, allocations: 13.72 kB / 0.5936 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.2015, allocations: 326.8 kB / 0.5939 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.2017, allocations: 75.94 kB / 0.594 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.202, allocations: 102.2 kB / 0.5941 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/0.2024, allocations: 166.4 kB / 0.5942 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2024, allocations: 0 / 0.5942 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005091/0.2029, allocations: 216.4 kB / 0.5944 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.2029, allocations: 7.984 kB / 0.5944 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.203, allocations: 4 kB / 0.5944 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.203, allocations: 0 / 0.5944 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.2032, allocations: 43.97 kB / 0.5945 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2032, allocations: 8.062 kB / 0.5945 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.2034, allocations: 35.81 kB / 0.5945 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.2034, allocations: 8 kB / 0.5945 GB, free: 11.59 MB / 0.4981 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 9.53e-05/0.2035, allocations: 126.2 kB / 0.5947 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.2035, allocations: 19.81 kB / 0.5947 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.2036, allocations: 16.72 kB / 0.5947 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.2036, allocations: 3.984 kB / 0.5947 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.2036, allocations: 0 / 0.5947 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2036, allocations: 3.984 kB / 0.5947 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.2038, allocations: 233.5 kB / 0.5949 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2038, allocations: 0 / 0.5949 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.204, allocations: 47.95 kB / 0.595 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2041, allocations: 4 kB / 0.595 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.2041, allocations: 0 / 0.595 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2041, allocations: 7.875 kB / 0.595 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2041, allocations: 0 / 0.595 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007488/0.2048, allocations: 379.1 kB / 0.5953 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.2049, allocations: 88.98 kB / 0.5954 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.2049, allocations: 7.984 kB / 0.5954 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.2051, allocations: 28.05 kB / 0.5955 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.2052, allocations: 19.97 kB / 0.5955 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.2052, allocations: 4 kB / 0.5955 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.17e-05/0.2052, allocations: 115.2 kB / 0.5956 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2053, allocations: 0 / 0.5956 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00025/0.2055, allocations: 31.91 kB / 0.5956 GB, free: 10.38 MB / 0.4981 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.0009815/0.2065, allocations: 0.9113 MB / 0.5965 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004829/0.207, allocations: 179.8 kB / 0.5967 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.207, allocations: 0 / 0.5967 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.2072, allocations: 87.83 kB / 0.5968 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.2076, allocations: 25.88 kB / 0.5968 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.2102, allocations: 2.116 MB / 0.5989 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.2105, allocations: 0.7121 MB / 0.5996 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.933e-05/0.2106, allocations: 12.55 kB / 0.5996 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.767e-05/0.2107, allocations: 43.42 kB / 0.5996 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.2107, allocations: 0 / 0.5996 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6333/0.844, allocations: 2.838 MB / 0.6024 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003623/0.8444, allocations: 209.1 kB / 0.6026 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.528, allocations: 0 / 0.6026 GB, free: 3.223 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating.fmu > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1)