Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.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_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001192, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.528/1.528, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.015/1.015, allocations: 135.1 MB / 425.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 60.22 kB / 0.5053 GB, free: 5.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2129, allocations: 80.93 MB / 0.5844 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003966/0.2169, allocations: 2.019 MB / 0.5863 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.2181, allocations: 0.5299 MB / 0.5868 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001997/0.2183, allocations: 4 kB / 0.5869 GB, free: 2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.2185, allocations: 23.67 kB / 0.5869 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.2188, allocations: 43.58 kB / 0.5869 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.2191, allocations: 59.86 kB / 0.587 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.2194, allocations: 187.2 kB / 0.5872 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.2196, allocations: 78.3 kB / 0.5872 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.2198, allocations: 75.7 kB / 0.5873 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.22, allocations: 79.67 kB / 0.5874 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/0.22, allocations: 16 kB / 0.5874 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.608e-05/0.2201, allocations: 12 kB / 0.5874 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.2201, allocations: 31.86 kB / 0.5874 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.673e-05/0.2202, allocations: 83.59 kB / 0.5875 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.2205, allocations: 171.6 kB / 0.5877 GB, free: 1.148 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2205, allocations: 0 / 0.5877 GB, free: 1.148 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.2205, allocations: 4 kB / 0.5877 GB, free: 1.145 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.2206, allocations: 0 / 0.5877 GB, free: 1.145 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.0009145/0.2215, allocations: 486.8 kB / 0.5881 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.2215, allocations: 12.03 kB / 0.5882 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.577e-05/0.2216, allocations: 20.66 kB / 0.5882 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.2218, allocations: 211.7 kB / 0.5884 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.714e-05/0.222, allocations: 38.27 kB / 0.5884 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.222, allocations: 16.38 kB / 0.5884 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004042/0.2224, allocations: 155 kB / 0.5886 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.2224, allocations: 7.844 kB / 0.5886 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.2225, allocations: 8 kB / 0.5886 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.2225, allocations: 4 kB / 0.5886 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005014/0.223, allocations: 143.9 kB / 0.5887 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008527/0.2238, allocations: 0.5308 MB / 0.5893 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.2243, allocations: 142.5 kB / 0.5894 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.2245, allocations: 76.8 kB / 0.5895 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.2246, allocations: 7.984 kB / 0.5895 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.2246, allocations: 38.56 kB / 0.5895 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.2246, allocations: 0 / 0.5895 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007003/0.2253, allocations: 217.4 kB / 0.5897 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.2254, allocations: 59.41 kB / 0.5898 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.2255, allocations: 145.8 kB / 0.5899 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.2255, allocations: 41.64 kB / 0.5899 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.887e-05/0.2256, allocations: 124.2 kB / 0.5901 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.2257, allocations: 43.3 kB / 0.5901 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.363e-05/0.2257, allocations: 29.7 kB / 0.5901 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.2259, allocations: 326.8 kB / 0.5904 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.2261, allocations: 55.95 kB / 0.5905 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.2263, allocations: 86.52 kB / 0.5906 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/0.2267, allocations: 146.4 kB / 0.5907 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2267, allocations: 3.938 kB / 0.5907 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004945/0.2272, allocations: 184.4 kB / 0.5909 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2273, allocations: 10.5 kB / 0.5909 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2273, allocations: 0 / 0.5909 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2273, allocations: 0 / 0.5909 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.2275, allocations: 40.03 kB / 0.591 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.2275, allocations: 7.984 kB / 0.591 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.2277, allocations: 27.83 kB / 0.591 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.2277, allocations: 4 kB / 0.591 GB, free: 13.5 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.0001164/0.2278, allocations: 125.7 kB / 0.5911 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.2279, allocations: 15.81 kB / 0.5911 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.2279, allocations: 20.7 kB / 0.5911 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2279, allocations: 4 kB / 0.5911 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2279, allocations: 0 / 0.5911 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2279, allocations: 0 / 0.5911 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.2282, allocations: 245.5 kB / 0.5914 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2282, allocations: 0 / 0.5914 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.2284, allocations: 31.97 kB / 0.5914 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2284, allocations: 0 / 0.5914 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.2285, allocations: 0 / 0.5914 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.2285, allocations: 3.938 kB / 0.5914 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2285, allocations: 8 kB / 0.5914 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007509/0.2292, allocations: 347.1 kB / 0.5918 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.2293, allocations: 97.03 kB / 0.5918 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.2293, allocations: 0 / 0.5918 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.2295, allocations: 19.97 kB / 0.5919 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.2296, allocations: 11.98 kB / 0.5919 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.2296, allocations: 12 kB / 0.5919 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.249e-05/0.2297, allocations: 107.2 kB / 0.592 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2297, allocations: 4 kB / 0.592 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002719/0.23, allocations: 35.91 kB / 0.592 GB, free: 12.34 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.0001136/0.2301, allocations: 111.2 kB / 0.5921 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005122/0.2306, allocations: 151.8 kB / 0.5923 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2306, allocations: 0 / 0.5923 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.2308, allocations: 76.02 kB / 0.5924 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.2312, allocations: 21.11 kB / 0.5924 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000826/0.2321, allocations: 393.4 kB / 0.5927 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.2324, allocations: 0.7119 MB / 0.5934 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.91e-05/0.2325, allocations: 20.47 kB / 0.5935 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.627e-05/0.2325, allocations: 15.44 kB / 0.5935 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2325, allocations: 0 / 0.5935 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.004568/0.2371, allocations: 1.58 MB / 0.595 GB, free: 9.234 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1)