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.001331/0.001331, 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.001554/0.001555, allocations: 192.7 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.496/1.496, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9951/0.9951, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 61.83 kB / 0.5053 GB, free: 5.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2114, allocations: 80.93 MB / 0.5844 GB, free: 4.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003953/0.2154, allocations: 2.02 MB / 0.5863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.2164, allocations: 0.526 MB / 0.5868 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.2166, allocations: 4 kB / 0.5868 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.2168, allocations: 23.73 kB / 0.5869 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.217, allocations: 43.58 kB / 0.5869 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.2173, allocations: 63.78 kB / 0.587 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.2175, allocations: 191.2 kB / 0.5872 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.2178, allocations: 70.3 kB / 0.5872 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.2179, allocations: 75.7 kB / 0.5873 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.2181, allocations: 79.67 kB / 0.5874 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.726e-05/0.2181, allocations: 20 kB / 0.5874 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.655e-05/0.2182, allocations: 16 kB / 0.5874 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.616e-05/0.2182, allocations: 31.86 kB / 0.5874 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.2183, allocations: 87.58 kB / 0.5875 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.2186, allocations: 163.6 kB / 0.5877 GB, free: 1.164 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.2186, allocations: 4 kB / 0.5877 GB, free: 1.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2186, allocations: 0 / 0.5877 GB, free: 1.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.2186, allocations: 0 / 0.5877 GB, free: 1.16 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.0009063/0.2195, allocations: 490.8 kB / 0.5881 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.2196, allocations: 12.03 kB / 0.5882 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.338e-05/0.2197, allocations: 20.66 kB / 0.5882 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.2199, allocations: 208.7 kB / 0.5884 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.999e-05/0.22, allocations: 38.27 kB / 0.5884 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.2201, allocations: 12.38 kB / 0.5884 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004306/0.2205, allocations: 163 kB / 0.5886 GB, free: 144 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.2205, allocations: 7.844 kB / 0.5886 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.2205, allocations: 4 kB / 0.5886 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2206, allocations: 4 kB / 0.5886 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004978/0.2211, allocations: 143.9 kB / 0.5887 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008483/0.2219, allocations: 0.5308 MB / 0.5893 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004444/0.2224, allocations: 142.5 kB / 0.5894 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.2226, allocations: 88.8 kB / 0.5895 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.2226, allocations: 0 / 0.5895 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.2227, allocations: 30.56 kB / 0.5895 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.2227, allocations: 0 / 0.5895 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007185/0.2234, allocations: 221.4 kB / 0.5897 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.2235, allocations: 55.41 kB / 0.5898 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.2236, allocations: 153.5 kB / 0.5899 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.2236, allocations: 29.64 kB / 0.5899 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.836e-05/0.2237, allocations: 124.2 kB / 0.5901 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.2238, allocations: 47.3 kB / 0.5901 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.95e-05/0.2238, allocations: 29.7 kB / 0.5901 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.224, allocations: 326.8 kB / 0.5904 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.2242, allocations: 55.95 kB / 0.5905 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.2244, allocations: 86.52 kB / 0.5906 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/0.2248, allocations: 138.4 kB / 0.5907 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.2248, allocations: 3.938 kB / 0.5907 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005128/0.2254, allocations: 196.9 kB / 0.5909 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2254, allocations: 4 kB / 0.5909 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2254, allocations: 0 / 0.5909 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.2254, allocations: 0 / 0.5909 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.2256, allocations: 35.97 kB / 0.5909 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.2256, allocations: 7.984 kB / 0.5909 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.2258, allocations: 31.89 kB / 0.591 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.2258, allocations: 4 kB / 0.591 GB, free: 13.52 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.0001945/0.226, allocations: 125.7 kB / 0.5911 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.2261, allocations: 15.81 kB / 0.5911 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.586e-05/0.2261, allocations: 24.7 kB / 0.5911 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2261, allocations: 0 / 0.5911 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2261, allocations: 0 / 0.5911 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2261, allocations: 0 / 0.5911 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.2264, allocations: 241.5 kB / 0.5914 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2264, allocations: 4 kB / 0.5914 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.2266, allocations: 31.97 kB / 0.5914 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.2266, allocations: 3.984 kB / 0.5914 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.2267, allocations: 4 kB / 0.5914 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.2267, allocations: 7.938 kB / 0.5914 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2267, allocations: 0 / 0.5914 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008064/0.2275, allocations: 349.8 kB / 0.5918 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.2276, allocations: 88.98 kB / 0.5918 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.2276, allocations: 0 / 0.5918 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.2278, allocations: 27.97 kB / 0.5919 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/0.2278, allocations: 16.05 kB / 0.5919 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.2279, allocations: 4 kB / 0.5919 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.9e-05/0.2279, allocations: 111.2 kB / 0.592 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.228, allocations: 0 / 0.592 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002641/0.2282, allocations: 35.91 kB / 0.592 GB, free: 12.36 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.000128/0.2284, allocations: 107.2 kB / 0.5921 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005195/0.2289, allocations: 155.8 kB / 0.5923 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2289, allocations: 0 / 0.5923 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.2292, allocations: 71.89 kB / 0.5923 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.2296, allocations: 23.92 kB / 0.5924 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009304/0.2306, allocations: 389.5 kB / 0.5927 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.2309, allocations: 0.7158 MB / 0.5934 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.05e-05/0.231, allocations: 20.42 kB / 0.5935 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.588e-05/0.2311, allocations: 15.44 kB / 0.5935 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.2311, allocations: 0 / 0.5935 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.005145/0.2363, allocations: 1.583 MB / 0.595 GB, free: 9.254 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)