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.001821/0.001821, 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.002048/0.002048, allocations: 173.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.636/1.636, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 1.366/1.366, allocations: 154.6 MB / 414.1 MB, free: 0.6484 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 178] 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 3.406e-06/3.406e-06, allocations: 0 / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.341e-05/3.682e-05, allocations: 4.141 kB / 0.5196 GB, free: 2.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002018/0.002055, allocations: 0.7331 MB / 0.5204 GB, free: 1.824 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.003704, allocations: 1.097 MB / 0.5214 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.003753, allocations: 2.312 kB / 0.5214 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.003782, allocations: 3.938 kB / 0.5214 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.475e-05/0.003877, allocations: 19.8 kB / 0.5214 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.004182, allocations: 51.77 kB / 0.5215 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.004316, allocations: 71.77 kB / 0.5216 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.004425, allocations: 21.84 kB / 0.5216 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.004529, allocations: 39.91 kB / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.99e-05/0.004589, allocations: 23.95 kB / 0.5216 GB, free: 496 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.004614, allocations: 8 kB / 0.5217 GB, free: 488 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.907e-05/0.004683, allocations: 23.92 kB / 0.5217 GB, free: 464 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.00471, allocations: 12.48 kB / 0.5217 GB, free: 452 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.638e-05/0.004756, allocations: 28.81 kB / 0.5217 GB, free: 424 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004129/0.005169, allocations: 75.75 kB / 0.5218 GB, free: 348 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.005176, allocations: 7.984 kB / 0.5218 GB, free: 340 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.005178, allocations: 1.125 kB / 0.5218 GB, free: 340 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.005182, allocations: 3.938 kB / 0.5218 GB, free: 336 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.000629/0.005811, allocations: 396.8 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.005858, allocations: 8.031 kB / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.575e-05/0.005914, allocations: 13.92 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.006048, allocations: 124.5 kB / 0.5223 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.006064, allocations: 4.375 kB / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.006079, allocations: 5.906 kB / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.006257, allocations: 62.17 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.006266, allocations: 192 / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.006283, allocations: 8.359 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.006289, allocations: 5.219 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.006411, allocations: 31.92 kB / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000651/0.007062, allocations: 317.6 kB / 0.5227 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.007234, allocations: 59.08 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.107e-05/0.007315, allocations: 27.8 kB / 0.5228 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.007342, allocations: 5.094 kB / 0.5228 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.007508, allocations: 77.05 kB / 0.5229 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.00751, allocations: 0.7812 kB / 0.5229 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0003889/0.007898, allocations: 114.4 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.007955, allocations: 55.41 kB / 0.5231 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.008129, allocations: 188.5 kB / 0.5232 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.00816, allocations: 33.7 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.937e-05/0.00826, allocations: 142.8 kB / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.008287, allocations: 15.84 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.008362, allocations: 43.3 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002811/0.008643, allocations: 0.4923 MB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.008748, allocations: 23.98 kB / 0.524 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.008895, allocations: 86.45 kB / 0.524 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.009124, allocations: 125 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.009126, allocations: 0 / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002865/0.009412, allocations: 132.5 kB / 0.5243 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.009426, allocations: 4 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.009431, allocations: 0 / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.00945, allocations: 4 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.009576, allocations: 21.42 kB / 0.5243 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.009587, allocations: 4.312 kB / 0.5243 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.707e-05/0.009674, allocations: 7.953 kB / 0.5243 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.009694, allocations: 7.984 kB / 0.5243 GB, free: 13.48 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.0001412/0.009835, allocations: 173 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.009858, allocations: 12.89 kB / 0.5245 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.126e-05/0.009889, allocations: 8.438 kB / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.009891, allocations: 0.875 kB / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.009897, allocations: 4 kB / 0.5245 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.0099, allocations: 0 / 0.5245 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.0104, allocations: 373.9 kB / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.01041, allocations: 3.094 kB / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.19e-05/0.01045, allocations: 7.984 kB / 0.5249 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.01045, allocations: 0 / 0.5249 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.01046, allocations: 4 kB / 0.5249 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01046, allocations: 0 / 0.5249 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01046, allocations: 0 / 0.5249 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.0108, allocations: 243.8 kB / 0.5251 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.598e-05/0.01081, allocations: 10.39 kB / 0.5251 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.01083, allocations: 0 / 0.5251 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.0109, allocations: 11.92 kB / 0.5252 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.01095, allocations: 11.92 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.01095, allocations: 4 kB / 0.5252 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.231e-05/0.01105, allocations: 133.2 kB / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01105, allocations: 0 / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002537/0.0113, allocations: 25.2 kB / 0.5253 GB, free: 12.41 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.0001906/0.01149, allocations: 96.12 kB / 0.5254 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002742/0.01177, allocations: 76.73 kB / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.01177, allocations: 4 kB / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.01187, allocations: 41 kB / 0.5255 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.01215, allocations: 15.94 kB / 0.5255 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.01258, allocations: 169.5 kB / 0.5257 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.766e-05/0.01267, allocations: 77.3 kB / 0.5258 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.569e-05/0.0127, allocations: 9.484 kB / 0.5258 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.01274, allocations: 12.5 kB / 0.5258 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.01274, allocations: 0 / 0.5258 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of Templates: time 0.004241/0.01698, allocations: 1.034 MB / 0.5268 GB, free: 10.93 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: 6.127320594969206]