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.001637/0.001637, allocations: 80.69 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002969/0.002969, allocations: 159.7 kB / 22.46 MB, free: 5.375 MB / 14.72 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.63/1.63, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.284/1.284, allocations: 154.6 MB / 413.7 MB, free: 5.312 MB / 382.1 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 178] 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.773e-06/1.773e-06, allocations: 0 / 0.6185 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.186e-05/3.363e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003837/0.003871, allocations: 1.988 MB / 0.6204 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.005041, allocations: 0.5628 MB / 0.621 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.005161, allocations: 7.938 kB / 0.621 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.005293, allocations: 23.73 kB / 0.621 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.005403, allocations: 51.44 kB / 0.621 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.005712, allocations: 67.78 kB / 0.6211 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002828/0.005995, allocations: 199.1 kB / 0.6213 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.006199, allocations: 50.5 kB / 0.6213 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.006455, allocations: 107.8 kB / 0.6214 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.006578, allocations: 55.86 kB / 0.6215 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/0.006618, allocations: 12 kB / 0.6215 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.906e-05/0.006717, allocations: 27.98 kB / 0.6215 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.506e-05/0.006772, allocations: 27.86 kB / 0.6216 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.895e-05/0.006861, allocations: 55.89 kB / 0.6216 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.007234, allocations: 187.3 kB / 0.6218 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.007239, allocations: 0 / 0.6218 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.103e-06/0.00724, allocations: 0 / 0.6218 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.007252, allocations: 0 / 0.6218 GB, free: 1.258 MB / 0.5294 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.0009424/0.008195, allocations: 433.4 kB / 0.6222 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.008256, allocations: 13.47 kB / 0.6222 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.008443, allocations: 28.78 kB / 0.6222 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.008748, allocations: 153.5 kB / 0.6224 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.008864, allocations: 63.97 kB / 0.6225 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.0089, allocations: 16.38 kB / 0.6225 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.009343, allocations: 158.1 kB / 0.6226 GB, free: 348 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.009359, allocations: 4.172 kB / 0.6226 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.009383, allocations: 12.12 kB / 0.6226 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.009391, allocations: 4 kB / 0.6226 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005092/0.0099, allocations: 139.9 kB / 0.6228 GB, free: 188 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008848/0.01079, allocations: 396 kB / 0.6232 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004831/0.01127, allocations: 130.7 kB / 0.6233 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.0115, allocations: 71.33 kB / 0.6233 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.01152, allocations: 7.938 kB / 0.6234 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.01155, allocations: 34.55 kB / 0.6234 GB, free: 15.51 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.01155, allocations: 0 / 0.6234 GB, free: 15.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0007949/0.01235, allocations: 229.3 kB / 0.6236 GB, free: 15.28 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.0124, allocations: 55.41 kB / 0.6237 GB, free: 15.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.01257, allocations: 153.4 kB / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.0126, allocations: 29.7 kB / 0.6238 GB, free: 15.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.01273, allocations: 132.2 kB / 0.624 GB, free: 14.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.01277, allocations: 39.67 kB / 0.624 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-05/0.01283, allocations: 33.7 kB / 0.624 GB, free: 14.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002642/0.0131, allocations: 326.8 kB / 0.6243 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.01331, allocations: 59.95 kB / 0.6244 GB, free: 14.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.01355, allocations: 86.45 kB / 0.6245 GB, free: 14.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004416/0.01399, allocations: 142 kB / 0.6246 GB, free: 14.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01399, allocations: 3.938 kB / 0.6246 GB, free: 14.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005159/0.01451, allocations: 185.4 kB / 0.6248 GB, free: 13.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.01453, allocations: 11.94 kB / 0.6248 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.01454, allocations: 7.922 kB / 0.6248 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.01455, allocations: 4.062 kB / 0.6248 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.01475, allocations: 39.91 kB / 0.6249 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.01476, allocations: 4 kB / 0.6249 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.01491, allocations: 31.86 kB / 0.6249 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.01492, allocations: 0 / 0.6249 GB, free: 13.89 MB / 0.545 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.0001334/0.01505, allocations: 126.8 kB / 0.625 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.0151, allocations: 15.91 kB / 0.625 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.628e-05/0.01515, allocations: 25.39 kB / 0.6251 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.01515, allocations: 4 kB / 0.6251 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.01516, allocations: 0 / 0.6251 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01516, allocations: 0 / 0.6251 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.01542, allocations: 161.2 kB / 0.6252 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.01542, allocations: 4 kB / 0.6252 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.01562, allocations: 31.97 kB / 0.6252 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01562, allocations: 0 / 0.6252 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.01564, allocations: 4 kB / 0.6252 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.01564, allocations: 3.938 kB / 0.6253 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.01565, allocations: 8 kB / 0.6253 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008324/0.01648, allocations: 343.2 kB / 0.6256 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.29e-05/0.0165, allocations: 11.94 kB / 0.6256 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.01653, allocations: 0 / 0.6256 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.0167, allocations: 31.97 kB / 0.6256 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.01676, allocations: 11.97 kB / 0.6256 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.01678, allocations: 8 kB / 0.6256 GB, free: 13.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.837e-05/0.01687, allocations: 116.9 kB / 0.6258 GB, free: 12.94 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.01687, allocations: 0 / 0.6258 GB, free: 12.94 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000285/0.01716, allocations: 39.89 kB / 0.6258 GB, free: 12.9 MB / 0.545 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.0001493/0.01731, allocations: 99.25 kB / 0.6259 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005892/0.0179, allocations: 143.8 kB / 0.626 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.0179, allocations: 0 / 0.626 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.01813, allocations: 71.17 kB / 0.6261 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.01846, allocations: 22.27 kB / 0.6261 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008355/0.0193, allocations: 354.1 kB / 0.6265 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.01941, allocations: 111.5 kB / 0.6266 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.971e-05/0.01947, allocations: 8.484 kB / 0.6266 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.01952, allocations: 20.5 kB / 0.6266 GB, free: 12.04 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.01953, allocations: 0 / 0.6266 GB, free: 12.04 MB / 0.545 GB Notification: Performance of Templates: time 0.005802/0.02533, allocations: 1.604 MB / 0.6282 GB, free: 10.48 MB / 0.545 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: 6.461816933006048] Failed to read output from testmodel.py, exit status != 0: 0.03518744185566902 0.056682156000000004 0.045293895 Calling exit ...