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.0007994/0.0007994, 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.0009948/0.0009948, 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.9268/0.9268, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.7665/0.7665, allocations: 154.6 MB / 414.8 MB, free: 0.5391 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.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 4.228e-06/4.228e-06, allocations: 0 / 0.5208 GB, free: 1.824 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.527e-05/4.949e-05, allocations: 3.156 kB / 0.5208 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002855/0.002905, allocations: 0.8242 MB / 0.5216 GB, free: 1.023 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.004444, allocations: 0.9374 MB / 0.5226 GB, free: 76 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.959e-05/0.004534, allocations: 4.969 kB / 0.5226 GB, free: 72 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.531e-05/0.004579, allocations: 7.875 kB / 0.5226 GB, free: 64 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.004722, allocations: 28.94 kB / 0.5226 GB, free: 36 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.00505, allocations: 39.95 kB / 0.5226 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.005222, allocations: 116.3 kB / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.005375, allocations: 17.3 kB / 0.5228 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003064/0.005681, allocations: 92.95 kB / 0.5228 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.241e-05/0.005774, allocations: 35.89 kB / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.005801, allocations: 4.625 kB / 0.5229 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.107e-05/0.005862, allocations: 8 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.005886, allocations: 21.72 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.005922, allocations: 23.92 kB / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.006099, allocations: 75.55 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.006105, allocations: 0 / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.754e-06/0.006107, allocations: 4 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.006112, allocations: 1.719 kB / 0.523 GB, free: 15.61 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005351/0.006647, allocations: 432.1 kB / 0.5234 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.006703, allocations: 8.031 kB / 0.5234 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.006918, allocations: 26.22 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.007126, allocations: 160.4 kB / 0.5236 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.007147, allocations: 4.375 kB / 0.5236 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.00716, allocations: 8.375 kB / 0.5236 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.007368, allocations: 106.4 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.007378, allocations: 0.9375 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.007389, allocations: 4.375 kB / 0.5237 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.007397, allocations: 1.844 kB / 0.5237 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.06e-05/0.007457, allocations: 23.91 kB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005956/0.008053, allocations: 0.5307 MB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.008225, allocations: 113.2 kB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.976e-05/0.008265, allocations: 38.61 kB / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.008294, allocations: 8 kB / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.008318, allocations: 41.27 kB / 0.5245 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 2.074e-06/0.00832, allocations: 0 / 0.5245 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002317/0.008552, allocations: 85.52 kB / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.0086, allocations: 102.8 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.008728, allocations: 209.8 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.008752, allocations: 33.7 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.241e-05/0.008825, allocations: 151.3 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.008863, allocations: 37.25 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.008912, allocations: 27.38 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.009058, allocations: 0.4962 MB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.668e-05/0.009095, allocations: 11.98 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.366e-05/0.009139, allocations: 37.48 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.181e-05/0.00921, allocations: 50.98 kB / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.009212, allocations: 0 / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001287/0.009341, allocations: 89.56 kB / 0.5257 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.009358, allocations: 7.938 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.009363, allocations: 2.75 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.009378, allocations: 4 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.918e-05/0.009457, allocations: 15.98 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.009461, allocations: 0 / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.346e-05/0.009504, allocations: 7.953 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.009511, allocations: 0 / 0.5258 GB, free: 12.5 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 9.931e-05/0.009611, allocations: 173.7 kB / 0.5259 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.145e-05/0.009672, allocations: 15.89 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.009797, allocations: 62.95 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.009801, allocations: 4 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.009804, allocations: 0 / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.009808, allocations: 1.266 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.01004, allocations: 121.2 kB / 0.5261 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.01004, allocations: 0 / 0.5261 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.063e-05/0.01009, allocations: 12.64 kB / 0.5262 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01009, allocations: 5.062 kB / 0.5262 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.0101, allocations: 7.984 kB / 0.5262 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01011, allocations: 3.938 kB / 0.5262 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.01011, allocations: 6.422 kB / 0.5262 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.01034, allocations: 466.1 kB / 0.5266 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.01036, allocations: 7.953 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.01037, allocations: 4 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.0105, allocations: 11.92 kB / 0.5266 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/0.01056, allocations: 35.02 kB / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.01057, allocations: 0 / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.779e-05/0.01064, allocations: 150.4 kB / 0.5268 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01064, allocations: 0 / 0.5268 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002857/0.01092, allocations: 16 kB / 0.5268 GB, free: 11.36 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.0001301/0.01105, allocations: 95.25 kB / 0.5269 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.01117, allocations: 55.28 kB / 0.527 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01117, allocations: 0 / 0.527 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.652e-05/0.01122, allocations: 31.61 kB / 0.527 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.0116, allocations: 20.12 kB / 0.527 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.01196, allocations: 221.8 kB / 0.5272 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.682e-05/0.01202, allocations: 63.34 kB / 0.5273 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.999e-05/0.01208, allocations: 19.08 kB / 0.5273 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.502e-05/0.01216, allocations: 82.2 kB / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/0.01216, allocations: 0 / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of Templates: time 0.003686/0.01584, allocations: 1.265 MB / 0.5286 GB, free: 9.52 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6886759838089347]