Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.002111/0.002111, allocations: 92.7 kB / 19.44 MB, free: 324 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.002371/0.002371, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.511/1.511, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 1.275/1.275, allocations: 154.6 MB / 414.2 MB, free: 0.6367 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 178] 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.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 0.5197 GB, free: 2.504 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.437e-05/3.714e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.5 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.003551/0.003588, allocations: 0.8024 MB / 0.5205 GB, free: 1.719 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.005243, allocations: 0.917 MB / 0.5214 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.977e-05/0.005313, allocations: 4.531 kB / 0.5214 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.516e-05/0.005358, allocations: 11.86 kB / 0.5214 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.005473, allocations: 12.81 kB / 0.5214 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.005743, allocations: 44.97 kB / 0.5214 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.005946, allocations: 119.6 kB / 0.5216 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.006059, allocations: 21.98 kB / 0.5216 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.00632, allocations: 75.81 kB / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.006424, allocations: 52.42 kB / 0.5217 GB, free: 468 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.006452, allocations: 8.844 kB / 0.5217 GB, free: 460 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.6e-05/0.006508, allocations: 12 kB / 0.5217 GB, free: 448 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.888e-05/0.006537, allocations: 20.89 kB / 0.5217 GB, free: 428 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.006595, allocations: 35.91 kB / 0.5218 GB, free: 392 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.006839, allocations: 127.5 kB / 0.5219 GB, free: 264 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.944e-06/0.006846, allocations: 9.734 kB / 0.5219 GB, free: 256 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.006847, allocations: 0 / 0.5219 GB, free: 256 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.006852, allocations: 0 / 0.5219 GB, free: 256 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008409/0.007693, allocations: 363.3 kB / 0.5223 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.007738, allocations: 8.031 kB / 0.5223 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000357/0.008095, allocations: 45.72 kB / 0.5223 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005724/0.008667, allocations: 198.9 kB / 0.5225 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.0087, allocations: 8.375 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.008719, allocations: 5.031 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.009104, allocations: 125 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.009115, allocations: 192 / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.009137, allocations: 8.359 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.009145, allocations: 4.125 kB / 0.5226 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.00946, allocations: 73.92 kB / 0.5227 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008173/0.01028, allocations: 433.5 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.01058, allocations: 108.8 kB / 0.5232 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.01075, allocations: 55.61 kB / 0.5233 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.01079, allocations: 6.469 kB / 0.5233 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.01084, allocations: 42.5 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.01084, allocations: 0 / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0006815/0.01152, allocations: 159.1 kB / 0.5235 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.01162, allocations: 107.3 kB / 0.5236 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.01178, allocations: 146.3 kB / 0.5237 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.0119, allocations: 34.67 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.012, allocations: 104.3 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.01204, allocations: 20.92 kB / 0.5239 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-05/0.01211, allocations: 29.7 kB / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.01231, allocations: 322.8 kB / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.01248, allocations: 47.34 kB / 0.5243 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.01274, allocations: 162.2 kB / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.01305, allocations: 90.52 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01306, allocations: 2.969 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004216/0.01348, allocations: 153.3 kB / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.0135, allocations: 8 kB / 0.5246 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.0135, allocations: 0 / 0.5246 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.01352, allocations: 0 / 0.5246 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.01368, allocations: 21.48 kB / 0.5247 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.01369, allocations: 0 / 0.5247 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.01384, allocations: 27.16 kB / 0.5247 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.01385, allocations: 4 kB / 0.5247 GB, free: 13.14 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: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001271/0.01398, allocations: 125.8 kB / 0.5248 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.516e-05/0.01405, allocations: 16.17 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.01433, allocations: 89.97 kB / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.01434, allocations: 4 kB / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.01434, allocations: 2.438 kB / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.01435, allocations: 0 / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.01464, allocations: 145.3 kB / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01465, allocations: 0 / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.01477, allocations: 15.98 kB / 0.5251 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.01477, allocations: 3.938 kB / 0.5251 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.01479, allocations: 5.062 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.01479, allocations: 3.938 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.0148, allocations: 0 / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005108/0.01531, allocations: 375.9 kB / 0.5254 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.01545, allocations: 15.83 kB / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.01547, allocations: 6.438 kB / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.01569, allocations: 15.98 kB / 0.5255 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.636e-05/0.01578, allocations: 27.94 kB / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.01579, allocations: 4 kB / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.744e-05/0.01589, allocations: 114.4 kB / 0.5256 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01589, allocations: 1.781 kB / 0.5256 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003305/0.01622, allocations: 23.94 kB / 0.5257 GB, free: 12.12 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001512/0.01637, allocations: 99.31 kB / 0.5257 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004233/0.0168, allocations: 102.5 kB / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.0168, allocations: 0 / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.01698, allocations: 48.53 kB / 0.5259 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.01747, allocations: 22.44 kB / 0.5259 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005437/0.01801, allocations: 212 kB / 0.5261 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.01813, allocations: 86 kB / 0.5262 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.569e-05/0.01822, allocations: 16.64 kB / 0.5262 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.468e-05/0.01829, allocations: 24.48 kB / 0.5262 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of SimCode: time 6.62e-07/0.01829, allocations: 0.5938 kB / 0.5262 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of Templates: time 0.004949/0.02324, allocations: 1.42 MB / 0.5276 GB, free: 10.12 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.952164491987787]