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: translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00168/0.00168, allocations: 197.1 kB / 16.26 MB, free: 6.629 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.472/1.472, allocations: 222.9 MB / 239.9 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.04/1.04, allocations: 135.1 MB / 425.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001242, allocations: 60.66 kB / 0.5048 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2043, allocations: 80.93 MB / 0.5839 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003437/0.2078, allocations: 2.085 MB / 0.5859 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00084/0.2086, allocations: 0.5182 MB / 0.5864 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.92e-05/0.2087, allocations: 4 kB / 0.5864 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.2089, allocations: 11.86 kB / 0.5864 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.209, allocations: 39.64 kB / 0.5865 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.2093, allocations: 47.95 kB / 0.5865 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.2095, allocations: 191.2 kB / 0.5867 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.2098, allocations: 70.25 kB / 0.5868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.2099, allocations: 75.75 kB / 0.5868 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.2101, allocations: 75.69 kB / 0.5869 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.2101, allocations: 16 kB / 0.5869 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.976e-05/0.2101, allocations: 12 kB / 0.5869 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.076e-05/0.2102, allocations: 39.84 kB / 0.587 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.273e-05/0.2103, allocations: 75.61 kB / 0.587 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.2105, allocations: 175.6 kB / 0.5872 GB, free: 1.445 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.2105, allocations: 4 kB / 0.5872 GB, free: 1.441 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.2105, allocations: 3.938 kB / 0.5872 GB, free: 1.438 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.2105, allocations: 0 / 0.5872 GB, free: 1.438 MB / 494.1 MB 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.0008398/0.2114, allocations: 482.8 kB / 0.5877 GB, free: 0.918 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.2114, allocations: 12.03 kB / 0.5877 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.064e-05/0.2115, allocations: 20.75 kB / 0.5877 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.2117, allocations: 211.6 kB / 0.5879 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.2118, allocations: 46.25 kB / 0.588 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.2119, allocations: 12.38 kB / 0.588 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/0.2123, allocations: 157.7 kB / 0.5881 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2123, allocations: 0 / 0.5881 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.2123, allocations: 4 kB / 0.5881 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.2124, allocations: 11.98 kB / 0.5881 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004722/0.2128, allocations: 143.9 kB / 0.5883 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000954/0.2138, allocations: 0.5346 MB / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/0.2143, allocations: 142.2 kB / 0.5889 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.2146, allocations: 76.8 kB / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.2146, allocations: 4 kB / 0.589 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.2146, allocations: 34.56 kB / 0.589 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.2146, allocations: 4 kB / 0.589 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007226/0.2154, allocations: 217.4 kB / 0.5893 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.2154, allocations: 51.41 kB / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.2156, allocations: 149.5 kB / 0.5894 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.2156, allocations: 37.7 kB / 0.5895 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.2157, allocations: 136.1 kB / 0.5896 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.2158, allocations: 43.3 kB / 0.5897 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/0.2158, allocations: 25.72 kB / 0.5897 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.216, allocations: 326.8 kB / 0.59 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.2162, allocations: 59.94 kB / 0.59 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.2164, allocations: 90.52 kB / 0.5901 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.2168, allocations: 141.6 kB / 0.5903 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.2168, allocations: 3.938 kB / 0.5903 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004632/0.2173, allocations: 181.4 kB / 0.5904 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.2173, allocations: 10.19 kB / 0.5905 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2173, allocations: 0 / 0.5905 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2173, allocations: 4.062 kB / 0.5905 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.2175, allocations: 43.95 kB / 0.5905 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.2176, allocations: 4 kB / 0.5905 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.2177, allocations: 27.83 kB / 0.5905 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.2177, allocations: 11.92 kB / 0.5905 GB, free: 13.79 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 0.0001076/0.2178, allocations: 122.3 kB / 0.5907 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.2179, allocations: 19.81 kB / 0.5907 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.63e-05/0.2179, allocations: 16.72 kB / 0.5907 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2179, allocations: 3.938 kB / 0.5907 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2179, allocations: 0 / 0.5907 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.218, allocations: 3.984 kB / 0.5907 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.2182, allocations: 241.5 kB / 0.5909 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2182, allocations: 0 / 0.5909 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.2184, allocations: 31.97 kB / 0.591 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2184, allocations: 3.938 kB / 0.591 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.2185, allocations: 11.98 kB / 0.591 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2185, allocations: 0 / 0.591 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2185, allocations: 0 / 0.591 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006969/0.2192, allocations: 343.1 kB / 0.5913 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.2192, allocations: 88.98 kB / 0.5914 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.2193, allocations: 0 / 0.5914 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.2194, allocations: 23.97 kB / 0.5914 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.2195, allocations: 11.97 kB / 0.5914 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.2195, allocations: 8 kB / 0.5914 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.653e-05/0.2196, allocations: 111.2 kB / 0.5915 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2196, allocations: 0 / 0.5915 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002495/0.2199, allocations: 39.97 kB / 0.5916 GB, free: 12.64 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.0001099/0.22, allocations: 99.19 kB / 0.5917 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004848/0.2205, allocations: 151.8 kB / 0.5918 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2205, allocations: 128 / 0.5918 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.2207, allocations: 79.89 kB / 0.5919 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.2211, allocations: 19.92 kB / 0.5919 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008399/0.222, allocations: 449.1 kB / 0.5923 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.2223, allocations: 0.7196 MB / 0.593 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.007e-05/0.2224, allocations: 8.547 kB / 0.593 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.2224, allocations: 15.44 kB / 0.5931 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.2224, allocations: 0 / 0.5931 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.003979/0.2264, allocations: 1.43 MB / 0.5945 GB, free: 9.637 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile (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 & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1)