Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.0007949/0.0007949, 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.0007595/0.0007595, allocations: 169.9 kB / 23.18 MB, free: 1.375 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.8295/0.8295, 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 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.671/0.671, allocations: 154.7 MB / 414.7 MB, free: 0.7383 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.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [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.0009481/0.0009481, allocations: 72.61 kB / 0.6196 GB, free: 13.12 MB / 0.5886 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.417/0.418, allocations: 102 MB / 0.7191 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001657/0.4196, allocations: 0.7183 MB / 0.7198 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.4209, allocations: 1.093 MB / 0.7209 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.294e-05/0.421, allocations: 1.375 kB / 0.7209 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.775e-05/0.421, allocations: 8.953 kB / 0.7209 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.609e-05/0.4211, allocations: 13.98 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.4215, allocations: 50.97 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.4216, allocations: 77.64 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.4218, allocations: 19.44 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.4219, allocations: 39.56 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.173e-05/0.4219, allocations: 40.62 kB / 0.7211 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.422, allocations: 5.781 kB / 0.7211 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.571e-05/0.422, allocations: 15.09 kB / 0.7212 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.66e-05/0.4221, allocations: 17.23 kB / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.671e-05/0.4221, allocations: 22.48 kB / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.4223, allocations: 91.81 kB / 0.7213 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4223, allocations: 1.25 kB / 0.7213 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.795e-06/0.4223, allocations: 0 / 0.7213 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.4223, allocations: 0.7031 kB / 0.7213 GB, free: 22.25 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004701/0.4228, allocations: 307 kB / 0.7216 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.4228, allocations: 17.72 kB / 0.7216 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.154e-05/0.4229, allocations: 12.14 kB / 0.7216 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.436e-05/0.423, allocations: 119.5 kB / 0.7217 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.423, allocations: 7.203 kB / 0.7217 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.423, allocations: 3.625 kB / 0.7217 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.4232, allocations: 65.12 kB / 0.7218 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4232, allocations: 3.938 kB / 0.7218 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.4232, allocations: 1.766 kB / 0.7218 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.4232, allocations: 1.188 kB / 0.7218 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.4234, allocations: 51.56 kB / 0.7218 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.4238, allocations: 253.9 kB / 0.7221 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.424, allocations: 55.69 kB / 0.7221 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.258e-05/0.424, allocations: 27.58 kB / 0.7222 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.4241, allocations: 5.734 kB / 0.7222 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.4242, allocations: 86.78 kB / 0.7223 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.734e-06/0.4242, allocations: 0 / 0.7223 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003085/0.4245, allocations: 132.5 kB / 0.7224 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.4246, allocations: 53.31 kB / 0.7224 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.875e-05/0.4246, allocations: 127.3 kB / 0.7226 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.4247, allocations: 27.89 kB / 0.7226 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.4247, allocations: 92.28 kB / 0.7227 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.4247, allocations: 18.88 kB / 0.7227 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.4247, allocations: 31.3 kB / 0.7227 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.51e-05/0.4248, allocations: 323.2 kB / 0.723 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.778e-05/0.4249, allocations: 26.8 kB / 0.7231 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.502e-05/0.425, allocations: 72.23 kB / 0.7231 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.4251, allocations: 111.6 kB / 0.7232 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4251, allocations: 1.344 kB / 0.7232 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001934/0.4253, allocations: 129.7 kB / 0.7234 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4253, allocations: 11.53 kB / 0.7234 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4253, allocations: 1.188 kB / 0.7234 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.4253, allocations: 2.312 kB / 0.7234 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.251e-05/0.4254, allocations: 21.03 kB / 0.7234 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4254, allocations: 2.891 kB / 0.7234 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.4255, allocations: 16.41 kB / 0.7234 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.4255, allocations: 5.281 kB / 0.7234 GB, free: 20.47 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * 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.683e-05/0.4256, allocations: 129.3 kB / 0.7235 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.178e-06/0.4256, allocations: 7.672 kB / 0.7235 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.402e-05/0.4256, allocations: 10.62 kB / 0.7236 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4256, allocations: 5.188 kB / 0.7236 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4256, allocations: 0.6562 kB / 0.7236 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.4256, allocations: 0.7969 kB / 0.7236 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.4259, allocations: 317.1 kB / 0.7239 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4259, allocations: 0 / 0.7239 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-05/0.4259, allocations: 8.969 kB / 0.7239 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4259, allocations: 0 / 0.7239 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.4259, allocations: 5.719 kB / 0.7239 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.4259, allocations: 1.188 kB / 0.7239 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4259, allocations: 0 / 0.7239 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.4261, allocations: 218.6 kB / 0.7241 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-06/0.4261, allocations: 7.422 kB / 0.7241 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.4261, allocations: 1.062 kB / 0.7241 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.437e-05/0.4262, allocations: 5.922 kB / 0.7241 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.4262, allocations: 5.219 kB / 0.7241 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.4262, allocations: 10.28 kB / 0.7241 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.251e-05/0.4263, allocations: 99.11 kB / 0.7242 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4263, allocations: 0 / 0.7242 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001762/0.4264, allocations: 16.66 kB / 0.7242 GB, free: 19.79 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001441/0.4266, allocations: 104.8 kB / 0.7243 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.4268, allocations: 78.53 kB / 0.7244 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4268, allocations: 448 / 0.7244 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.954e-05/0.4268, allocations: 34.14 kB / 0.7244 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.4271, allocations: 12.16 kB / 0.7244 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/0.4274, allocations: 180.6 kB / 0.7246 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.065e-05/0.4274, allocations: 80.27 kB / 0.7247 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.4275, allocations: 13.55 kB / 0.7247 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/0.4275, allocations: 4.906 kB / 0.7247 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of Templates: time 0.002556/0.43, allocations: 1.083 MB / 0.7258 GB, free: 19.33 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.219560781028122] Failed to read output from testmodel.py, exit status != 0: 0.4356028090696782 0.443523622 0.019510229 Calling exit ...