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.001005/0.001005, allocations: 92.22 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.001519/0.001519, allocations: 169 kB / 23.02 MB, free: 1.555 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.9699/0.9699, allocations: 177.1 MB / 203.4 MB, free: 5.18 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.8245/0.8245, allocations: 154.8 MB / 414.7 MB, free: 396 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 1.623e-06/1.623e-06, allocations: 0 / 0.5206 GB, free: 1.898 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.014e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001226/0.001246, allocations: 0.7351 MB / 0.5213 GB, free: 1.184 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.002299, allocations: 1.128 MB / 0.5224 GB, free: 44 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.002342, allocations: 0 / 0.5224 GB, free: 44 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.056e-05/0.002372, allocations: 4.5 kB / 0.5224 GB, free: 40 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.742e-05/0.00244, allocations: 12.42 kB / 0.5224 GB, free: 28 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.002716, allocations: 60.62 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.067e-05/0.002807, allocations: 71.78 kB / 0.5225 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.002907, allocations: 16.11 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.99e-05/0.002987, allocations: 41.39 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.214e-05/0.003039, allocations: 23.91 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.003059, allocations: 8 kB / 0.5226 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.266e-05/0.003112, allocations: 19.98 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.003134, allocations: 12.89 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.003171, allocations: 23.97 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.003293, allocations: 65.77 kB / 0.5227 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003295, allocations: 0 / 0.5227 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.41e-07/0.003295, allocations: 4 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.003299, allocations: 0 / 0.5228 GB, free: 15.69 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.0003981/0.003697, allocations: 396.4 kB / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.003733, allocations: 8.906 kB / 0.5231 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.003776, allocations: 12.89 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.547e-05/0.003861, allocations: 120.5 kB / 0.5233 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.003873, allocations: 5.125 kB / 0.5233 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.003887, allocations: 4.375 kB / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.004014, allocations: 75.91 kB / 0.5233 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.004025, allocations: 192 / 0.5233 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.004034, allocations: 1.812 kB / 0.5233 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.004044, allocations: 4.125 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.991e-05/0.004074, allocations: 11.98 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.004471, allocations: 304.4 kB / 0.5237 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.956e-05/0.004561, allocations: 43.83 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.004585, allocations: 11.69 kB / 0.5237 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.004609, allocations: 10.94 kB / 0.5237 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.512e-05/0.004684, allocations: 69.25 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.004685, allocations: 3.938 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001817/0.004867, allocations: 81.86 kB / 0.5239 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.004901, allocations: 55.41 kB / 0.5239 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.444e-05/0.004995, allocations: 181.9 kB / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.005008, allocations: 25.7 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.00506, allocations: 142.8 kB / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.005077, allocations: 16.39 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.005117, allocations: 40.11 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.005227, allocations: 496.1 kB / 0.5248 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.734e-05/0.005254, allocations: 12.84 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.569e-05/0.00531, allocations: 77.81 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.135e-05/0.005391, allocations: 92.33 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005393, allocations: 1 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001217/0.005515, allocations: 106.9 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.005527, allocations: 7.938 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.005534, allocations: 9.203 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.005549, allocations: 0 / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.991e-05/0.005639, allocations: 19.98 kB / 0.5251 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.005645, allocations: 0 / 0.5251 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.395e-05/0.005679, allocations: 8.609 kB / 0.5251 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.005689, allocations: 5.531 kB / 0.5251 GB, free: 13.03 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.01e-05/0.005759, allocations: 168.5 kB / 0.5253 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.005771, allocations: 15.89 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.005797, allocations: 9.312 kB / 0.5253 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.005798, allocations: 0 / 0.5253 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.005802, allocations: 0 / 0.5253 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.005806, allocations: 5.016 kB / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005286/0.006334, allocations: 341.3 kB / 0.5256 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.006336, allocations: 2.781 kB / 0.5256 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.608e-05/0.006362, allocations: 7.984 kB / 0.5256 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.006363, allocations: 0 / 0.5256 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.006371, allocations: 4 kB / 0.5256 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.006372, allocations: 0 / 0.5256 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006373, allocations: 0 / 0.5256 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.006488, allocations: 231.8 kB / 0.5259 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.006497, allocations: 11.94 kB / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.006507, allocations: 0.5312 kB / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.27e-05/0.006539, allocations: 5.5 kB / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.006573, allocations: 7.984 kB / 0.5259 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.006579, allocations: 4 kB / 0.5259 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.196e-05/0.006621, allocations: 135.2 kB / 0.526 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006621, allocations: 0.5312 kB / 0.526 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001627/0.006783, allocations: 12 kB / 0.526 GB, free: 12.02 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.0001087/0.006892, allocations: 112 kB / 0.5261 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.006996, allocations: 50.36 kB / 0.5262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.006997, allocations: 0 / 0.5262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.452e-05/0.007032, allocations: 31.55 kB / 0.5262 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.007216, allocations: 18.94 kB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.007497, allocations: 162.7 kB / 0.5264 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.439e-05/0.007531, allocations: 63.34 kB / 0.5264 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.094e-05/0.007552, allocations: 7.984 kB / 0.5265 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.007578, allocations: 14.56 kB / 0.5265 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.007579, allocations: 0 / 0.5265 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of Templates: time 0.002667/0.01025, allocations: 1.03 MB / 0.5275 GB, free: 10.57 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: 4.118428412824869]