Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001838/0.001838, allocations: 85.48 kB / 19.44 MB, free: 344 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.002013/0.002013, allocations: 177.2 kB / 22.76 MB, free: 1.66 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 1.546/1.546, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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-535:34: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-535:42: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.329/1.329, allocations: 154.8 MB / 414.4 MB, free: 472 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 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.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 0.5199 GB, free: 2.277 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.831e-05/4.093e-05, allocations: 7.531 kB / 0.5199 GB, free: 2.273 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002857/0.002898, allocations: 0.7368 MB / 0.5206 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.005199, allocations: 1.096 MB / 0.5217 GB, free: 464 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/0.005251, allocations: 0 / 0.5217 GB, free: 464 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.005285, allocations: 7.922 kB / 0.5217 GB, free: 456 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.005394, allocations: 16.62 kB / 0.5217 GB, free: 440 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.005775, allocations: 52.33 kB / 0.5217 GB, free: 388 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.005948, allocations: 72.33 kB / 0.5218 GB, free: 316 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.006081, allocations: 17 kB / 0.5218 GB, free: 296 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.006227, allocations: 39.95 kB / 0.5219 GB, free: 256 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.402e-05/0.006311, allocations: 27.91 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.006338, allocations: 5.531 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.344e-05/0.006432, allocations: 23.91 kB / 0.5219 GB, free: 200 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.218e-05/0.006474, allocations: 19.92 kB / 0.5219 GB, free: 180 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.968e-05/0.006544, allocations: 19.97 kB / 0.522 GB, free: 160 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.006778, allocations: 88.61 kB / 0.522 GB, free: 72 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.006783, allocations: 0 / 0.522 GB, free: 72 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.006784, allocations: 1.406 kB / 0.522 GB, free: 72 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.006789, allocations: 0 / 0.522 GB, free: 72 kB / 490.7 MB 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.0007962/0.007585, allocations: 396.1 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.007631, allocations: 12.03 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.421e-05/0.007705, allocations: 14.03 kB / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.007876, allocations: 116.5 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.007898, allocations: 12.31 kB / 0.5226 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.007918, allocations: 5.062 kB / 0.5226 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.008141, allocations: 63.45 kB / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.008152, allocations: 192 / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.008163, allocations: 384 / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.008171, allocations: 8.125 kB / 0.5226 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.008346, allocations: 36.47 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008175/0.009164, allocations: 312.7 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.009368, allocations: 51.58 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.009472, allocations: 29.83 kB / 0.523 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.009502, allocations: 7.938 kB / 0.5231 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.009723, allocations: 77.03 kB / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.009725, allocations: 0 / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0005154/0.01024, allocations: 119 kB / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.0103, allocations: 51.41 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.01052, allocations: 189.9 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.01055, allocations: 31.17 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.01068, allocations: 138.8 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.01072, allocations: 23.83 kB / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.541e-05/0.01082, allocations: 36.34 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003643/0.01118, allocations: 0.4884 MB / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.01132, allocations: 23.98 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.01152, allocations: 91.3 kB / 0.5243 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.01182, allocations: 120.3 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.01183, allocations: 4 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004162/0.01224, allocations: 123.6 kB / 0.5245 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.01226, allocations: 10.75 kB / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.01227, allocations: 4 kB / 0.5245 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.01229, allocations: 1.812 kB / 0.5245 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.01246, allocations: 23.98 kB / 0.5246 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.01247, allocations: 0 / 0.5246 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.01258, allocations: 11.95 kB / 0.5246 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.0126, allocations: 10.33 kB / 0.5246 GB, free: 13.23 MB / 0.4948 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 0.0001874/0.01279, allocations: 164.5 kB / 0.5247 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.01282, allocations: 19.89 kB / 0.5248 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.028e-05/0.01286, allocations: 8.438 kB / 0.5248 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.01287, allocations: 3.984 kB / 0.5248 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.01287, allocations: 2.438 kB / 0.5248 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.01288, allocations: 3.984 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006579/0.01354, allocations: 365.3 kB / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.01354, allocations: 4 kB / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.507e-05/0.0136, allocations: 7.984 kB / 0.5251 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.0136, allocations: 0 / 0.5251 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.01361, allocations: 5.906 kB / 0.5251 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01362, allocations: 0 / 0.5251 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01362, allocations: 0 / 0.5251 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004178/0.01403, allocations: 256.1 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.01405, allocations: 7.953 kB / 0.5254 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.01408, allocations: 5.016 kB / 0.5254 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.01418, allocations: 4 kB / 0.5254 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.01423, allocations: 8.922 kB / 0.5254 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.01424, allocations: 0 / 0.5254 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001368/0.01438, allocations: 145.9 kB / 0.5255 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/0.01438, allocations: 3.25 kB / 0.5255 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004304/0.01481, allocations: 12 kB / 0.5256 GB, free: 12.16 MB / 0.4948 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.0002452/0.01505, allocations: 103.2 kB / 0.5257 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003578/0.01541, allocations: 75.58 kB / 0.5257 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01541, allocations: 3 kB / 0.5257 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.01557, allocations: 43.55 kB / 0.5258 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.016, allocations: 12.5 kB / 0.5258 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005518/0.01655, allocations: 172.9 kB / 0.5259 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.01667, allocations: 72.89 kB / 0.526 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.268e-05/0.01672, allocations: 7.984 kB / 0.526 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.51e-05/0.01678, allocations: 17.78 kB / 0.526 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of SimCode: time 8.12e-07/0.01678, allocations: 0 / 0.526 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of Templates: time 0.00669/0.02347, allocations: 1.029 MB / 0.527 GB, free: 10.67 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.9899110299302265]