Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.001056/0.001056, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001472/0.001472, allocations: 173 kB / 23.49 MB, free: 1.055 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.051/1.051, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.8056/0.8056, allocations: 154.8 MB / 415.1 MB, free: 496 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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.5206 GB, free: 2.246 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.892e-05, allocations: 5.594 kB / 0.5206 GB, free: 2.242 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001829/0.001858, allocations: 0.7453 MB / 0.5213 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.003004, allocations: 1.109 MB / 0.5224 GB, free: 408 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.68e-05/0.003051, allocations: 0 / 0.5224 GB, free: 408 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.00308, allocations: 11.86 kB / 0.5224 GB, free: 396 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.06e-05/0.00315, allocations: 21.2 kB / 0.5224 GB, free: 376 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.003437, allocations: 47.77 kB / 0.5225 GB, free: 328 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003584/0.003796, allocations: 79.7 kB / 0.5226 GB, free: 248 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.003914, allocations: 16.95 kB / 0.5226 GB, free: 228 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.732e-05/0.004011, allocations: 35.91 kB / 0.5226 GB, free: 192 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.339e-05/0.004065, allocations: 25.7 kB / 0.5226 GB, free: 168 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.004085, allocations: 11.94 kB / 0.5226 GB, free: 156 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.004e-05/0.004145, allocations: 19.98 kB / 0.5227 GB, free: 136 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.666e-05/0.004172, allocations: 15.92 kB / 0.5227 GB, free: 120 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.004209, allocations: 23.97 kB / 0.5227 GB, free: 96 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.00434, allocations: 53.97 kB / 0.5228 GB, free: 44 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.004345, allocations: 7.984 kB / 0.5228 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004346, allocations: 0 / 0.5228 GB, free: 36 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.004351, allocations: 0 / 0.5228 GB, free: 36 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.0004421/0.004793, allocations: 396.5 kB / 0.5231 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.004831, allocations: 9.5 kB / 0.5231 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.004875, allocations: 12.89 kB / 0.5232 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.619e-05/0.004962, allocations: 124.4 kB / 0.5233 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.004974, allocations: 4.375 kB / 0.5233 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.004986, allocations: 5.344 kB / 0.5233 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.005113, allocations: 70.88 kB / 0.5234 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.005119, allocations: 1.156 kB / 0.5234 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.00513, allocations: 4.375 kB / 0.5234 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.005137, allocations: 4.125 kB / 0.5234 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.9e-05/0.005166, allocations: 16.92 kB / 0.5234 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.005583, allocations: 308.2 kB / 0.5237 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.128e-05/0.005674, allocations: 43.73 kB / 0.5237 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.0057, allocations: 16.94 kB / 0.5237 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.005724, allocations: 3.938 kB / 0.5237 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.099e-05/0.005805, allocations: 65.17 kB / 0.5238 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.005806, allocations: 0.5938 kB / 0.5238 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001984/0.006004, allocations: 77.64 kB / 0.5239 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.006042, allocations: 61.11 kB / 0.5239 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.112e-05/0.006134, allocations: 177.9 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.006147, allocations: 29.7 kB / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.006349, allocations: 142.8 kB / 0.5243 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.006372, allocations: 25.55 kB / 0.5243 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.006409, allocations: 31.36 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.006531, allocations: 0.4884 MB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.818e-05/0.006559, allocations: 8 kB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.571e-05/0.006615, allocations: 77.73 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.357e-05/0.006708, allocations: 101.4 kB / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.00671, allocations: 0 / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001227/0.006833, allocations: 99.41 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.006846, allocations: 4 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.006852, allocations: 4 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.006864, allocations: 0 / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.193e-05/0.006956, allocations: 30.64 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.006962, allocations: 0 / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.444e-05/0.006997, allocations: 12 kB / 0.5251 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.007006, allocations: 4 kB / 0.5251 GB, free: 13.36 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.267e-05/0.007079, allocations: 170.5 kB / 0.5253 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.007092, allocations: 11.89 kB / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.007115, allocations: 11.19 kB / 0.5253 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.007118, allocations: 4 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.007121, allocations: 0 / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.007124, allocations: 0 / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.007354, allocations: 341.6 kB / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.007356, allocations: 0 / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.558e-05/0.007381, allocations: 11.97 kB / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.007384, allocations: 4.938 kB / 0.5257 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.007391, allocations: 0 / 0.5257 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.007392, allocations: 4.016 kB / 0.5257 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.007394, allocations: 4.922 kB / 0.5257 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.007504, allocations: 219.9 kB / 0.5259 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-06/0.007511, allocations: 8.891 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.007523, allocations: 3.984 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.338e-05/0.007556, allocations: 4 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/0.007591, allocations: 5.266 kB / 0.5259 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-06/0.007599, allocations: 8 kB / 0.5259 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.337e-05/0.007643, allocations: 137.6 kB / 0.526 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007643, allocations: 1.562 kB / 0.526 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001606/0.007803, allocations: 16 kB / 0.526 GB, free: 12.36 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.0001179/0.007921, allocations: 103.8 kB / 0.5261 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.008026, allocations: 48.25 kB / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.008027, allocations: 0.5938 kB / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.4e-05/0.008061, allocations: 29.08 kB / 0.5262 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.008254, allocations: 17.38 kB / 0.5262 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.008545, allocations: 177 kB / 0.5264 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.285e-05/0.008588, allocations: 59.34 kB / 0.5265 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.203e-05/0.00861, allocations: 4 kB / 0.5265 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/0.008636, allocations: 16.48 kB / 0.5265 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.008636, allocations: 0 / 0.5265 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of Templates: time 0.002716/0.01135, allocations: 1.024 MB / 0.5275 GB, free: 10.91 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7912910780869424]