Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007583/0.0007583, allocations: 76.45 kB / 19.9 MB, free: 12 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.0008415/0.0008415, allocations: 165.9 kB / 23.18 MB, free: 1.379 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.8644/0.8644, allocations: 177.2 MB / 203.6 MB, free: 5.754 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-531:686: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-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.723/0.723, allocations: 154.9 MB / 414.9 MB, free: 0.5039 MB / 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.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 71.89 kB / 0.6199 GB, free: 12.68 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5122/0.5133, allocations: 102 MB / 0.7195 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001639/0.5149, allocations: 0.8063 MB / 0.7203 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.516, allocations: 0.9099 MB / 0.7212 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.834e-05/0.516, allocations: 5.406 kB / 0.7212 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.293e-05/0.5161, allocations: 9.328 kB / 0.7212 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.5162, allocations: 19.95 kB / 0.7212 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.5165, allocations: 45.56 kB / 0.7213 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.5166, allocations: 115.5 kB / 0.7214 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.5167, allocations: 22.89 kB / 0.7214 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.517, allocations: 86.19 kB / 0.7215 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.968e-05/0.5171, allocations: 51.14 kB / 0.7215 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.5171, allocations: 13.53 kB / 0.7215 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.854e-05/0.5171, allocations: 16.61 kB / 0.7216 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.5171, allocations: 23.02 kB / 0.7216 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.5172, allocations: 41.12 kB / 0.7216 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.5174, allocations: 122.2 kB / 0.7217 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5174, allocations: 0 / 0.7217 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5174, allocations: 4.5 kB / 0.7217 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.5174, allocations: 3.938 kB / 0.7217 GB, free: 22.05 MB / 0.6355 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.0004975/0.5179, allocations: 375.8 kB / 0.7221 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.5179, allocations: 10.19 kB / 0.7221 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.5181, allocations: 38.16 kB / 0.7221 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.5184, allocations: 184.4 kB / 0.7223 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.5184, allocations: 4.594 kB / 0.7223 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.5184, allocations: 13.34 kB / 0.7223 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.5186, allocations: 117.5 kB / 0.7224 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.5186, allocations: 5.031 kB / 0.7225 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.5187, allocations: 4.828 kB / 0.7225 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.5187, allocations: 2.031 kB / 0.7225 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.5188, allocations: 72.05 kB / 0.7225 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.5192, allocations: 445.4 kB / 0.723 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.5194, allocations: 107 kB / 0.7231 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.541e-05/0.5195, allocations: 56.92 kB / 0.7231 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.5195, allocations: 2.234 kB / 0.7231 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.5195, allocations: 45.91 kB / 0.7232 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.5195, allocations: 4 kB / 0.7232 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003863/0.5199, allocations: 154.9 kB / 0.7233 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.52, allocations: 104.8 kB / 0.7234 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/0.5201, allocations: 149 kB / 0.7235 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.5201, allocations: 29.17 kB / 0.7236 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.5201, allocations: 114.4 kB / 0.7237 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.5201, allocations: 24.69 kB / 0.7237 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.5202, allocations: 26.22 kB / 0.7237 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.817e-05/0.5202, allocations: 333.2 kB / 0.7241 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.219e-05/0.5203, allocations: 40.5 kB / 0.7241 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.5204, allocations: 154.5 kB / 0.7242 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.5206, allocations: 98.39 kB / 0.7243 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.5206, allocations: 4.969 kB / 0.7243 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002181/0.5208, allocations: 140.5 kB / 0.7245 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.5208, allocations: 5.562 kB / 0.7245 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5208, allocations: 0.6562 kB / 0.7245 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.5208, allocations: 2.156 kB / 0.7245 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.1e-05/0.5209, allocations: 23.11 kB / 0.7245 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.5209, allocations: 1.344 kB / 0.7245 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.273e-05/0.521, allocations: 14.38 kB / 0.7245 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.521, allocations: 4.562 kB / 0.7245 GB, free: 19.81 MB / 0.6355 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 5.996e-05/0.5211, allocations: 125.9 kB / 0.7246 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.5211, allocations: 14.05 kB / 0.7247 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.5213, allocations: 96.09 kB / 0.7247 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.5213, allocations: 2.438 kB / 0.7247 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5213, allocations: 0 / 0.7247 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.5213, allocations: 2.75 kB / 0.7247 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.5214, allocations: 147.7 kB / 0.7249 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5214, allocations: 5.094 kB / 0.7249 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.455e-05/0.5215, allocations: 17.47 kB / 0.7249 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.5215, allocations: 2.094 kB / 0.7249 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.5215, allocations: 3.109 kB / 0.7249 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5215, allocations: 5.156 kB / 0.7249 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5215, allocations: 9.094 kB / 0.7249 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.5217, allocations: 366.8 kB / 0.7253 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.5217, allocations: 11.75 kB / 0.7253 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.5218, allocations: 7.594 kB / 0.7253 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.5219, allocations: 13.92 kB / 0.7253 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.5219, allocations: 23.64 kB / 0.7253 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.5219, allocations: 7.984 kB / 0.7253 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.628e-05/0.522, allocations: 112.1 kB / 0.7254 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.522, allocations: 1.062 kB / 0.7254 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002228/0.5222, allocations: 17.06 kB / 0.7255 GB, free: 19.04 MB / 0.6355 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 9.339e-05/0.5223, allocations: 104.1 kB / 0.7256 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.5226, allocations: 96.25 kB / 0.7257 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5226, allocations: 0 / 0.7257 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.5227, allocations: 50.59 kB / 0.7257 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.523, allocations: 24.28 kB / 0.7257 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/0.5234, allocations: 206.3 kB / 0.7259 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.17e-05/0.5235, allocations: 91.86 kB / 0.726 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.648e-05/0.5235, allocations: 21.16 kB / 0.726 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.5236, allocations: 17.66 kB / 0.726 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of SimCode: time 7.12e-07/0.5236, allocations: 1.406 kB / 0.7261 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of Templates: time 0.003664/0.5272, allocations: 1.416 MB / 0.7274 GB, free: 18.48 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.238715857965872] Failed to read output from testmodel.py, exit status != 0: 0.5344785749912262 0.5476949710000001 0.027998616 Calling exit ...