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.001215/0.001215, allocations: 113.5 kB / 16.37 MB, free: 6.004 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.001036/0.001036, allocations: 196 kB / 17.31 MB, free: 5.613 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: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7798/0.7798, allocations: 135.1 MB / 426.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 67.89 kB / 0.5067 GB, free: 7.715 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4276, allocations: 80.92 MB / 0.5858 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.002829/0.4304, allocations: 2.024 MB / 0.5877 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009233/0.4314, allocations: 0.525 MB / 0.5883 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.4315, allocations: 3.25 kB / 0.5883 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.4317, allocations: 21.3 kB / 0.5883 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.637e-05/0.4318, allocations: 46.38 kB / 0.5883 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.432, allocations: 56.52 kB / 0.5884 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.4323, allocations: 185.4 kB / 0.5886 GB, free: 23.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.4325, allocations: 73.25 kB / 0.5886 GB, free: 23.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.4326, allocations: 71.72 kB / 0.5887 GB, free: 23.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.4328, allocations: 83.86 kB / 0.5888 GB, free: 23.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.4328, allocations: 15.16 kB / 0.5888 GB, free: 23.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.792e-05/0.4329, allocations: 15.09 kB / 0.5888 GB, free: 23.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.4329, allocations: 35.73 kB / 0.5888 GB, free: 23.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.66e-05/0.433, allocations: 81.45 kB / 0.5889 GB, free: 23.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.4333, allocations: 168.8 kB / 0.5891 GB, free: 23.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4333, allocations: 0 / 0.5891 GB, free: 23.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.4333, allocations: 0.5 kB / 0.5891 GB, free: 23.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.4333, allocations: 2.781 kB / 0.5891 GB, free: 23.05 MB / 446.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.0008889/0.4342, allocations: 492.8 kB / 0.5895 GB, free: 22.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4343, allocations: 10.86 kB / 0.5896 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.663e-05/0.4343, allocations: 25.84 kB / 0.5896 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.4345, allocations: 213.8 kB / 0.5898 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.879e-05/0.4346, allocations: 41.45 kB / 0.5898 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.4347, allocations: 16.36 kB / 0.5898 GB, free: 22.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/0.435, allocations: 162.9 kB / 0.59 GB, free: 22.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.4351, allocations: 0 / 0.59 GB, free: 22.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.4351, allocations: 8 kB / 0.59 GB, free: 22.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.4351, allocations: 4 kB / 0.59 GB, free: 22.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.4355, allocations: 146.2 kB / 0.5901 GB, free: 21.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007079/0.4363, allocations: 0.519 MB / 0.5907 GB, free: 21.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.4367, allocations: 139.7 kB / 0.5908 GB, free: 21.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.4369, allocations: 86.39 kB / 0.5909 GB, free: 21.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.4369, allocations: 0 / 0.5909 GB, free: 21.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.4369, allocations: 36.22 kB / 0.5909 GB, free: 21.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 9.41e-07/0.4369, allocations: 0 / 0.5909 GB, free: 21.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.000607/0.4375, allocations: 228.9 kB / 0.5911 GB, free: 20.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.4376, allocations: 51.41 kB / 0.5912 GB, free: 20.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.324e-05/0.4377, allocations: 155.1 kB / 0.5913 GB, free: 20.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.4377, allocations: 25.7 kB / 0.5913 GB, free: 20.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.4378, allocations: 136.6 kB / 0.5915 GB, free: 20.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.4378, allocations: 40.36 kB / 0.5915 GB, free: 20.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.066e-05/0.4378, allocations: 29.72 kB / 0.5915 GB, free: 20.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.482e-05/0.4379, allocations: 324 kB / 0.5919 GB, free: 20.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.4381, allocations: 60.91 kB / 0.5919 GB, free: 20.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.4383, allocations: 92.36 kB / 0.592 GB, free: 19.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.4386, allocations: 136.3 kB / 0.5921 GB, free: 19.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4386, allocations: 3.938 kB / 0.5921 GB, free: 19.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003772/0.439, allocations: 186.8 kB / 0.5923 GB, free: 19.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.439, allocations: 4 kB / 0.5923 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.439, allocations: 7.938 kB / 0.5923 GB, free: 19.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.439, allocations: 0 / 0.5923 GB, free: 19.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.4392, allocations: 39.95 kB / 0.5924 GB, free: 19.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.4392, allocations: 0 / 0.5924 GB, free: 19.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.4394, allocations: 28.33 kB / 0.5924 GB, free: 19.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.4394, allocations: 4 kB / 0.5924 GB, free: 19.53 MB / 446.1 MB 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 7.885e-05/0.4395, allocations: 132.2 kB / 0.5925 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.4395, allocations: 15.81 kB / 0.5925 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.4396, allocations: 16.72 kB / 0.5925 GB, free: 19.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4396, allocations: 0 / 0.5925 GB, free: 19.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.4396, allocations: 6.062 kB / 0.5926 GB, free: 19.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.4396, allocations: 0 / 0.5926 GB, free: 19.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.4398, allocations: 241.4 kB / 0.5928 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4398, allocations: 0 / 0.5928 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.4399, allocations: 35.91 kB / 0.5928 GB, free: 19.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.44, allocations: 4.688 kB / 0.5928 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.44, allocations: 4 kB / 0.5928 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.44, allocations: 6.188 kB / 0.5928 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.44, allocations: 3.984 kB / 0.5928 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/0.4405, allocations: 341.9 kB / 0.5932 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.759e-05/0.4406, allocations: 85.05 kB / 0.5932 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.4406, allocations: 4 kB / 0.5932 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.4408, allocations: 25.44 kB / 0.5933 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.4408, allocations: 11.98 kB / 0.5933 GB, free: 18.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.4408, allocations: 4.531 kB / 0.5933 GB, free: 18.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.838e-05/0.4409, allocations: 112.8 kB / 0.5934 GB, free: 18.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4409, allocations: 0 / 0.5934 GB, free: 18.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.4411, allocations: 39.84 kB / 0.5934 GB, free: 18.38 MB / 446.1 MB 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 8.318e-05/0.4412, allocations: 113.2 kB / 0.5935 GB, free: 18.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003934/0.4416, allocations: 149.7 kB / 0.5937 GB, free: 18.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4416, allocations: 0 / 0.5937 GB, free: 18.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.4418, allocations: 71.95 kB / 0.5938 GB, free: 18.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.4421, allocations: 31.16 kB / 0.5938 GB, free: 18.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000629/0.4428, allocations: 384.3 kB / 0.5941 GB, free: 17.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.4429, allocations: 0.7152 MB / 0.5948 GB, free: 16.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.365e-05/0.443, allocations: 12.55 kB / 0.5949 GB, free: 16.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.443, allocations: 11.44 kB / 0.5949 GB, free: 16.89 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.443, allocations: 3.562 kB / 0.5949 GB, free: 16.89 MB / 446.1 MB Notification: Performance of Templates: time 0.00367/0.4467, allocations: 1.587 MB / 0.5964 GB, free: 15.33 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1)