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.0009097/0.0009097, allocations: 69.11 kB / 20.65 MB, free: 3.844 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.0009336/0.0009336, allocations: 169 kB / 24.06 MB, free: 448 kB / 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.8963/0.8963, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.749/0.749, allocations: 154.6 MB / 415.6 MB, free: 0.5508 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 2.685e-06/2.685e-06, allocations: 0 / 0.5215 GB, free: 1.898 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.97e-05, allocations: 2.312 kB / 0.5216 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001434/0.001463, allocations: 0.7226 MB / 0.5223 GB, free: 1.195 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.002482, allocations: 1.125 MB / 0.5234 GB, free: 60 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.279e-05/0.002524, allocations: 1 kB / 0.5234 GB, free: 60 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.723e-05/0.002552, allocations: 3.938 kB / 0.5234 GB, free: 56 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.58e-05/0.002617, allocations: 8.438 kB / 0.5234 GB, free: 48 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.002878, allocations: 64.7 kB / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.002983, allocations: 71.69 kB / 0.5235 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.557e-05/0.003068, allocations: 12.17 kB / 0.5235 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.943e-05/0.003148, allocations: 49.48 kB / 0.5236 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.196e-05/0.00319, allocations: 19.97 kB / 0.5236 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.003205, allocations: 11.94 kB / 0.5236 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.995e-05/0.003255, allocations: 15.98 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.003277, allocations: 16.94 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.003302, allocations: 19.92 kB / 0.5236 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.003413, allocations: 63.73 kB / 0.5237 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.003416, allocations: 6.156 kB / 0.5237 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003417, allocations: 0 / 0.5237 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.003421, allocations: 0 / 0.5237 GB, free: 15.7 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.0003511/0.003772, allocations: 396.4 kB / 0.5241 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.003804, allocations: 12.02 kB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.00384, allocations: 9.641 kB / 0.5241 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.368e-05/0.003923, allocations: 124.5 kB / 0.5242 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.003935, allocations: 1.094 kB / 0.5242 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.003945, allocations: 16.3 kB / 0.5242 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.004048, allocations: 71.72 kB / 0.5243 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.004055, allocations: 192 / 0.5243 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.004061, allocations: 1.812 kB / 0.5243 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.004066, allocations: 4.125 kB / 0.5243 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.962e-05/0.004086, allocations: 11.98 kB / 0.5243 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.004402, allocations: 281 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.6e-05/0.004478, allocations: 39.84 kB / 0.5246 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.855e-05/0.004496, allocations: 15.67 kB / 0.5246 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.004512, allocations: 7.125 kB / 0.5247 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.116e-05/0.004583, allocations: 73.12 kB / 0.5247 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.004584, allocations: 0 / 0.5247 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001389/0.004723, allocations: 73.64 kB / 0.5248 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.004755, allocations: 51.41 kB / 0.5248 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.409e-05/0.00484, allocations: 185.8 kB / 0.525 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.004852, allocations: 29.7 kB / 0.525 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.004897, allocations: 142.8 kB / 0.5252 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.004914, allocations: 20.38 kB / 0.5252 GB, free: 14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.004949, allocations: 32.23 kB / 0.5252 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.005052, allocations: 0.4923 MB / 0.5257 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.005072, allocations: 12.64 kB / 0.5257 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.513e-05/0.005117, allocations: 76.95 kB / 0.5258 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.663e-05/0.005183, allocations: 88.53 kB / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.005185, allocations: 0 / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001087/0.005294, allocations: 99.72 kB / 0.526 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.005305, allocations: 5.719 kB / 0.526 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.00531, allocations: 4 kB / 0.526 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.005319, allocations: 1.219 kB / 0.526 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.058e-05/0.0054, allocations: 19.98 kB / 0.526 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.005405, allocations: 8.234 kB / 0.526 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/0.005437, allocations: 12.62 kB / 0.526 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.005445, allocations: 5.625 kB / 0.526 GB, free: 13.08 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.84e-05/0.005513, allocations: 168.5 kB / 0.5262 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.005524, allocations: 11.89 kB / 0.5262 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.005548, allocations: 12.42 kB / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.00555, allocations: 1.062 kB / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.005551, allocations: 0 / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.005554, allocations: 4.844 kB / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.005763, allocations: 317.9 kB / 0.5265 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.005764, allocations: 0 / 0.5265 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.617e-05/0.00579, allocations: 9.672 kB / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.005792, allocations: 7.938 kB / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-06/0.005796, allocations: 0 / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.005797, allocations: 0 / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005797, allocations: 1.438 kB / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.005897, allocations: 219.8 kB / 0.5268 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-06/0.005905, allocations: 7.953 kB / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.005916, allocations: 3.984 kB / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.195e-05/0.005948, allocations: 2.75 kB / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.528e-05/0.005973, allocations: 7.984 kB / 0.5268 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.005978, allocations: 4 kB / 0.5268 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.644e-05/0.006014, allocations: 135.2 kB / 0.5269 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.006014, allocations: 0 / 0.5269 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001583/0.006173, allocations: 16 kB / 0.5269 GB, free: 12.11 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.0001097/0.006282, allocations: 105.4 kB / 0.527 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.893e-05/0.006371, allocations: 51.52 kB / 0.5271 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.006373, allocations: 0 / 0.5271 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.831e-05/0.006401, allocations: 25.95 kB / 0.5271 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.006587, allocations: 15.94 kB / 0.5271 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/0.006872, allocations: 154.7 kB / 0.5273 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.091e-05/0.006913, allocations: 60.22 kB / 0.5273 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.778e-05/0.006941, allocations: 16.64 kB / 0.5273 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.006999, allocations: 82.19 kB / 0.5274 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.007, allocations: 3.438 kB / 0.5274 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.002753/0.009753, allocations: 1.131 MB / 0.5285 GB, free: 10.51 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.493271738756448]