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.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.001319/0.001319, allocations: 80.22 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.001578/0.001578, allocations: 167 kB / 22.46 MB, free: 5.379 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.631/1.631, 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.239/1.239, allocations: 154.5 MB / 413.7 MB, free: 5.289 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_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.6185 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/3.003e-05, allocations: 7.812 kB / 0.6185 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003656/0.003686, allocations: 1.988 MB / 0.6204 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.004886, allocations: 0.5654 MB / 0.621 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.005006, allocations: 7.938 kB / 0.621 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.005139, allocations: 19.73 kB / 0.621 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.005279, allocations: 43.56 kB / 0.621 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.005613, allocations: 75.72 kB / 0.6211 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.005892, allocations: 195.1 kB / 0.6213 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.006082, allocations: 50.45 kB / 0.6213 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002908/0.006373, allocations: 111.8 kB / 0.6215 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.006502, allocations: 63.8 kB / 0.6215 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.006541, allocations: 12 kB / 0.6215 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-05/0.006627, allocations: 23.98 kB / 0.6215 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.833e-05/0.006676, allocations: 31.91 kB / 0.6216 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.238e-05/0.006748, allocations: 55.84 kB / 0.6216 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.007065, allocations: 183.4 kB / 0.6218 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.00707, allocations: 0 / 0.6218 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.232e-06/0.007071, allocations: 0 / 0.6218 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.007078, allocations: 0 / 0.6218 GB, free: 1.25 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.0009471/0.008025, allocations: 429.3 kB / 0.6222 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.008076, allocations: 9.469 kB / 0.6222 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.008255, allocations: 32.78 kB / 0.6223 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.008595, allocations: 149.5 kB / 0.6224 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.008714, allocations: 71.97 kB / 0.6225 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.008763, allocations: 16.31 kB / 0.6225 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004721/0.009235, allocations: 154.1 kB / 0.6226 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.009251, allocations: 192 / 0.6226 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.009275, allocations: 12.12 kB / 0.6226 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.009284, allocations: 4 kB / 0.6226 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005093/0.009793, allocations: 147.9 kB / 0.6228 GB, free: 180 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008323/0.01063, allocations: 392 kB / 0.6232 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004868/0.01111, allocations: 134.6 kB / 0.6233 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.01135, allocations: 72.81 kB / 0.6234 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.01137, allocations: 4 kB / 0.6234 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.01139, allocations: 34.55 kB / 0.6234 GB, free: 15.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.0114, allocations: 0 / 0.6234 GB, free: 15.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0007894/0.01218, allocations: 229.3 kB / 0.6236 GB, free: 15.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.01223, allocations: 51.41 kB / 0.6237 GB, free: 15.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.01238, allocations: 157.4 kB / 0.6238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.0124, allocations: 25.7 kB / 0.6238 GB, free: 15.01 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.01251, allocations: 136.1 kB / 0.624 GB, free: 14.87 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.01255, allocations: 39.69 kB / 0.624 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.393e-05/0.01261, allocations: 33.7 kB / 0.624 GB, free: 14.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.01278, allocations: 318.8 kB / 0.6243 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.01302, allocations: 67.95 kB / 0.6244 GB, free: 14.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.01324, allocations: 81.19 kB / 0.6245 GB, free: 14.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.01368, allocations: 146.4 kB / 0.6246 GB, free: 14.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.01368, allocations: 0 / 0.6246 GB, free: 14.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005109/0.01419, allocations: 189.4 kB / 0.6248 GB, free: 13.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.01421, allocations: 14.28 kB / 0.6248 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.01422, allocations: 3.984 kB / 0.6248 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.01424, allocations: 4.062 kB / 0.6248 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.01444, allocations: 39.91 kB / 0.6249 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.01445, allocations: 0 / 0.6249 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.01459, allocations: 31.86 kB / 0.6249 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.01461, allocations: 4 kB / 0.6249 GB, free: 13.88 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.0001319/0.01474, allocations: 122.8 kB / 0.625 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.01478, allocations: 15.91 kB / 0.625 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.915e-05/0.01485, allocations: 25.39 kB / 0.6251 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01485, allocations: 4 kB / 0.6251 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.01486, allocations: 4 kB / 0.6251 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01486, allocations: 0 / 0.6251 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.01512, allocations: 165.2 kB / 0.6252 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01512, allocations: 0 / 0.6252 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.01533, allocations: 39.91 kB / 0.6253 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.01533, allocations: 0 / 0.6253 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.01535, allocations: 0 / 0.6253 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.01535, allocations: 3.938 kB / 0.6253 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01535, allocations: 0 / 0.6253 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007875/0.01614, allocations: 343.2 kB / 0.6256 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.01617, allocations: 15.94 kB / 0.6256 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.01619, allocations: 0 / 0.6256 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.01635, allocations: 27.97 kB / 0.6256 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-05/0.01644, allocations: 15.97 kB / 0.6256 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.01645, allocations: 0 / 0.6256 GB, free: 13.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.827e-05/0.01655, allocations: 128.8 kB / 0.6258 GB, free: 12.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01655, allocations: 0 / 0.6258 GB, free: 12.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002857/0.01683, allocations: 39.89 kB / 0.6258 GB, free: 12.89 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.0001271/0.01696, allocations: 95.25 kB / 0.6259 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005177/0.01748, allocations: 155.1 kB / 0.626 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.01748, allocations: 4 kB / 0.626 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.0177, allocations: 67.89 kB / 0.6261 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.01802, allocations: 15.98 kB / 0.6261 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008034/0.01883, allocations: 342.2 kB / 0.6265 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.01894, allocations: 111.6 kB / 0.6266 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.691e-05/0.019, allocations: 12.42 kB / 0.6266 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.01905, allocations: 24.44 kB / 0.6266 GB, free: 12.04 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.01906, allocations: 0 / 0.6266 GB, free: 12.04 MB / 0.545 GB Notification: Performance of Templates: time 0.005568/0.02462, allocations: 1.601 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_Cooling.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.455271538347006] Failed to read output from testmodel.py, exit status != 0: 0.03377443924546242 0.048694694000000004 0.038535679 Calling exit ...