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.0008428/0.0008428, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0008661/0.0008661, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9057/0.9057, allocations: 177.2 MB / 203.7 MB, free: 5.5 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.7558/0.7558, allocations: 154.9 MB / 415.1 MB, free: 212 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.143e-06/1.143e-06, allocations: 0 / 0.5211 GB, free: 1.566 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114e-05/1.228e-05, allocations: 10.11 kB / 0.5211 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.001944/0.001956, allocations: 2.07 MB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0006384/0.002594, allocations: 0.5794 MB / 0.5237 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.51e-05/0.002669, allocations: 0.5938 kB / 0.5237 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.663e-05/0.002766, allocations: 28.94 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.695e-05/0.002833, allocations: 40.55 kB / 0.5237 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.003025, allocations: 76.69 kB / 0.5238 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.00317, allocations: 183.2 kB / 0.524 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.003294, allocations: 58.48 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.003451, allocations: 112.8 kB / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.376e-05/0.003534, allocations: 59.8 kB / 0.5242 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.003556, allocations: 16.91 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.06e-05/0.003606, allocations: 23.94 kB / 0.5242 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.003634, allocations: 35.89 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.003674, allocations: 57.53 kB / 0.5243 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.003817, allocations: 123.5 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003819, allocations: 0 / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.31e-07/0.00382, allocations: 4 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.936e-06/0.003823, allocations: 0.9375 kB / 0.5244 GB, free: 14.12 MB / 0.4948 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.0004263/0.004249, allocations: 0.4932 MB / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.00428, allocations: 8.031 kB / 0.5249 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.004385, allocations: 49.41 kB / 0.525 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.004517, allocations: 158.1 kB / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.353e-05/0.00457, allocations: 59.97 kB / 0.5252 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.004591, allocations: 16.38 kB / 0.5252 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.004749, allocations: 120.3 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.004759, allocations: 4.125 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.004771, allocations: 8.125 kB / 0.5253 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.004777, allocations: 4 kB / 0.5253 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.851e-05/0.004846, allocations: 40.48 kB / 0.5254 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.005266, allocations: 417.6 kB / 0.5258 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.00542, allocations: 79.77 kB / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.005455, allocations: 31.67 kB / 0.5259 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.00547, allocations: 1.312 kB / 0.5259 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.005491, allocations: 37.39 kB / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 7.043e-06/0.005498, allocations: 0 / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0001661/0.005664, allocations: 110.3 kB / 0.526 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.005686, allocations: 51.41 kB / 0.5261 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.793e-05/0.005774, allocations: 212.4 kB / 0.5263 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.005788, allocations: 26.2 kB / 0.5263 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.005846, allocations: 178.5 kB / 0.5265 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.00587, allocations: 47.56 kB / 0.5265 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.005908, allocations: 39.36 kB / 0.5266 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.00601, allocations: 0.4923 MB / 0.527 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.275e-05/0.006033, allocations: 11.98 kB / 0.527 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.983e-05/0.006073, allocations: 56.98 kB / 0.5271 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.56e-05/0.006138, allocations: 70.09 kB / 0.5272 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.00614, allocations: 0 / 0.5272 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001072/0.006247, allocations: 107.9 kB / 0.5273 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.006258, allocations: 4 kB / 0.5273 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.006262, allocations: 0 / 0.5273 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.006272, allocations: 7.938 kB / 0.5273 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.402e-05/0.006356, allocations: 35.92 kB / 0.5273 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.006359, allocations: 1.844 kB / 0.5273 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.006403, allocations: 19.92 kB / 0.5273 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.006409, allocations: 0 / 0.5273 GB, free: 10.95 MB / 0.4948 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 7.497e-05/0.006484, allocations: 163.3 kB / 0.5275 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.006506, allocations: 19.91 kB / 0.5275 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.006535, allocations: 21.45 kB / 0.5275 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.006537, allocations: 3.938 kB / 0.5275 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.006539, allocations: 0 / 0.5275 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.006541, allocations: 0 / 0.5275 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.006661, allocations: 141.2 kB / 0.5277 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.006662, allocations: 0 / 0.5277 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.084e-05/0.006733, allocations: 33.73 kB / 0.5277 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.006736, allocations: 7.922 kB / 0.5277 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.006745, allocations: 4 kB / 0.5277 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.006745, allocations: 0 / 0.5277 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006746, allocations: 0.9375 kB / 0.5277 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.006925, allocations: 251.8 kB / 0.528 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.006939, allocations: 16.59 kB / 0.528 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.006952, allocations: 3.984 kB / 0.528 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.325e-05/0.007005, allocations: 12.88 kB / 0.528 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.007042, allocations: 15.91 kB / 0.528 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.007047, allocations: 8.656 kB / 0.528 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.674e-05/0.007094, allocations: 156.7 kB / 0.5282 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007094, allocations: 0.5312 kB / 0.5282 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001525/0.007246, allocations: 42.92 kB / 0.5282 GB, free: 10.02 MB / 0.4948 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 6.175e-05/0.007308, allocations: 99.23 kB / 0.5283 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.427e-05/0.007402, allocations: 59.59 kB / 0.5284 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.007404, allocations: 0 / 0.5284 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.031e-05/0.007444, allocations: 41.89 kB / 0.5284 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.007628, allocations: 31.11 kB / 0.5284 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005888/0.008217, allocations: 362 kB / 0.5288 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.837e-05/0.008255, allocations: 67.34 kB / 0.5288 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.718e-05/0.008292, allocations: 10.67 kB / 0.5288 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.719e-05/0.008369, allocations: 95.16 kB / 0.5289 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.00837, allocations: 0 / 0.5289 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of Templates: time 0.003099/0.01147, allocations: 1.787 MB / 0.5307 GB, free: 7.539 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.242313677445054]