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.0009057/0.0009057, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009824/0.0009824, allocations: 173 kB / 23.03 MB, free: 1.543 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.9225/0.9225, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7098/0.7098, allocations: 154.6 MB / 414.5 MB, free: 0.6836 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 1.553e-06/1.553e-06, allocations: 0 / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.72e-05, allocations: 4.141 kB / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001169/0.001186, allocations: 0.7367 MB / 0.5211 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.002232, allocations: 1.129 MB / 0.5222 GB, free: 356 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.002273, allocations: 5.75 kB / 0.5222 GB, free: 352 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.002303, allocations: 3.938 kB / 0.5222 GB, free: 348 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.605e-05/0.002379, allocations: 7.875 kB / 0.5222 GB, free: 340 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.002648, allocations: 59.75 kB / 0.5222 GB, free: 280 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.306e-05/0.002741, allocations: 73.47 kB / 0.5223 GB, free: 208 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.041e-05/0.002831, allocations: 20.14 kB / 0.5223 GB, free: 184 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.791e-05/0.002909, allocations: 43.91 kB / 0.5224 GB, free: 140 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.316e-05/0.002953, allocations: 23.95 kB / 0.5224 GB, free: 116 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.002969, allocations: 8 kB / 0.5224 GB, free: 108 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.087e-05/0.00302, allocations: 16.69 kB / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.003042, allocations: 15.97 kB / 0.5224 GB, free: 76 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.003072, allocations: 21.33 kB / 0.5224 GB, free: 56 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.003199, allocations: 66.81 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.003201, allocations: 0 / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003201, allocations: 1.344 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.003205, allocations: 0 / 0.5225 GB, free: 15.99 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.0003858/0.003591, allocations: 392.3 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.003624, allocations: 12.02 kB / 0.5229 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.00367, allocations: 22.52 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.332e-05/0.003753, allocations: 116.5 kB / 0.523 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.003764, allocations: 384 / 0.523 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.003776, allocations: 8.375 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.003898, allocations: 69.16 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.003904, allocations: 192 / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.003913, allocations: 384 / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.003921, allocations: 4.125 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.032e-05/0.003952, allocations: 15.92 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.004333, allocations: 304.2 kB / 0.5234 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.488e-05/0.004418, allocations: 47.64 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.355e-05/0.004441, allocations: 16.66 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.004459, allocations: 3.938 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.843e-05/0.004527, allocations: 65.7 kB / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.004528, allocations: 1.375 kB / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001682/0.004697, allocations: 89.8 kB / 0.5236 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.004727, allocations: 51.41 kB / 0.5237 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.044e-05/0.004808, allocations: 181.9 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.00482, allocations: 26.64 kB / 0.5239 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.004869, allocations: 150.7 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.004885, allocations: 13.44 kB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.004922, allocations: 39.36 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.005029, allocations: 0.4884 MB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.005053, allocations: 8 kB / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.825e-05/0.005101, allocations: 74.83 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.964e-05/0.00518, allocations: 97.61 kB / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.005183, allocations: 0 / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000137/0.00532, allocations: 105.4 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.005331, allocations: 7.031 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.005336, allocations: 4.078 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.005349, allocations: 0 / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.432e-05/0.005433, allocations: 23.92 kB / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.005438, allocations: 3.984 kB / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.309e-05/0.005472, allocations: 4 kB / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.005482, allocations: 11.98 kB / 0.5249 GB, free: 13.32 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 6.418e-05/0.005546, allocations: 168.2 kB / 0.525 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.005558, allocations: 19.83 kB / 0.5251 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.005578, allocations: 4.438 kB / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.00558, allocations: 0 / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.005582, allocations: 0.5 kB / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.005585, allocations: 4 kB / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.005793, allocations: 339.9 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005794, allocations: 0 / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.242e-05/0.005817, allocations: 11.92 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.005818, allocations: 0 / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.005826, allocations: 11.94 kB / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.005826, allocations: 0 / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.005829, allocations: 6.422 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.005973, allocations: 215.9 kB / 0.5256 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.066e-06/0.005981, allocations: 11.94 kB / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.005991, allocations: 0 / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.13e-05/0.006022, allocations: 4 kB / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.006058, allocations: 7.984 kB / 0.5256 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.006064, allocations: 4 kB / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.006103, allocations: 138.6 kB / 0.5258 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006103, allocations: 0 / 0.5258 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000174/0.006277, allocations: 15.94 kB / 0.5258 GB, free: 12.32 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.0001071/0.006384, allocations: 108.2 kB / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.006499, allocations: 52.52 kB / 0.5259 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.006501, allocations: 0 / 0.5259 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.283e-05/0.006533, allocations: 24.89 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.006718, allocations: 19.31 kB / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/0.006969, allocations: 162.6 kB / 0.5261 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.073e-05/0.007, allocations: 63.34 kB / 0.5262 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.034e-05/0.00702, allocations: 7.984 kB / 0.5262 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.007044, allocations: 14.88 kB / 0.5262 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.007044, allocations: 0 / 0.5262 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of Templates: time 0.002655/0.009699, allocations: 1.096 MB / 0.5273 GB, free: 10.82 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.3694526818580925]