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.00129/0.00129, allocations: 75.48 kB / 19.16 MB, free: 2.566 MB / 14.72 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.001373/0.001373, allocations: 167.7 kB / 22.43 MB, free: 5.305 MB / 14.72 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.391/1.391, allocations: 177.2 MB / 202.8 MB, free: 9.199 MB / 190.1 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-531:190: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-531:198: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 1.188/1.188, allocations: 155 MB / 414.2 MB, free: 4.941 MB / 382.1 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 178] 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 65.59 kB / 0.6191 GB, free: 4.156 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5441/0.5461, allocations: 102 MB / 0.7188 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001848/0.5479, allocations: 0.7223 MB / 0.7195 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.5491, allocations: 1.097 MB / 0.7205 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/0.5491, allocations: 0 / 0.7205 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.5491, allocations: 13.8 kB / 0.7205 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.844e-05/0.5492, allocations: 14.7 kB / 0.7206 GB, free: 496 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.5495, allocations: 51.52 kB / 0.7206 GB, free: 468 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.5496, allocations: 73.78 kB / 0.7207 GB, free: 432 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.5497, allocations: 16.5 kB / 0.7207 GB, free: 420 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.057e-05/0.5498, allocations: 42.62 kB / 0.7207 GB, free: 400 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.314e-05/0.5499, allocations: 28.58 kB / 0.7208 GB, free: 388 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.5499, allocations: 5.562 kB / 0.7208 GB, free: 388 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.545e-05/0.5499, allocations: 18.86 kB / 0.7208 GB, free: 384 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.419e-05/0.55, allocations: 18.06 kB / 0.7208 GB, free: 372 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.55, allocations: 30.39 kB / 0.7208 GB, free: 352 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.5501, allocations: 87.05 kB / 0.7209 GB, free: 316 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5501, allocations: 1.188 kB / 0.7209 GB, free: 316 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5502, allocations: 0 / 0.7209 GB, free: 316 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.5502, allocations: 0 / 0.7209 GB, free: 316 kB / 0.6075 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.0004808/0.5506, allocations: 303.5 kB / 0.7212 GB, free: 24 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.5507, allocations: 11.28 kB / 0.7212 GB, free: 24 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.5507, allocations: 8.859 kB / 0.7212 GB, free: 20 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.5509, allocations: 128.5 kB / 0.7213 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.5509, allocations: 2.438 kB / 0.7213 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.5509, allocations: 8.562 kB / 0.7214 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.5511, allocations: 64.72 kB / 0.7214 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.5511, allocations: 5.312 kB / 0.7214 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.5511, allocations: 4 kB / 0.7214 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.5511, allocations: 1.219 kB / 0.7214 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.5513, allocations: 51.59 kB / 0.7215 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006023/0.5519, allocations: 255.4 kB / 0.7217 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.5521, allocations: 56.55 kB / 0.7218 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.5522, allocations: 27.58 kB / 0.7218 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.5522, allocations: 1.828 kB / 0.7218 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.5524, allocations: 78.59 kB / 0.7219 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.5524, allocations: 0 / 0.7219 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=7): time 0.0004551/0.5529, allocations: 132.8 kB / 0.722 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.553, allocations: 57.03 kB / 0.7221 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.5531, allocations: 127 kB / 0.7222 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.5531, allocations: 26.95 kB / 0.7222 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.5532, allocations: 93.67 kB / 0.7223 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.5532, allocations: 12.11 kB / 0.7223 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.5532, allocations: 29.59 kB / 0.7223 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.5534, allocations: 324.3 kB / 0.7226 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.5535, allocations: 26.91 kB / 0.7227 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.5536, allocations: 75.58 kB / 0.7227 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.5539, allocations: 108.3 kB / 0.7228 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5539, allocations: 4 kB / 0.7228 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003182/0.5542, allocations: 131.6 kB / 0.723 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.5542, allocations: 5.938 kB / 0.723 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5542, allocations: 1.125 kB / 0.723 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.5542, allocations: 3.188 kB / 0.723 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.5544, allocations: 22.19 kB / 0.723 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.5544, allocations: 9.875 kB / 0.723 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.943e-05/0.5545, allocations: 20.89 kB / 0.723 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.5545, allocations: 4.281 kB / 0.723 GB, free: 14.53 MB / 0.6231 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 0.0001038/0.5546, allocations: 123 kB / 0.7232 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.5546, allocations: 8.094 kB / 0.7232 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.5546, allocations: 10.81 kB / 0.7232 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5546, allocations: 1.125 kB / 0.7232 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.5547, allocations: 0.9688 kB / 0.7232 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.5547, allocations: 0.7031 kB / 0.7232 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004581/0.5551, allocations: 320.6 kB / 0.7235 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5551, allocations: 0.9688 kB / 0.7235 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.794e-05/0.5552, allocations: 16.23 kB / 0.7235 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.5552, allocations: 5.141 kB / 0.7235 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.5552, allocations: 0.6562 kB / 0.7235 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5552, allocations: 1.188 kB / 0.7235 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5552, allocations: 0 / 0.7235 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.5555, allocations: 211.1 kB / 0.7237 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.5555, allocations: 9.641 kB / 0.7237 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.5555, allocations: 2.391 kB / 0.7237 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.599e-05/0.5556, allocations: 10.83 kB / 0.7237 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.5556, allocations: 5.172 kB / 0.7237 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.5557, allocations: 5.25 kB / 0.7237 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.779e-05/0.5557, allocations: 97.02 kB / 0.7238 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.5557, allocations: 0 / 0.7238 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002608/0.556, allocations: 21.83 kB / 0.7239 GB, free: 13.85 MB / 0.6231 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.0001354/0.5561, allocations: 103.1 kB / 0.7239 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002901/0.5564, allocations: 84.3 kB / 0.724 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5564, allocations: 1.25 kB / 0.724 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.5565, allocations: 29.23 kB / 0.7241 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.5568, allocations: 12.48 kB / 0.7241 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.5572, allocations: 163.7 kB / 0.7242 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.357e-05/0.5572, allocations: 76.81 kB / 0.7243 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.373e-05/0.5573, allocations: 9.188 kB / 0.7243 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.5573, allocations: 13.48 kB / 0.7243 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.5573, allocations: 0 / 0.7243 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.004512/0.5618, allocations: 1.025 MB / 0.7253 GB, free: 13.37 MB / 0.6231 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.057133123278618] Failed to read output from testmodel.py, exit status != 0: 0.5701441876590252 0.585771999 0.03253855 Calling exit ...