Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.0006878/0.0006878, allocations: 72.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.0007372/0.0007372, 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.8623/0.8623, allocations: 177.2 MB / 203.6 MB, free: 5.773 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-531:686: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-531:694: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.7049/0.7049, allocations: 154.7 MB / 414.7 MB, free: 0.7344 MB / 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.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [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.0009778/0.0009778, allocations: 67.89 kB / 0.6196 GB, free: 12.01 MB / 0.5417 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.386, allocations: 102 MB / 0.7191 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001328/0.3873, allocations: 0.6453 MB / 0.7198 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3884, allocations: 1.187 MB / 0.7209 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.3884, allocations: 0 / 0.7209 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.3885, allocations: 3.938 kB / 0.7209 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.982e-05/0.3885, allocations: 7.938 kB / 0.7209 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.3889, allocations: 147.2 kB / 0.7211 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.3891, allocations: 151.7 kB / 0.7212 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.617e-05/0.3892, allocations: 7.938 kB / 0.7212 GB, free: 11.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.432e-05/0.3893, allocations: 79.88 kB / 0.7213 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.241e-05/0.3894, allocations: 51.8 kB / 0.7213 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.3894, allocations: 12 kB / 0.7214 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.6e-05/0.3895, allocations: 27.98 kB / 0.7214 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.3895, allocations: 19.97 kB / 0.7214 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/0.3895, allocations: 47.84 kB / 0.7214 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.3897, allocations: 151.6 kB / 0.7216 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3897, allocations: 4 kB / 0.7216 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3897, allocations: 0 / 0.7216 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.3897, allocations: 0 / 0.7216 GB, free: 11.14 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004597/0.3902, allocations: 351.8 kB / 0.7219 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3902, allocations: 8.031 kB / 0.7219 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.3903, allocations: 12.89 kB / 0.722 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.3905, allocations: 158.5 kB / 0.7221 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.3905, allocations: 4.375 kB / 0.7221 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.3906, allocations: 20.36 kB / 0.7221 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.3907, allocations: 78.2 kB / 0.7222 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3907, allocations: 3.938 kB / 0.7222 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3907, allocations: 7.984 kB / 0.7222 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3907, allocations: 0 / 0.7222 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.462e-05/0.3908, allocations: 39.97 kB / 0.7223 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.3912, allocations: 280.4 kB / 0.7225 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.3913, allocations: 86.45 kB / 0.7226 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.409e-05/0.3913, allocations: 32.84 kB / 0.7226 GB, free: 9.973 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.3914, allocations: 4 kB / 0.7226 GB, free: 9.969 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004321/0.3918, allocations: 123.3 kB / 0.7228 GB, free: 9.836 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.3918, allocations: 0 / 0.7228 GB, free: 9.836 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.000288/0.3921, allocations: 201.6 kB / 0.7229 GB, free: 9.633 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.3921, allocations: 55.41 kB / 0.723 GB, free: 9.566 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.26e-05/0.3922, allocations: 113.8 kB / 0.7231 GB, free: 9.445 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.3922, allocations: 37.69 kB / 0.7231 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.3922, allocations: 96 kB / 0.7232 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.3923, allocations: 39.88 kB / 0.7233 GB, free: 9.266 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.3923, allocations: 41.7 kB / 0.7233 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.042e-05/0.3924, allocations: 318.8 kB / 0.7236 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-05/0.3925, allocations: 85.61 kB / 0.7237 GB, free: 8.809 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.75e-05/0.3926, allocations: 120 kB / 0.7238 GB, free: 8.676 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.3927, allocations: 137.9 kB / 0.7239 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3927, allocations: 3.938 kB / 0.7239 GB, free: 8.516 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002288/0.3929, allocations: 243.9 kB / 0.7242 GB, free: 8.262 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.393, allocations: 33.7 kB / 0.7242 GB, free: 8.223 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.393, allocations: 0 / 0.7242 GB, free: 8.223 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.393, allocations: 7.984 kB / 0.7242 GB, free: 8.215 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.361e-05/0.393, allocations: 12 kB / 0.7242 GB, free: 8.203 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.393, allocations: 0 / 0.7242 GB, free: 8.203 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.3931, allocations: 32.05 kB / 0.7243 GB, free: 8.172 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.3932, allocations: 19.98 kB / 0.7243 GB, free: 8.152 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 7.628e-05/0.3932, allocations: 130.6 kB / 0.7244 GB, free: 8.016 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.3932, allocations: 11.95 kB / 0.7244 GB, free: 8.004 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.658e-05/0.3933, allocations: 16.36 kB / 0.7244 GB, free: 7.988 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3933, allocations: 4 kB / 0.7244 GB, free: 7.984 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3933, allocations: 4 kB / 0.7244 GB, free: 7.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3933, allocations: 3.984 kB / 0.7244 GB, free: 7.977 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.3935, allocations: 374.1 kB / 0.7248 GB, free: 7.574 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3935, allocations: 0 / 0.7248 GB, free: 7.574 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.801e-05/0.3936, allocations: 11.98 kB / 0.7248 GB, free: 7.562 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3936, allocations: 4 kB / 0.7248 GB, free: 7.559 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.3936, allocations: 4 kB / 0.7248 GB, free: 7.555 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3936, allocations: 0 / 0.7248 GB, free: 7.555 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3936, allocations: 0 / 0.7248 GB, free: 7.555 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.3937, allocations: 271.3 kB / 0.7251 GB, free: 7.273 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.3938, allocations: 3.953 kB / 0.7251 GB, free: 7.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.3938, allocations: 8 kB / 0.7251 GB, free: 7.262 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.699e-05/0.3938, allocations: 7.984 kB / 0.7251 GB, free: 7.254 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.3939, allocations: 19.97 kB / 0.7251 GB, free: 7.234 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.3939, allocations: 12 kB / 0.7251 GB, free: 7.223 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.937e-05/0.3939, allocations: 87.27 kB / 0.7252 GB, free: 7.137 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.3939, allocations: 0 / 0.7252 GB, free: 7.137 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001799/0.3941, allocations: 32 kB / 0.7252 GB, free: 7.105 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001122/0.3942, allocations: 111.2 kB / 0.7253 GB, free: 6.988 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.3944, allocations: 211.5 kB / 0.7256 GB, free: 6.766 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3944, allocations: 0 / 0.7256 GB, free: 6.766 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.402e-05/0.3945, allocations: 56.16 kB / 0.7256 GB, free: 6.711 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.3947, allocations: 15.98 kB / 0.7256 GB, free: 6.695 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003069/0.395, allocations: 224 kB / 0.7258 GB, free: 6.445 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.528e-05/0.395, allocations: 71.34 kB / 0.7259 GB, free: 6.355 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.395, allocations: 16.5 kB / 0.7259 GB, free: 6.336 MB / 0.6042 GB Notification: Performance of SimCode: time 5.91e-07/0.395, allocations: 0 / 0.7259 GB, free: 6.336 MB / 0.6042 GB Notification: Performance of Templates: time 0.002095/0.3971, allocations: 1.481 MB / 0.7274 GB, free: 4.863 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2523449619766325] Failed to read output from testmodel.py, exit status != 0: 0.40306450985372066 0.41064256699999996 0.01931414 Calling exit ...