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.001089/0.001089, allocations: 85.27 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001226/0.001226, allocations: 165 kB / 23.27 MB, free: 1.219 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.957/0.957, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7612/0.7612, allocations: 154.9 MB / 415.1 MB, free: 248 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 179] 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 4.167e-06/4.167e-06, allocations: 3.984 kB / 0.5211 GB, free: 1.488 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/3.16e-05, allocations: 3.969 kB / 0.5211 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.004912/0.004944, allocations: 0.729 MB / 0.5219 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.006385, allocations: 1.118 MB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.334e-05/0.006438, allocations: 1.281 kB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.587e-05/0.006474, allocations: 11.86 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.265e-05/0.006557, allocations: 16.42 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.006882, allocations: 52.48 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.006993, allocations: 71.77 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003118/0.01011, allocations: 13.41 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.01023, allocations: 51.81 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.332e-05/0.01028, allocations: 23.97 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.0103, allocations: 4 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.985e-05/0.01037, allocations: 20.55 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/0.01039, allocations: 17.8 kB / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.01042, allocations: 23.91 kB / 0.5232 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.01056, allocations: 59.8 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.01057, allocations: 0 / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.653e-06/0.01057, allocations: 0 / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.01057, allocations: 1.719 kB / 0.5233 GB, free: 15.29 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.0004333/0.01101, allocations: 396.4 kB / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.01105, allocations: 12.02 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.01109, allocations: 12.89 kB / 0.5237 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.212e-05/0.01118, allocations: 121.8 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.01119, allocations: 8.375 kB / 0.5238 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.01121, allocations: 4.375 kB / 0.5238 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.01133, allocations: 62.94 kB / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.01134, allocations: 0.7188 kB / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.01135, allocations: 1.125 kB / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.01136, allocations: 4.125 kB / 0.5239 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.373e-05/0.01138, allocations: 17.39 kB / 0.5239 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.01179, allocations: 284.3 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.01191, allocations: 44.44 kB / 0.5242 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.93e-05/0.01194, allocations: 15.67 kB / 0.5242 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.01197, allocations: 4 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/0.01208, allocations: 76.59 kB / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.01208, allocations: 0 / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001783/0.01226, allocations: 69.64 kB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.01229, allocations: 55.34 kB / 0.5244 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.01262, allocations: 189.3 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.01263, allocations: 29.64 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.01271, allocations: 146.8 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.01273, allocations: 11.89 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.01279, allocations: 43.34 kB / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.003147/0.01594, allocations: 496.7 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.271e-05/0.01597, allocations: 12.55 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.738e-05/0.01603, allocations: 65.8 kB / 0.5254 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.185e-05/0.01612, allocations: 92.11 kB / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01612, allocations: 1.531 kB / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001507/0.01627, allocations: 95.88 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.01629, allocations: 8 kB / 0.5256 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.0163, allocations: 0 / 0.5256 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.01631, allocations: 4 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.01642, allocations: 23.92 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.01643, allocations: 10.73 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.68e-05/0.01648, allocations: 4 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.01649, allocations: 4 kB / 0.5256 GB, free: 12.68 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 9.023e-05/0.01658, allocations: 168.5 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.01659, allocations: 11.89 kB / 0.5258 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.01663, allocations: 16.42 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01663, allocations: 0 / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.01663, allocations: 5.156 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01664, allocations: 0 / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.01692, allocations: 310 kB / 0.5261 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01692, allocations: 0.9375 kB / 0.5261 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.88e-05/0.01696, allocations: 11.92 kB / 0.5261 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.01696, allocations: 0.9375 kB / 0.5261 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.01697, allocations: 0 / 0.5261 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.01697, allocations: 0 / 0.5261 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01697, allocations: 8.594 kB / 0.5261 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.01711, allocations: 224.2 kB / 0.5263 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.193e-05/0.01713, allocations: 9.078 kB / 0.5264 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.01714, allocations: 3.984 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.46e-05/0.01719, allocations: 6.438 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.01723, allocations: 11.98 kB / 0.5264 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.01724, allocations: 4 kB / 0.5264 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.575e-05/0.01729, allocations: 131.2 kB / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01729, allocations: 0 / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002465/0.01753, allocations: 12 kB / 0.5265 GB, free: 11.7 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.0001624/0.01769, allocations: 118.2 kB / 0.5266 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.0178, allocations: 43.59 kB / 0.5267 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.0178, allocations: 0 / 0.5267 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.295e-05/0.01785, allocations: 23.67 kB / 0.5267 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.01812, allocations: 18.97 kB / 0.5267 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.01842, allocations: 170.6 kB / 0.5269 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.914e-05/0.01846, allocations: 59.34 kB / 0.5269 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.818e-05/0.01849, allocations: 4 kB / 0.5269 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.589e-05/0.01856, allocations: 86.19 kB / 0.527 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.01856, allocations: 0 / 0.527 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of Templates: time 0.009458/0.02801, allocations: 1.127 MB / 0.5281 GB, free: 10.11 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: 3.4961114902980626]