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.001127/0.001127, allocations: 93.06 kB / 19.65 MB, free: 272 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.001173/0.001173, allocations: 169 kB / 23.02 MB, free: 1.547 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.056/1.056, allocations: 177.1 MB / 203.4 MB, free: 5.613 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-545:108: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-545:116: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.7859/0.7859, allocations: 154.6 MB / 414.5 MB, free: 0.6758 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: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.5203 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.736e-05, allocations: 3.297 kB / 0.5203 GB, free: 2.172 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001474/0.001502, allocations: 0.7423 MB / 0.5211 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.002697, allocations: 1.122 MB / 0.5221 GB, free: 328 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.646e-05/0.002743, allocations: 4.594 kB / 0.5222 GB, free: 324 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/0.002777, allocations: 8.484 kB / 0.5222 GB, free: 316 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.125e-05/0.002848, allocations: 12.31 kB / 0.5222 GB, free: 304 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.003158, allocations: 60.64 kB / 0.5222 GB, free: 244 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.003258, allocations: 71.77 kB / 0.5223 GB, free: 172 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.003362, allocations: 16.16 kB / 0.5223 GB, free: 152 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.84e-05/0.003451, allocations: 45.47 kB / 0.5224 GB, free: 108 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.291e-05/0.003504, allocations: 23.95 kB / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.003524, allocations: 8 kB / 0.5224 GB, free: 76 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.865e-05/0.003583, allocations: 15.98 kB / 0.5224 GB, free: 60 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.003606, allocations: 20.75 kB / 0.5224 GB, free: 40 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.003641, allocations: 19.92 kB / 0.5224 GB, free: 20 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.003778, allocations: 56.31 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.00378, allocations: 2 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.884e-06/0.003782, allocations: 7.984 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.289e-06/0.003786, allocations: 0 / 0.5225 GB, free: 15.96 MB / 0.4948 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.0004113/0.004198, allocations: 396.4 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.004236, allocations: 11.97 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.004279, allocations: 9.453 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.234e-05/0.004372, allocations: 124.5 kB / 0.523 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.004384, allocations: 0.9062 kB / 0.523 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.004399, allocations: 9.094 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.004542, allocations: 70.88 kB / 0.5231 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.004552, allocations: 0.75 kB / 0.5231 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.004562, allocations: 1.812 kB / 0.5231 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.004571, allocations: 12.05 kB / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.163e-05/0.004603, allocations: 11.98 kB / 0.5231 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/0.005019, allocations: 304.5 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.546e-05/0.005114, allocations: 47.95 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.668e-05/0.005141, allocations: 15.81 kB / 0.5235 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.005164, allocations: 10.97 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.811e-05/0.005242, allocations: 65.05 kB / 0.5236 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.005244, allocations: 0 / 0.5236 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001933/0.005437, allocations: 81.81 kB / 0.5236 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.005473, allocations: 59.38 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.981e-05/0.005563, allocations: 180.3 kB / 0.5239 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.005576, allocations: 25.7 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.005633, allocations: 150.8 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.005648, allocations: 8.438 kB / 0.524 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.00569, allocations: 44.23 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.005803, allocations: 0.4884 MB / 0.5246 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.872e-05/0.005832, allocations: 8 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.532e-05/0.005887, allocations: 74.52 kB / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.607e-05/0.005973, allocations: 95.83 kB / 0.5247 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.005977, allocations: 4.625 kB / 0.5247 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001278/0.006105, allocations: 105.2 kB / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.006117, allocations: 4 kB / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.006123, allocations: 4.078 kB / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.006138, allocations: 0 / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.729e-05/0.006235, allocations: 23.92 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.006242, allocations: 3.984 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.608e-05/0.006278, allocations: 8 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.006288, allocations: 7.125 kB / 0.5249 GB, free: 13.29 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 7.828e-05/0.006367, allocations: 172.4 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.006379, allocations: 15.89 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.006407, allocations: 8.438 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.006409, allocations: 0 / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.006413, allocations: 0 / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.006416, allocations: 0 / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.006664, allocations: 339.2 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.006666, allocations: 0 / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.006694, allocations: 11.94 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.006697, allocations: 3.984 kB / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.006705, allocations: 4 kB / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.006706, allocations: 1.75 kB / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006707, allocations: 0 / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.006824, allocations: 215.9 kB / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-06/0.006832, allocations: 7.953 kB / 0.5256 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.006845, allocations: 11.92 kB / 0.5256 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.405e-05/0.006879, allocations: 6.75 kB / 0.5256 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.006915, allocations: 3.984 kB / 0.5256 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.006922, allocations: 4 kB / 0.5256 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.194e-05/0.006964, allocations: 139.1 kB / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006964, allocations: 0 / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001754/0.007139, allocations: 12 kB / 0.5258 GB, free: 12.28 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.000116/0.007255, allocations: 109.1 kB / 0.5259 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.007382, allocations: 53.88 kB / 0.5259 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.007383, allocations: 2.406 kB / 0.5259 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.604e-05/0.007419, allocations: 27.61 kB / 0.526 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.007615, allocations: 15.94 kB / 0.526 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.007917, allocations: 159.6 kB / 0.5261 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.642e-05/0.007953, allocations: 63.34 kB / 0.5262 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.345e-05/0.007977, allocations: 9.5 kB / 0.5262 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.008004, allocations: 12.5 kB / 0.5262 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/0.008005, allocations: 0 / 0.5262 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of Templates: time 0.002841/0.01085, allocations: 1.03 MB / 0.5272 GB, free: 10.84 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.950749959796667]