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.001291/0.001291, allocations: 79.97 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001427/0.001427, allocations: 166.4 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.466/1.466, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.219/1.219, allocations: 154.6 MB / 413.7 MB, free: 5.309 MB / 382.1 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 178] 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: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.6186 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.737e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001814/0.001841, allocations: 0.8092 MB / 0.6194 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.003103, allocations: 0.921 MB / 0.6203 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.539e-05/0.003158, allocations: 0 / 0.6203 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.036e-05/0.003198, allocations: 7.875 kB / 0.6203 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.845e-05/0.003297, allocations: 19.8 kB / 0.6203 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.003548, allocations: 39.89 kB / 0.6203 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.003712, allocations: 123.6 kB / 0.6205 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.003836, allocations: 25.23 kB / 0.6205 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.004053, allocations: 79.8 kB / 0.6206 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.841e-05/0.004142, allocations: 43.88 kB / 0.6206 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.004172, allocations: 8 kB / 0.6206 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.099e-05/0.004223, allocations: 12 kB / 0.6206 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.467e-05/0.004257, allocations: 27.91 kB / 0.6207 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.004304, allocations: 27.92 kB / 0.6207 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.004518, allocations: 139.5 kB / 0.6208 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004521, allocations: 0 / 0.6208 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.52e-07/0.004521, allocations: 0 / 0.6208 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.004531, allocations: 0 / 0.6208 GB, free: 2.305 MB / 0.5294 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.0007108/0.005242, allocations: 365.7 kB / 0.6212 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.005284, allocations: 13.47 kB / 0.6212 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/0.005553, allocations: 36.81 kB / 0.6212 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.006057, allocations: 197.6 kB / 0.6214 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.00608, allocations: 12.36 kB / 0.6214 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.006102, allocations: 8.375 kB / 0.6214 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.006399, allocations: 112.8 kB / 0.6215 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.006411, allocations: 4.125 kB / 0.6215 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.006428, allocations: 4.375 kB / 0.6215 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.006434, allocations: 8.125 kB / 0.6215 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003172/0.006752, allocations: 71.92 kB / 0.6216 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006131/0.007365, allocations: 436.8 kB / 0.622 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.007628, allocations: 103.8 kB / 0.6221 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.007794, allocations: 62.55 kB / 0.6222 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.007813, allocations: 3.938 kB / 0.6222 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.007849, allocations: 42.5 kB / 0.6222 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.00785, allocations: 0 / 0.6222 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0006055/0.008456, allocations: 153.5 kB / 0.6224 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.008522, allocations: 111.1 kB / 0.6225 GB, free: 420 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.008648, allocations: 149.8 kB / 0.6226 GB, free: 264 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.00868, allocations: 33.7 kB / 0.6227 GB, free: 224 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.008751, allocations: 104.3 kB / 0.6228 GB, free: 112 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.008783, allocations: 23.8 kB / 0.6228 GB, free: 88 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.008836, allocations: 29.7 kB / 0.6228 GB, free: 52 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.008987, allocations: 322.8 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.009142, allocations: 39.97 kB / 0.6232 GB, free: 15.69 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.009366, allocations: 170.1 kB / 0.6233 GB, free: 15.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.009651, allocations: 86.52 kB / 0.6234 GB, free: 15.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.009653, allocations: 0 / 0.6234 GB, free: 15.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003702/0.01002, allocations: 145.4 kB / 0.6235 GB, free: 15.24 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.01004, allocations: 10.5 kB / 0.6235 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.01005, allocations: 4 kB / 0.6235 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.01006, allocations: 336 / 0.6235 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.0102, allocations: 23.92 kB / 0.6236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.01021, allocations: 3.984 kB / 0.6236 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.01035, allocations: 15.92 kB / 0.6236 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.01036, allocations: 4 kB / 0.6236 GB, free: 15.18 MB / 0.545 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 0.0001191/0.01048, allocations: 129.2 kB / 0.6237 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/0.01054, allocations: 19.84 kB / 0.6237 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.01082, allocations: 93.92 kB / 0.6238 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01082, allocations: 0 / 0.6238 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.01083, allocations: 4 kB / 0.6238 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01083, allocations: 0 / 0.6238 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.01109, allocations: 137.3 kB / 0.624 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.01109, allocations: 4 kB / 0.624 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.01119, allocations: 15.98 kB / 0.624 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.0112, allocations: 7.938 kB / 0.624 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.01121, allocations: 0 / 0.624 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.01121, allocations: 7.984 kB / 0.624 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01121, allocations: 0 / 0.624 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004912/0.01171, allocations: 374 kB / 0.6244 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.01172, allocations: 15.84 kB / 0.6244 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.01175, allocations: 0 / 0.6244 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.01196, allocations: 23.97 kB / 0.6244 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/0.01204, allocations: 23.95 kB / 0.6244 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.01205, allocations: 4 kB / 0.6244 GB, free: 14.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.236e-05/0.01213, allocations: 115.2 kB / 0.6245 GB, free: 14.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01213, allocations: 0 / 0.6245 GB, free: 14.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003126/0.01244, allocations: 16 kB / 0.6245 GB, free: 14.14 MB / 0.545 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.0001397/0.01258, allocations: 107.1 kB / 0.6246 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003795/0.01296, allocations: 95.92 kB / 0.6247 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01296, allocations: 3.938 kB / 0.6247 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.01314, allocations: 47.95 kB / 0.6248 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.01359, allocations: 15.94 kB / 0.6248 GB, free: 13.87 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.01404, allocations: 199.4 kB / 0.625 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.01416, allocations: 92.39 kB / 0.6251 GB, free: 13.53 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.351e-05/0.01423, allocations: 16.64 kB / 0.6251 GB, free: 13.51 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/0.01429, allocations: 24.48 kB / 0.6251 GB, free: 13.49 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.01429, allocations: 0 / 0.6251 GB, free: 13.49 MB / 0.545 GB Notification: Performance of Templates: time 0.004911/0.0192, allocations: 1.394 MB / 0.6265 GB, free: 12.12 MB / 0.545 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.852952443063259] Failed to read output from testmodel.py, exit status != 0: 0.02804674208164215 0.043291089000000005 0.035747009 Calling exit ...