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.0009011/0.0009011, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.001448/0.001448, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9251/0.9251, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.7536/0.7536, allocations: 154.6 MB / 415.6 MB, free: 500 kB / 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 2.254e-06/2.254e-06, allocations: 0 / 0.5216 GB, free: 1.812 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.933e-05, allocations: 2.312 kB / 0.5216 GB, free: 1.809 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002066/0.002096, allocations: 0.8048 MB / 0.5224 GB, free: 1.023 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.003347, allocations: 0.9338 MB / 0.5233 GB, free: 80 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.329e-05/0.00342, allocations: 5.875 kB / 0.5233 GB, free: 76 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.34e-05/0.003464, allocations: 15.8 kB / 0.5233 GB, free: 60 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.003573, allocations: 15.81 kB / 0.5233 GB, free: 44 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.003845, allocations: 52.38 kB / 0.5234 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.004009, allocations: 116.5 kB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.004121, allocations: 21.23 kB / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.004389, allocations: 88.23 kB / 0.5236 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.95e-05/0.004479, allocations: 33.33 kB / 0.5236 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.004498, allocations: 8 kB / 0.5236 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.703e-05/0.004545, allocations: 8 kB / 0.5237 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.004567, allocations: 16.7 kB / 0.5237 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3e-05/0.004597, allocations: 23.92 kB / 0.5237 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.00476, allocations: 80.62 kB / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.004763, allocations: 0 / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004764, allocations: 0 / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.004769, allocations: 2.875 kB / 0.5238 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.0004501/0.005219, allocations: 428.1 kB / 0.5242 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.005255, allocations: 8.031 kB / 0.5242 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00018/0.005435, allocations: 20.84 kB / 0.5242 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.005622, allocations: 168 kB / 0.5244 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.005642, allocations: 4.375 kB / 0.5244 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.005656, allocations: 8.375 kB / 0.5244 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.005836, allocations: 110.5 kB / 0.5245 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.005845, allocations: 5.344 kB / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.005859, allocations: 8.359 kB / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.005866, allocations: 4.375 kB / 0.5245 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.883e-05/0.005925, allocations: 24.83 kB / 0.5245 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.006366, allocations: 0.5265 MB / 0.525 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.006498, allocations: 106.1 kB / 0.5251 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.877e-05/0.006557, allocations: 39.16 kB / 0.5252 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.006575, allocations: 4.844 kB / 0.5252 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.006604, allocations: 45.33 kB / 0.5252 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 2.715e-06/0.006607, allocations: 0.9062 kB / 0.5252 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002338/0.00684, allocations: 86.73 kB / 0.5253 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.006888, allocations: 110.8 kB / 0.5254 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.007035, allocations: 197.8 kB / 0.5256 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.007057, allocations: 34.31 kB / 0.5256 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.007119, allocations: 152.7 kB / 0.5258 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.007156, allocations: 31.72 kB / 0.5258 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.007201, allocations: 27.36 kB / 0.5258 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.007339, allocations: 0.4962 MB / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.67e-05/0.007376, allocations: 8 kB / 0.5263 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.653e-05/0.007422, allocations: 44.64 kB / 0.5264 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.824e-05/0.0075, allocations: 54.97 kB / 0.5264 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.007503, allocations: 0 / 0.5264 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002049/0.007707, allocations: 84.44 kB / 0.5265 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.007727, allocations: 13.34 kB / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.007732, allocations: 0 / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.007743, allocations: 0 / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.202e-05/0.007825, allocations: 8.281 kB / 0.5265 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.00783, allocations: 4 kB / 0.5265 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.007879, allocations: 7.938 kB / 0.5265 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.007889, allocations: 15.06 kB / 0.5266 GB, free: 12.49 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.246e-05/0.007982, allocations: 164.5 kB / 0.5267 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.008044, allocations: 23.88 kB / 0.5267 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.00816, allocations: 58.02 kB / 0.5268 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.008163, allocations: 0 / 0.5268 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.008167, allocations: 4 kB / 0.5268 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.00817, allocations: 0 / 0.5268 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.00839, allocations: 119 kB / 0.5269 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.008394, allocations: 4 kB / 0.5269 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.934e-05/0.008464, allocations: 15.92 kB / 0.5269 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.008467, allocations: 0 / 0.5269 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.008476, allocations: 4 kB / 0.5269 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.008481, allocations: 9.938 kB / 0.5269 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.008487, allocations: 8.047 kB / 0.5269 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.008748, allocations: 454.2 kB / 0.5274 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.008765, allocations: 7.953 kB / 0.5274 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.008791, allocations: 14.73 kB / 0.5274 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.008924, allocations: 3.938 kB / 0.5274 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.864e-05/0.008992, allocations: 27.89 kB / 0.5274 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.009, allocations: 4 kB / 0.5274 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.854e-05/0.009069, allocations: 150.6 kB / 0.5276 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.009069, allocations: 0 / 0.5276 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002812/0.00935, allocations: 12 kB / 0.5276 GB, free: 11.37 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.0001454/0.009495, allocations: 100.9 kB / 0.5277 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001322/0.009628, allocations: 56.14 kB / 0.5277 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.00963, allocations: 0 / 0.5277 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.923e-05/0.009679, allocations: 33.89 kB / 0.5278 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.0003792/0.01006, allocations: 17.95 kB / 0.5278 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.01043, allocations: 221.9 kB / 0.528 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.015e-05/0.01048, allocations: 64.22 kB / 0.5281 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.442e-05/0.01054, allocations: 17.73 kB / 0.5281 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.519e-05/0.01062, allocations: 82.19 kB / 0.5282 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/0.01062, allocations: 1.094 kB / 0.5282 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of Templates: time 0.003965/0.01458, allocations: 1.286 MB / 0.5294 GB, free: 9.508 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.5592894018627703]