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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 110.3 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 193.3 kB / 20.08 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.093/1.093, allocations: 177.8 MB / 481.2 MB, free: 1.438 MB / 366.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 66.09 kB / 0.6694 GB, free: 9.156 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2092, allocations: 95.08 MB / 0.7623 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003544/0.2128, allocations: 2.036 MB / 0.7643 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009801/0.2138, allocations: 0.5493 MB / 0.7648 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.547e-05/0.2139, allocations: 7.875 kB / 0.7648 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.214, allocations: 23.78 kB / 0.7648 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.2141, allocations: 43.58 kB / 0.7649 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.2144, allocations: 55.86 kB / 0.7649 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.2146, allocations: 179.2 kB / 0.7651 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.2148, allocations: 62.31 kB / 0.7652 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.2149, allocations: 67.77 kB / 0.7652 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.2151, allocations: 83.62 kB / 0.7653 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.2151, allocations: 12 kB / 0.7653 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.975e-05/0.2151, allocations: 16 kB / 0.7653 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.601e-05/0.2152, allocations: 39.83 kB / 0.7654 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.925e-05/0.2153, allocations: 79.59 kB / 0.7654 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.2155, allocations: 175.2 kB / 0.7656 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2155, allocations: 0 / 0.7656 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.532e-06/0.2155, allocations: 0 / 0.7656 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.2155, allocations: 4 kB / 0.7656 GB, free: 10.26 MB / 0.5762 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.0008643/0.2164, allocations: 498.5 kB / 0.7661 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.2164, allocations: 12.03 kB / 0.7661 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.475e-05/0.2165, allocations: 16.84 kB / 0.7661 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.2167, allocations: 212.1 kB / 0.7663 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-05/0.2168, allocations: 46.25 kB / 0.7664 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/0.2169, allocations: 12.38 kB / 0.7664 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.2173, allocations: 157.7 kB / 0.7665 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.2173, allocations: 0 / 0.7665 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.2173, allocations: 7.984 kB / 0.7665 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.2173, allocations: 4 kB / 0.7665 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004946/0.2178, allocations: 139.9 kB / 0.7667 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009219/0.2187, allocations: 0.5425 MB / 0.7672 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.2192, allocations: 126.6 kB / 0.7673 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.2194, allocations: 72.81 kB / 0.7674 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.2194, allocations: 4 kB / 0.7674 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.2194, allocations: 34.5 kB / 0.7674 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.2194, allocations: 0 / 0.7674 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.0007231/0.2202, allocations: 213.8 kB / 0.7676 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.2202, allocations: 63.34 kB / 0.7677 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.2204, allocations: 156.6 kB / 0.7678 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.2204, allocations: 29.7 kB / 0.7679 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.626e-05/0.2205, allocations: 132.2 kB / 0.768 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.2206, allocations: 39.64 kB / 0.768 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/0.2206, allocations: 29.66 kB / 0.7681 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000205/0.2208, allocations: 326.8 kB / 0.7684 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.221, allocations: 63.94 kB / 0.7684 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.2212, allocations: 86.52 kB / 0.7685 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004039/0.2217, allocations: 142.2 kB / 0.7686 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.2217, allocations: 3.938 kB / 0.7687 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004911/0.2221, allocations: 193.5 kB / 0.7688 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.2222, allocations: 4 kB / 0.7688 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2222, allocations: 0 / 0.7688 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.2222, allocations: 4 kB / 0.7688 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.2224, allocations: 39.91 kB / 0.7689 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2224, allocations: 0 / 0.7689 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.2225, allocations: 27.86 kB / 0.7689 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.2226, allocations: 8 kB / 0.7689 GB, free: 6.617 MB / 0.5762 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.0001195/0.2227, allocations: 129.8 kB / 0.769 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.2227, allocations: 11.91 kB / 0.7691 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.2228, allocations: 16.72 kB / 0.7691 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2228, allocations: 0 / 0.7691 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2228, allocations: 0 / 0.7691 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2228, allocations: 3.984 kB / 0.7691 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.2231, allocations: 253.4 kB / 0.7693 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2231, allocations: 0 / 0.7693 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.2233, allocations: 35.97 kB / 0.7693 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2233, allocations: 3.984 kB / 0.7693 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.2233, allocations: 4 kB / 0.7694 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2233, allocations: 3.938 kB / 0.7694 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2233, allocations: 4 kB / 0.7694 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007433/0.2241, allocations: 343.3 kB / 0.7697 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.301e-05/0.2241, allocations: 89.05 kB / 0.7698 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.2242, allocations: 7.922 kB / 0.7698 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.2243, allocations: 15.98 kB / 0.7698 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.2244, allocations: 15.97 kB / 0.7698 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.2244, allocations: 4 kB / 0.7698 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.971e-05/0.2245, allocations: 120.8 kB / 0.7699 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2245, allocations: 0 / 0.7699 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002751/0.2248, allocations: 39.89 kB / 0.77 GB, free: 5.445 MB / 0.5762 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.0001234/0.2249, allocations: 95.25 kB / 0.7701 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004976/0.2254, allocations: 143.9 kB / 0.7702 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2254, allocations: 0 / 0.7702 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.2256, allocations: 75.89 kB / 0.7703 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.226, allocations: 21.41 kB / 0.7703 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008872/0.2269, allocations: 422.5 kB / 0.7707 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.2273, allocations: 0.7197 MB / 0.7714 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/0.2273, allocations: 15.44 kB / 0.7714 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.2273, allocations: 0 / 0.7714 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of Templates: time 0.004158/0.2315, allocations: 1.814 MB / 0.7732 GB, free: 2.094 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.315628399985144] Failed to read output from testmodel.py, exit status != 0: 0.24021309497766197 0.25419437500000003 0.035677123000000005 Calling exit ...