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.001203/0.001203, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001311/0.001311, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.488/1.488, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9929/0.9929, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 67.14 kB / 0.5047 GB, free: 5.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.2002, allocations: 80.92 MB / 0.5837 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003593/0.2039, allocations: 2.085 MB / 0.5857 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008916/0.2048, allocations: 0.5143 MB / 0.5862 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.922e-05/0.2049, allocations: 8 kB / 0.5862 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.2051, allocations: 11.86 kB / 0.5863 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.2052, allocations: 43.62 kB / 0.5863 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.2055, allocations: 43.95 kB / 0.5863 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.2057, allocations: 183.2 kB / 0.5865 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.2059, allocations: 69.84 kB / 0.5866 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.206, allocations: 59.78 kB / 0.5866 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.2062, allocations: 87.61 kB / 0.5867 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.2062, allocations: 12 kB / 0.5867 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.842e-05/0.2062, allocations: 8 kB / 0.5867 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.867e-05/0.2063, allocations: 27.91 kB / 0.5868 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.36e-05/0.2064, allocations: 79.53 kB / 0.5868 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.2066, allocations: 163.7 kB / 0.587 GB, free: 1.637 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2066, allocations: 4 kB / 0.587 GB, free: 1.633 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2066, allocations: 0 / 0.587 GB, free: 1.633 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.2066, allocations: 0 / 0.587 GB, free: 1.633 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.0008007/0.2074, allocations: 486.8 kB / 0.5875 GB, free: 1.109 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2075, allocations: 8.031 kB / 0.5875 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.886e-05/0.2075, allocations: 20.66 kB / 0.5875 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.2077, allocations: 212.7 kB / 0.5877 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.08e-05/0.2078, allocations: 38.27 kB / 0.5877 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.2079, allocations: 16.38 kB / 0.5877 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.2083, allocations: 161.6 kB / 0.5879 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.2083, allocations: 7.844 kB / 0.5879 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.2083, allocations: 4 kB / 0.5879 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2083, allocations: 4 kB / 0.5879 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004728/0.2088, allocations: 143.9 kB / 0.5881 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008292/0.2097, allocations: 0.5308 MB / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.2101, allocations: 138.6 kB / 0.5887 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.2103, allocations: 76.81 kB / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.2104, allocations: 0 / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.2104, allocations: 34.56 kB / 0.5888 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.2104, allocations: 0 / 0.5888 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006848/0.2111, allocations: 224.8 kB / 0.589 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.2111, allocations: 59.41 kB / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.2113, allocations: 149.5 kB / 0.5892 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.2113, allocations: 29.7 kB / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.902e-05/0.2114, allocations: 128.1 kB / 0.5894 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.2114, allocations: 47.28 kB / 0.5894 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.2115, allocations: 33.7 kB / 0.5895 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2116, allocations: 330.8 kB / 0.5898 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.2118, allocations: 55.95 kB / 0.5898 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.212, allocations: 91.08 kB / 0.5899 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.2124, allocations: 138.4 kB / 0.59 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2124, allocations: 3.938 kB / 0.59 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004368/0.2129, allocations: 192.9 kB / 0.5902 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2129, allocations: 4 kB / 0.5902 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2129, allocations: 0 / 0.5902 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.2129, allocations: 0 / 0.5902 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.2131, allocations: 35.97 kB / 0.5903 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.2131, allocations: 7.938 kB / 0.5903 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.2133, allocations: 39.86 kB / 0.5903 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.2133, allocations: 4 kB / 0.5903 GB, free: 13.98 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.0001283/0.2134, allocations: 126.3 kB / 0.5904 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.2135, allocations: 11.81 kB / 0.5904 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.908e-05/0.2135, allocations: 20.7 kB / 0.5905 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2135, allocations: 0 / 0.5905 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2136, allocations: 0 / 0.5905 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.2136, allocations: 4 kB / 0.5905 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.2138, allocations: 245.5 kB / 0.5907 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2139, allocations: 4 kB / 0.5907 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.214, allocations: 35.91 kB / 0.5907 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.2141, allocations: 4 kB / 0.5907 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.2141, allocations: 0 / 0.5907 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2141, allocations: 0 / 0.5907 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2141, allocations: 0 / 0.5907 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007006/0.2148, allocations: 343.1 kB / 0.5911 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.2149, allocations: 88.98 kB / 0.5912 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.2149, allocations: 0 / 0.5912 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.2151, allocations: 28.03 kB / 0.5912 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.2151, allocations: 11.98 kB / 0.5912 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.2151, allocations: 3.938 kB / 0.5912 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.387e-05/0.2152, allocations: 115.2 kB / 0.5913 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2152, allocations: 0 / 0.5913 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002521/0.2155, allocations: 35.91 kB / 0.5913 GB, free: 12.83 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.0001064/0.2156, allocations: 99.19 kB / 0.5914 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004595/0.2161, allocations: 147.8 kB / 0.5916 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2161, allocations: 0 / 0.5916 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.2163, allocations: 71.94 kB / 0.5916 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.2167, allocations: 34.05 kB / 0.5917 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008486/0.2175, allocations: 447.1 kB / 0.5921 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.2179, allocations: 0.7121 MB / 0.5928 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.572e-05/0.2179, allocations: 12.55 kB / 0.5928 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/0.218, allocations: 15.44 kB / 0.5928 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.218, allocations: 0 / 0.5928 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.004447/0.2225, allocations: 1.368 MB / 0.5942 GB, free: 9.902 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)