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.0007627/0.0007627, allocations: 80.44 kB / 19.9 MB, free: 16 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.0007969/0.0007969, allocations: 165.8 kB / 23.18 MB, free: 1.387 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.9059/0.9059, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.7387/0.7387, allocations: 154.9 MB / 414.9 MB, free: 0.5117 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.0008763/0.0008763, allocations: 63.06 kB / 0.6199 GB, free: 12.61 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.4777/0.4786, allocations: 102 MB / 0.7195 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001625/0.4802, allocations: 0.8142 MB / 0.7203 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009538/0.4812, allocations: 0.9081 MB / 0.7212 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.38e-05/0.4812, allocations: 1.062 kB / 0.7212 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.536e-05/0.4813, allocations: 9.188 kB / 0.7212 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.904e-05/0.4814, allocations: 19.05 kB / 0.7212 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.4816, allocations: 47.66 kB / 0.7213 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.4817, allocations: 115.1 kB / 0.7214 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.4819, allocations: 32.22 kB / 0.7214 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.4821, allocations: 72.98 kB / 0.7215 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.023e-05/0.4822, allocations: 50.94 kB / 0.7215 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.4822, allocations: 9.594 kB / 0.7215 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.274e-05/0.4822, allocations: 16.44 kB / 0.7215 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.4823, allocations: 24.75 kB / 0.7216 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.4823, allocations: 43.41 kB / 0.7216 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.4825, allocations: 131 kB / 0.7217 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4825, allocations: 0 / 0.7217 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4825, allocations: 3.938 kB / 0.7217 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.4825, allocations: 4 kB / 0.7217 GB, free: 22.09 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.000516/0.483, allocations: 367.3 kB / 0.7221 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.4831, allocations: 10.72 kB / 0.7221 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.4833, allocations: 33.73 kB / 0.7221 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.4836, allocations: 193.2 kB / 0.7223 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.4836, allocations: 8.25 kB / 0.7223 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.4836, allocations: 9.281 kB / 0.7223 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.4838, allocations: 114.3 kB / 0.7224 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4839, allocations: 3.938 kB / 0.7225 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.4839, allocations: 5.031 kB / 0.7225 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.4839, allocations: 1.062 kB / 0.7225 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.4841, allocations: 77.48 kB / 0.7225 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.4845, allocations: 443.8 kB / 0.723 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.4846, allocations: 112 kB / 0.7231 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.909e-05/0.4847, allocations: 61.03 kB / 0.7231 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.4848, allocations: 1.281 kB / 0.7231 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.4848, allocations: 34.58 kB / 0.7232 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.4848, allocations: 0 / 0.7232 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0004154/0.4852, allocations: 158.3 kB / 0.7233 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.4852, allocations: 114.5 kB / 0.7234 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.489e-05/0.4853, allocations: 144.4 kB / 0.7236 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.4853, allocations: 32.45 kB / 0.7236 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.4854, allocations: 106.1 kB / 0.7237 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.4854, allocations: 30.05 kB / 0.7237 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.4855, allocations: 27.98 kB / 0.7237 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.876e-05/0.4855, allocations: 326.3 kB / 0.7241 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.696e-05/0.4856, allocations: 40.25 kB / 0.7241 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.4857, allocations: 166.9 kB / 0.7242 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.4859, allocations: 90.14 kB / 0.7243 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4859, allocations: 1.219 kB / 0.7243 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000216/0.4861, allocations: 144.6 kB / 0.7245 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.4861, allocations: 4.5 kB / 0.7245 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.4861, allocations: 2.375 kB / 0.7245 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4861, allocations: 5.312 kB / 0.7245 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.4862, allocations: 18.2 kB / 0.7245 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.4862, allocations: 2.297 kB / 0.7245 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.776e-05/0.4863, allocations: 18.58 kB / 0.7245 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.4863, allocations: 4.219 kB / 0.7245 GB, free: 19.85 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 6.304e-05/0.4864, allocations: 133.1 kB / 0.7247 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.4864, allocations: 12.97 kB / 0.7247 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.4866, allocations: 90.08 kB / 0.7248 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4866, allocations: 9.219 kB / 0.7248 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4866, allocations: 1.281 kB / 0.7248 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.4866, allocations: 1.562 kB / 0.7248 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.4868, allocations: 139.4 kB / 0.7249 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4868, allocations: 0.7031 kB / 0.7249 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.903e-05/0.4868, allocations: 26.16 kB / 0.7249 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.4868, allocations: 1.766 kB / 0.7249 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.4868, allocations: 7.391 kB / 0.7249 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.4869, allocations: 1.188 kB / 0.7249 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4869, allocations: 2.172 kB / 0.7249 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.4871, allocations: 377.7 kB / 0.7253 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.4871, allocations: 16.06 kB / 0.7253 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.4871, allocations: 7.891 kB / 0.7253 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.4873, allocations: 13.14 kB / 0.7253 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.62e-05/0.4873, allocations: 24.3 kB / 0.7254 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.4873, allocations: 7.609 kB / 0.7254 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.41e-05/0.4874, allocations: 108.6 kB / 0.7255 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4874, allocations: 0 / 0.7255 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002347/0.4876, allocations: 17.53 kB / 0.7255 GB, free: 19.07 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.908e-05/0.4877, allocations: 96.16 kB / 0.7256 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002581/0.488, allocations: 100.3 kB / 0.7257 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.488, allocations: 0 / 0.7257 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.4881, allocations: 51.16 kB / 0.7257 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.4885, allocations: 12.84 kB / 0.7257 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.4889, allocations: 211.9 kB / 0.7259 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.268e-05/0.489, allocations: 88.39 kB / 0.726 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.062e-05/0.489, allocations: 20.23 kB / 0.726 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.4891, allocations: 18.98 kB / 0.7261 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of SimCode: time 8.51e-07/0.4891, allocations: 0 / 0.7261 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of Templates: time 0.003857/0.4929, allocations: 1.417 MB / 0.7274 GB, free: 18.52 MB / 0.6355 GB " [Timeout remaining time 660] 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.234811533009633] Failed to read output from testmodel.py, exit status != 0: 0.49992596195079386 0.513121925 0.028663036000000003 Calling exit ...