Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001088/0.001088, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001301/0.001301, allocations: 169 kB / 23.02 MB, free: 1.551 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.9887/0.9887, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.8148/0.8148, allocations: 154.6 MB / 414.5 MB, free: 0.6719 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 0.5203 GB, free: 2.281 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.309e-05, allocations: 3.531 kB / 0.5203 GB, free: 2.277 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002371/0.002394, allocations: 2.072 MB / 0.5223 GB, free: 216 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007653/0.00316, allocations: 0.584 MB / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.726e-05/0.003247, allocations: 0 / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.003364, allocations: 27.72 kB / 0.5229 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.034e-05/0.003444, allocations: 45.23 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.003679, allocations: 73.06 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.003877, allocations: 199 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.004026, allocations: 50.48 kB / 0.5232 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.004225, allocations: 104.6 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.004335, allocations: 67.78 kB / 0.5234 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.004364, allocations: 16.81 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.398e-05/0.004418, allocations: 19.94 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.926e-05/0.004447, allocations: 36.53 kB / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.004499, allocations: 55.89 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.004697, allocations: 132.3 kB / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004699, allocations: 0 / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.055e-06/0.004707, allocations: 2.219 kB / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.004712, allocations: 0 / 0.5237 GB, free: 14.82 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.0005333/0.005245, allocations: 0.492 MB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.00528, allocations: 13.06 kB / 0.5242 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.005408, allocations: 40.78 kB / 0.5242 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.005582, allocations: 157.7 kB / 0.5243 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.927e-05/0.005651, allocations: 63.97 kB / 0.5244 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.005683, allocations: 16.38 kB / 0.5244 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.005898, allocations: 123.6 kB / 0.5245 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.00591, allocations: 1 kB / 0.5245 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.005926, allocations: 12.12 kB / 0.5245 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.005934, allocations: 0 / 0.5245 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.006044, allocations: 52.53 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.00655, allocations: 445.3 kB / 0.525 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.006766, allocations: 90.58 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.254e-05/0.006818, allocations: 40.25 kB / 0.5251 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.006837, allocations: 0.75 kB / 0.5251 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.006862, allocations: 45.36 kB / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.006864, allocations: 1.062 kB / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0002286/0.007092, allocations: 113.5 kB / 0.5253 GB, free: 13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.007119, allocations: 51.41 kB / 0.5253 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.007224, allocations: 213.3 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.007238, allocations: 25.7 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.007312, allocations: 175 kB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.00734, allocations: 47.58 kB / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.007384, allocations: 33.09 kB / 0.5258 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.007504, allocations: 0.4923 MB / 0.5263 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.161e-05/0.007546, allocations: 23.92 kB / 0.5263 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.83e-05/0.007604, allocations: 47.05 kB / 0.5264 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.483e-05/0.007699, allocations: 70.05 kB / 0.5264 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.007701, allocations: 1.031 kB / 0.5264 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000143/0.007844, allocations: 117.5 kB / 0.5265 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.007859, allocations: 17.03 kB / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.007864, allocations: 0 / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.007879, allocations: 0 / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.007973, allocations: 31.2 kB / 0.5266 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.007979, allocations: 4 kB / 0.5266 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.008029, allocations: 19.92 kB / 0.5266 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.008038, allocations: 7.938 kB / 0.5266 GB, free: 11.55 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.144e-05/0.008109, allocations: 160.5 kB / 0.5268 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.008134, allocations: 19.91 kB / 0.5268 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.008165, allocations: 25.39 kB / 0.5268 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.008169, allocations: 7.031 kB / 0.5268 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.008172, allocations: 0 / 0.5268 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.008174, allocations: 0 / 0.5268 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.008309, allocations: 168.5 kB / 0.527 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.00831, allocations: 0 / 0.527 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.889e-05/0.008389, allocations: 31.97 kB / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.00839, allocations: 0 / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.008401, allocations: 4 kB / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.008403, allocations: 5.438 kB / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008403, allocations: 0 / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.008619, allocations: 263.8 kB / 0.5273 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.008635, allocations: 23.83 kB / 0.5273 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.008649, allocations: 1.406 kB / 0.5273 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.83e-05/0.008707, allocations: 15.94 kB / 0.5273 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.008751, allocations: 11.97 kB / 0.5273 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.008758, allocations: 9.281 kB / 0.5273 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.446e-05/0.008812, allocations: 150.2 kB / 0.5275 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.008812, allocations: 0 / 0.5275 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000162/0.008974, allocations: 36.61 kB / 0.5275 GB, free: 10.59 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.604e-05/0.00904, allocations: 103.9 kB / 0.5276 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.009178, allocations: 69.19 kB / 0.5277 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.009179, allocations: 0 / 0.5277 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.285e-05/0.009232, allocations: 43.61 kB / 0.5277 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.00944, allocations: 27.97 kB / 0.5278 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007102/0.01015, allocations: 369.3 kB / 0.5281 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.158e-05/0.01019, allocations: 68.28 kB / 0.5282 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.77e-05/0.01023, allocations: 10.95 kB / 0.5282 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.01027, allocations: 16.5 kB / 0.5282 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.01027, allocations: 0 / 0.5282 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of Templates: time 0.003216/0.01349, allocations: 1.623 MB / 0.5298 GB, free: 8.332 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.899168577976525]