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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009896/0.0009896, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.009/1.009, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8401/0.8401, allocations: 154.9 MB / 415.1 MB, free: 228 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.663e-06/1.663e-06, allocations: 0 / 480.3 MB, free: 6.582 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.406e-05, allocations: 2.312 kB / 480.3 MB, free: 6.578 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003805/0.003829, allocations: 2.071 MB / 482.4 MB, free: 4.531 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.00521, allocations: 0.5948 MB / 483 MB, free: 3.945 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.005348, allocations: 4 kB / 483 MB, free: 3.941 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.005472, allocations: 24.27 kB / 483 MB, free: 3.918 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.919e-05/0.005571, allocations: 50.66 kB / 483.1 MB, free: 3.879 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.005825, allocations: 71.78 kB / 483.1 MB, free: 3.809 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.006007, allocations: 191.8 kB / 483.3 MB, free: 3.621 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.00613, allocations: 52.47 kB / 483.4 MB, free: 3.566 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.006308, allocations: 117 kB / 483.5 MB, free: 3.453 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.566e-05/0.006403, allocations: 59.8 kB / 483.5 MB, free: 3.395 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.006426, allocations: 12 kB / 483.6 MB, free: 3.383 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.124e-05/0.006478, allocations: 23.31 kB / 483.6 MB, free: 3.363 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.156e-05/0.006509, allocations: 39.84 kB / 483.6 MB, free: 3.324 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.006555, allocations: 52.91 kB / 483.7 MB, free: 3.273 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.006751, allocations: 123.5 kB / 483.8 MB, free: 3.152 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.006753, allocations: 0 / 483.8 MB, free: 3.152 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006754, allocations: 0 / 483.8 MB, free: 3.152 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.006759, allocations: 4 kB / 483.8 MB, free: 3.148 MB / 442.7 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.0004494/0.007208, allocations: 380.1 kB / 484.2 MB, free: 2.758 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.007242, allocations: 8.906 kB / 484.2 MB, free: 2.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.007345, allocations: 36.91 kB / 484.2 MB, free: 2.715 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.007492, allocations: 150.4 kB / 484.4 MB, free: 2.543 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.619e-05/0.007548, allocations: 67.91 kB / 484.4 MB, free: 2.465 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.007573, allocations: 16.95 kB / 484.4 MB, free: 2.449 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.007737, allocations: 127.4 kB / 484.6 MB, free: 2.316 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.007746, allocations: 3.578 kB / 484.6 MB, free: 2.316 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.007757, allocations: 8.125 kB / 484.6 MB, free: 2.309 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.007765, allocations: 4.625 kB / 484.6 MB, free: 2.305 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.144e-05/0.007836, allocations: 32.61 kB / 484.6 MB, free: 2.273 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.008221, allocations: 297.7 kB / 484.9 MB, free: 1.969 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.008387, allocations: 70.47 kB / 485 MB, free: 1.891 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.388e-05/0.008421, allocations: 26.62 kB / 485 MB, free: 1.863 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.008436, allocations: 0 / 485 MB, free: 1.863 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.008458, allocations: 38.56 kB / 485 MB, free: 1.816 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.008459, allocations: 0 / 485 MB, free: 1.816 MB / 442.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001526/0.008611, allocations: 86.02 kB / 485.1 MB, free: 1.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.008641, allocations: 63.33 kB / 485.2 MB, free: 1.656 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.876e-05/0.00872, allocations: 153.1 kB / 485.3 MB, free: 1.496 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.008736, allocations: 25.7 kB / 485.4 MB, free: 1.465 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.008785, allocations: 128.2 kB / 485.5 MB, free: 1.332 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.008812, allocations: 40.25 kB / 485.5 MB, free: 1.293 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.008852, allocations: 38.3 kB / 485.6 MB, free: 1.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.007e-05/0.008932, allocations: 326.8 kB / 485.9 MB, free: 0.9219 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/0.008955, allocations: 12.66 kB / 485.9 MB, free: 0.9102 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.62e-05/0.008991, allocations: 32.67 kB / 485.9 MB, free: 0.8711 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.629e-05/0.009057, allocations: 63.69 kB / 486 MB, free: 0.8008 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.00906, allocations: 5.062 kB / 486 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.966e-05/0.009159, allocations: 85.59 kB / 486.1 MB, free: 0.707 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.009171, allocations: 9.156 kB / 486.1 MB, free: 0.6992 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.009176, allocations: 0 / 486.1 MB, free: 0.6992 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.009187, allocations: 3.938 kB / 486.1 MB, free: 0.6953 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.669e-05/0.009274, allocations: 32.47 kB / 486.1 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.009278, allocations: 5.719 kB / 486.1 MB, free: 0.6602 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.009325, allocations: 15.92 kB / 486.1 MB, free: 0.6445 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.009333, allocations: 8 kB / 486.1 MB, free: 0.6367 MB / 442.7 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 6.571e-05/0.009399, allocations: 114.6 kB / 486.3 MB, free: 0.5156 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.00942, allocations: 11.98 kB / 486.3 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.009446, allocations: 18.62 kB / 486.3 MB, free: 496 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.009449, allocations: 3.938 kB / 486.3 MB, free: 492 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.009451, allocations: 0 / 486.3 MB, free: 492 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.009454, allocations: 4 kB / 486.3 MB, free: 488 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.00958, allocations: 110.7 kB / 486.4 MB, free: 360 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.009582, allocations: 0 / 486.4 MB, free: 360 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.442e-05/0.009656, allocations: 37.88 kB / 486.4 MB, free: 324 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.009658, allocations: 0 / 486.4 MB, free: 324 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.009668, allocations: 8.438 kB / 486.4 MB, free: 316 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.009669, allocations: 0.5938 kB / 486.4 MB, free: 316 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.00967, allocations: 0 / 486.4 MB, free: 316 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.009833, allocations: 188.5 kB / 486.6 MB, free: 112 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.009849, allocations: 23.83 kB / 486.7 MB, free: 88 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.009864, allocations: 4.938 kB / 486.7 MB, free: 84 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.356e-05/0.009918, allocations: 11.98 kB / 486.7 MB, free: 72 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.009953, allocations: 17.38 kB / 486.7 MB, free: 56 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.009958, allocations: 3.938 kB / 486.7 MB, free: 52 kB / 442.7 MB Notification: Performance of sorting global known variables: time 2.758e-05/0.009986, allocations: 39.41 kB / 486.7 MB, free: 12 kB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009986, allocations: 0 / 486.7 MB, free: 12 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.000158/0.01014, allocations: 32.58 kB / 486.8 MB, free: 15.98 MB / 458.7 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 7.182e-05/0.01022, allocations: 85.11 kB / 486.8 MB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.849e-05/0.01031, allocations: 56.81 kB / 486.9 MB, free: 15.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.01032, allocations: 4 kB / 486.9 MB, free: 15.83 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.867e-05/0.01036, allocations: 33.75 kB / 486.9 MB, free: 15.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.01052, allocations: 28.2 kB / 487 MB, free: 15.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00065/0.01117, allocations: 363.4 kB / 487.3 MB, free: 15.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.845e-05/0.01121, allocations: 72.19 kB / 487.4 MB, free: 15.32 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.33e-05/0.01125, allocations: 11.61 kB / 487.4 MB, free: 15.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.401e-05/0.01133, allocations: 72.7 kB / 487.5 MB, free: 15.25 MB / 458.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01133, allocations: 0 / 487.5 MB, free: 15.25 MB / 458.7 MB Notification: Performance of Templates: time 0.003294/0.01462, allocations: 1.628 MB / 489.1 MB, free: 13.74 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6218649661168456]