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.001725/0.001725, allocations: 113.1 kB / 16.42 MB, free: 6.508 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.00202/0.00202, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.587/1.587, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8903/0.8903, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 65.89 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2096, allocations: 80.92 MB / 0.6653 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.004733/0.2144, allocations: 2.027 MB / 0.6673 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.2156, allocations: 0.5414 MB / 0.6678 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.2159, allocations: 0 / 0.6678 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.2161, allocations: 31.67 kB / 0.6678 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.2163, allocations: 43.56 kB / 0.6679 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.2166, allocations: 55.94 kB / 0.6679 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003373/0.217, allocations: 187.2 kB / 0.6681 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.2172, allocations: 70.33 kB / 0.6682 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.2174, allocations: 67.77 kB / 0.6682 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.2176, allocations: 87.61 kB / 0.6683 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.094e-05/0.2177, allocations: 12 kB / 0.6683 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.603e-05/0.2177, allocations: 16 kB / 0.6683 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/0.2178, allocations: 27.92 kB / 0.6684 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.2179, allocations: 83.53 kB / 0.6684 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.2182, allocations: 183.1 kB / 0.6686 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2182, allocations: 4 kB / 0.6686 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2182, allocations: 0 / 0.6686 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.2182, allocations: 0 / 0.6686 GB, free: 2.387 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.0009877/0.2192, allocations: 490.6 kB / 0.6691 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.2193, allocations: 13.11 kB / 0.6691 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.2194, allocations: 24.8 kB / 0.6691 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.2197, allocations: 207.2 kB / 0.6693 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.817e-05/0.2198, allocations: 50.23 kB / 0.6694 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.026e-05/0.2198, allocations: 12.38 kB / 0.6694 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/0.2203, allocations: 159 kB / 0.6695 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.2203, allocations: 4 kB / 0.6695 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.2203, allocations: 4 kB / 0.6695 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.2203, allocations: 8 kB / 0.6695 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004696/0.2208, allocations: 135.9 kB / 0.6697 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009781/0.2218, allocations: 0.5386 MB / 0.6702 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.2222, allocations: 134.6 kB / 0.6703 GB, free: 480 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.2225, allocations: 80.8 kB / 0.6704 GB, free: 396 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.2225, allocations: 0 / 0.6704 GB, free: 396 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.2225, allocations: 38.5 kB / 0.6704 GB, free: 348 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 3.176e-06/0.2226, allocations: 0 / 0.6704 GB, free: 348 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006987/0.2233, allocations: 221.4 kB / 0.6707 GB, free: 120 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.2233, allocations: 51.41 kB / 0.6707 GB, free: 56 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.2235, allocations: 150.2 kB / 0.6708 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.2235, allocations: 29.7 kB / 0.6709 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.795e-05/0.2236, allocations: 132.2 kB / 0.671 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.2237, allocations: 39.62 kB / 0.671 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.591e-05/0.2237, allocations: 33.7 kB / 0.6711 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002086/0.2239, allocations: 330.8 kB / 0.6714 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.2242, allocations: 55.95 kB / 0.6714 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.2244, allocations: 89.69 kB / 0.6715 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004161/0.2249, allocations: 149.5 kB / 0.6717 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2249, allocations: 0 / 0.6717 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004778/0.2254, allocations: 197.4 kB / 0.6719 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.2254, allocations: 4 kB / 0.6719 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2254, allocations: 4 kB / 0.6719 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.2254, allocations: 0 / 0.6719 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.2256, allocations: 39.91 kB / 0.6719 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.2257, allocations: 3.984 kB / 0.6719 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.2258, allocations: 31.94 kB / 0.6719 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.2258, allocations: 4 kB / 0.6719 GB, free: 14.73 MB / 0.5137 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.0001234/0.2259, allocations: 129.8 kB / 0.6721 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.2261, allocations: 11.91 kB / 0.6721 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.205e-05/0.2261, allocations: 20.7 kB / 0.6721 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2261, allocations: 3.938 kB / 0.6721 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2261, allocations: 0 / 0.6721 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.2262, allocations: 85.06 kB / 0.6722 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.2262, allocations: 4 kB / 0.6722 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.2264, allocations: 23.97 kB / 0.6722 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.2265, allocations: 15.92 kB / 0.6722 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006407/0.2271, allocations: 264.8 kB / 0.6725 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007595/0.2279, allocations: 418.5 kB / 0.6729 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002228/0.2281, allocations: 72.03 kB / 0.6729 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.166e-05/0.2282, allocations: 112.1 kB / 0.673 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of Backend: time 6.52e-07/0.2282, allocations: 0 / 0.673 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006229/0.2288, allocations: 162.3 kB / 0.6732 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of SimCode: time 0.001073/0.2299, allocations: 0.8116 MB / 0.674 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of Templates: time 0.005218/0.2352, allocations: 1.786 MB / 0.6757 GB, free: 10.74 MB / 0.5137 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)