Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001431/0.001431, 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.001873/0.001873, allocations: 173 kB / 23.49 MB, free: 1.059 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.078/1.078, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.7888/0.7888, allocations: 154.8 MB / 415.1 MB, free: 0.4922 MB / 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.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 0.5206 GB, free: 2.117 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/3.05e-05, allocations: 4.281 kB / 0.5206 GB, free: 2.113 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001783/0.001813, allocations: 0.7391 MB / 0.5213 GB, free: 1.398 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.00322, allocations: 1.116 MB / 0.5224 GB, free: 276 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.776e-05/0.003277, allocations: 0 / 0.5224 GB, free: 276 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.467e-05/0.003322, allocations: 7.922 kB / 0.5224 GB, free: 268 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.228e-05/0.003414, allocations: 16.88 kB / 0.5224 GB, free: 252 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.003776, allocations: 52.67 kB / 0.5225 GB, free: 200 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.003891, allocations: 79.75 kB / 0.5225 GB, free: 120 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.004012, allocations: 8.188 kB / 0.5226 GB, free: 108 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.004114, allocations: 44.42 kB / 0.5226 GB, free: 64 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.319e-05/0.004167, allocations: 25.12 kB / 0.5226 GB, free: 40 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.004188, allocations: 8 kB / 0.5226 GB, free: 32 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.027e-05/0.004248, allocations: 19.98 kB / 0.5226 GB, free: 12 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.772e-05/0.004296, allocations: 15.97 kB / 0.5227 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.00433, allocations: 20.48 kB / 0.5227 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.004463, allocations: 68.23 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.004466, allocations: 4.672 kB / 0.5228 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004467, allocations: 0 / 0.5228 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.004471, allocations: 1.219 kB / 0.5228 GB, free: 15.91 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.0004238/0.004895, allocations: 392.4 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.004933, allocations: 8.031 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.004984, allocations: 13.52 kB / 0.5231 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.902e-05/0.005083, allocations: 124.5 kB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.005096, allocations: 10.12 kB / 0.5233 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.005109, allocations: 4.375 kB / 0.5233 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.005252, allocations: 70.88 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.005259, allocations: 192 / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.00527, allocations: 10.03 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.00528, allocations: 4.125 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.105e-05/0.005311, allocations: 11.98 kB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.005742, allocations: 305 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.187e-05/0.005833, allocations: 43.05 kB / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.83e-05/0.005862, allocations: 15.69 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.005882, allocations: 4.469 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.764e-05/0.00597, allocations: 69.95 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.005971, allocations: 0 / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001928/0.006164, allocations: 83.09 kB / 0.5239 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.006214, allocations: 55.39 kB / 0.5239 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.282e-05/0.006306, allocations: 177.9 kB / 0.5241 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.006321, allocations: 29.7 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/0.006378, allocations: 148.1 kB / 0.5243 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.006396, allocations: 11.91 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.006439, allocations: 39.3 kB / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.006564, allocations: 0.4884 MB / 0.5248 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.062e-05/0.006595, allocations: 15.44 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-05/0.006654, allocations: 72.2 kB / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.371e-05/0.006748, allocations: 93.73 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.00675, allocations: 0.5625 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001382/0.006888, allocations: 103.4 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.006903, allocations: 4 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.006909, allocations: 5.469 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.006924, allocations: 0 / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.007028, allocations: 23.98 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.007036, allocations: 7.875 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.602e-05/0.007072, allocations: 8.5 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.007085, allocations: 9.469 kB / 0.5251 GB, free: 13.24 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.41e-05/0.007179, allocations: 171 kB / 0.5253 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.007194, allocations: 11.89 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.007222, allocations: 10.94 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.007224, allocations: 0 / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.007229, allocations: 4 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.007233, allocations: 0 / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.007506, allocations: 345.6 kB / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.007508, allocations: 0 / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.7e-05/0.007535, allocations: 7.984 kB / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.007537, allocations: 2.75 kB / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.007544, allocations: 4 kB / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.007546, allocations: 0 / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.007546, allocations: 0 / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.00767, allocations: 223.8 kB / 0.5259 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.007679, allocations: 7.953 kB / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.007691, allocations: 3.984 kB / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.007725, allocations: 5.156 kB / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.007763, allocations: 3.984 kB / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.00777, allocations: 8 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.387e-05/0.007814, allocations: 132.1 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007814, allocations: 0 / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001769/0.007991, allocations: 16 kB / 0.526 GB, free: 12.24 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.0001474/0.008139, allocations: 112.1 kB / 0.5261 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001295/0.008268, allocations: 53.38 kB / 0.5262 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.008269, allocations: 0 / 0.5262 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.789e-05/0.008307, allocations: 30.11 kB / 0.5262 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.008516, allocations: 11.94 kB / 0.5262 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.008827, allocations: 162.7 kB / 0.5264 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.765e-05/0.008864, allocations: 59.34 kB / 0.5264 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.422e-05/0.008888, allocations: 15 kB / 0.5265 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.008917, allocations: 20.48 kB / 0.5265 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of SimCode: time 8.42e-07/0.008918, allocations: 0 / 0.5265 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.003053/0.01197, allocations: 1.017 MB / 0.5275 GB, free: 10.77 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7874725081492215]