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.000715/0.000715, allocations: 72.45 kB / 19.91 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.0007605/0.0007605, allocations: 169.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.9033/0.9033, allocations: 177.2 MB / 203.6 MB, free: 5.762 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7165/0.7165, allocations: 155 MB / 415 MB, free: 500 kB / 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.000967/0.000967, allocations: 75.88 kB / 0.62 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.4454/0.4463, allocations: 102 MB / 0.7195 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001658/0.448, allocations: 0.8166 MB / 0.7203 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009864/0.449, allocations: 0.9074 MB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.052e-05/0.449, allocations: 2.469 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.842e-05/0.4491, allocations: 9.094 kB / 0.7212 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.448e-05/0.4492, allocations: 18.89 kB / 0.7213 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.4494, allocations: 50.56 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.4496, allocations: 111.7 kB / 0.7214 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.4497, allocations: 23.66 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.4499, allocations: 89.03 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.338e-05/0.45, allocations: 47.73 kB / 0.7216 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.45, allocations: 9.438 kB / 0.7216 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.7e-05/0.45, allocations: 11.72 kB / 0.7216 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.39e-05/0.4501, allocations: 29.86 kB / 0.7216 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.4501, allocations: 38.23 kB / 0.7217 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.4503, allocations: 146.9 kB / 0.7218 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4503, allocations: 1.766 kB / 0.7218 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4503, allocations: 0 / 0.7218 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.4503, allocations: 0 / 0.7218 GB, free: 21.96 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.0005282/0.4508, allocations: 375.5 kB / 0.7222 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4509, allocations: 10.22 kB / 0.7222 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.4511, allocations: 37.53 kB / 0.7222 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.4514, allocations: 191.5 kB / 0.7224 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.4514, allocations: 7.75 kB / 0.7224 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.4514, allocations: 6.875 kB / 0.7224 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.4516, allocations: 120.8 kB / 0.7225 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4516, allocations: 3.938 kB / 0.7225 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.4517, allocations: 0.9062 kB / 0.7225 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4517, allocations: 2.25 kB / 0.7225 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.4518, allocations: 80.92 kB / 0.7226 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.4522, allocations: 436.5 kB / 0.723 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.4524, allocations: 111.2 kB / 0.7231 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.458e-05/0.4525, allocations: 56.44 kB / 0.7232 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.4525, allocations: 7.406 kB / 0.7232 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.4525, allocations: 36.88 kB / 0.7232 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.984e-06/0.4525, allocations: 0.9688 kB / 0.7232 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003839/0.4529, allocations: 153.8 kB / 0.7234 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.4529, allocations: 110.2 kB / 0.7235 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.436e-05/0.453, allocations: 145.5 kB / 0.7236 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.453, allocations: 32.75 kB / 0.7236 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.4531, allocations: 109.6 kB / 0.7237 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.4531, allocations: 26.11 kB / 0.7238 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.4531, allocations: 28.52 kB / 0.7238 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.877e-05/0.4532, allocations: 326.5 kB / 0.7241 GB, free: 20 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.502e-05/0.4533, allocations: 43.7 kB / 0.7241 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.4534, allocations: 166.2 kB / 0.7243 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.4535, allocations: 95.55 kB / 0.7244 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4535, allocations: 0 / 0.7244 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000206/0.4537, allocations: 141.6 kB / 0.7245 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.4538, allocations: 5.531 kB / 0.7245 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4538, allocations: 4 kB / 0.7245 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.4538, allocations: 2.156 kB / 0.7245 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.4539, allocations: 18.7 kB / 0.7246 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4539, allocations: 1.641 kB / 0.7246 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.638e-05/0.4539, allocations: 15.8 kB / 0.7246 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.454, allocations: 7.188 kB / 0.7246 GB, free: 19.72 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.882e-05/0.454, allocations: 128.9 kB / 0.7247 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.454, allocations: 17.61 kB / 0.7247 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001645/0.4542, allocations: 88.53 kB / 0.7248 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4542, allocations: 2.375 kB / 0.7248 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4542, allocations: 0.7031 kB / 0.7248 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4542, allocations: 1.094 kB / 0.7248 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.4544, allocations: 144.3 kB / 0.7249 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4544, allocations: 4.906 kB / 0.7249 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-05/0.4544, allocations: 18.81 kB / 0.725 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.4544, allocations: 5.312 kB / 0.725 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.4545, allocations: 2.422 kB / 0.725 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.4545, allocations: 5.594 kB / 0.725 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4545, allocations: 1.219 kB / 0.725 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.4547, allocations: 367.3 kB / 0.7253 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.4547, allocations: 12.48 kB / 0.7253 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.4547, allocations: 10.09 kB / 0.7254 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.4548, allocations: 17.58 kB / 0.7254 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.4e-05/0.4549, allocations: 24.7 kB / 0.7254 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.4549, allocations: 4.578 kB / 0.7254 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.69e-05/0.455, allocations: 119.2 kB / 0.7255 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.455, allocations: 0 / 0.7255 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002064/0.4552, allocations: 14.44 kB / 0.7255 GB, free: 18.96 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 0.0001018/0.4553, allocations: 99.98 kB / 0.7256 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002427/0.4555, allocations: 103.2 kB / 0.7257 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4555, allocations: 1.219 kB / 0.7257 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.316e-05/0.4556, allocations: 50.05 kB / 0.7258 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.456, allocations: 14.31 kB / 0.7258 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/0.4563, allocations: 230.5 kB / 0.726 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.601e-05/0.4564, allocations: 95.98 kB / 0.7261 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.4564, allocations: 20.14 kB / 0.7261 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of SimCode: time 6.72e-07/0.4564, allocations: 0 / 0.7261 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of Templates: time 0.00293/0.4593, allocations: 1.559 MB / 0.7276 GB, free: 18.39 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.40227686916478] Failed to read output from testmodel.py, exit status != 0: 0.4646674799732864 0.473160418 0.021099707000000002 Calling exit ...