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.001328/0.001328, allocations: 84.44 kB / 19.91 MB, free: 4 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.001844/0.001844, allocations: 169.2 kB / 23.19 MB, free: 1.375 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.9294/0.9294, allocations: 177.2 MB / 203.6 MB, free: 5.762 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-531:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7312/0.7312, allocations: 154.9 MB / 414.9 MB, free: 0.5039 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.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: 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.001216/0.001216, allocations: 75.89 kB / 0.6199 GB, free: 12.74 MB / 0.5886 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.4745/0.4757, allocations: 102 MB / 0.7195 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001625/0.4773, allocations: 0.7192 MB / 0.7202 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.4783, allocations: 1.092 MB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.4784, allocations: 1.156 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.511e-05/0.4784, allocations: 5.922 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.773e-05/0.4785, allocations: 18.58 kB / 0.7212 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.4788, allocations: 54.2 kB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.479, allocations: 74.23 kB / 0.7214 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.4791, allocations: 15.55 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.664e-05/0.4792, allocations: 51.41 kB / 0.7214 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.336e-05/0.4792, allocations: 27.89 kB / 0.7215 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.4792, allocations: 5.562 kB / 0.7215 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.465e-05/0.4793, allocations: 15.55 kB / 0.7215 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/0.4793, allocations: 22.12 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.4793, allocations: 26.83 kB / 0.7215 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.4795, allocations: 87.09 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4795, allocations: 1.062 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4795, allocations: 0 / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.4795, allocations: 0 / 0.7216 GB, free: 22.02 MB / 0.6355 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.000403/0.4799, allocations: 311.5 kB / 0.7219 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.4799, allocations: 14.19 kB / 0.7219 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.48, allocations: 8.562 kB / 0.7219 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.148e-05/0.48, allocations: 124.8 kB / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.4801, allocations: 2.438 kB / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.4801, allocations: 4.312 kB / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.4802, allocations: 69.22 kB / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.4803, allocations: 3.938 kB / 0.7221 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.4803, allocations: 5.094 kB / 0.7221 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4803, allocations: 1.156 kB / 0.7221 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.803e-05/0.4804, allocations: 48.05 kB / 0.7222 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.4808, allocations: 258.6 kB / 0.7224 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.4809, allocations: 54.89 kB / 0.7225 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.253e-05/0.4809, allocations: 26.56 kB / 0.7225 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.481, allocations: 1.938 kB / 0.7225 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.4811, allocations: 87.88 kB / 0.7226 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.4811, allocations: 0 / 0.7226 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002837/0.4814, allocations: 123.3 kB / 0.7227 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.4814, allocations: 53.03 kB / 0.7228 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.571e-05/0.4815, allocations: 124.4 kB / 0.7229 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.4815, allocations: 27.8 kB / 0.7229 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/0.4815, allocations: 92.5 kB / 0.723 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.4815, allocations: 19.55 kB / 0.723 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.4816, allocations: 30.64 kB / 0.723 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.199e-05/0.4816, allocations: 319.8 kB / 0.7233 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.247e-05/0.4817, allocations: 26.34 kB / 0.7234 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.492e-05/0.4817, allocations: 80.39 kB / 0.7234 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.4819, allocations: 111.9 kB / 0.7236 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4819, allocations: 4 kB / 0.7236 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001876/0.482, allocations: 143 kB / 0.7237 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.4821, allocations: 6.141 kB / 0.7237 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4821, allocations: 2.125 kB / 0.7237 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.4821, allocations: 2.188 kB / 0.7237 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.186e-05/0.4822, allocations: 17.45 kB / 0.7237 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.4822, allocations: 3.219 kB / 0.7237 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.477e-05/0.4822, allocations: 20.52 kB / 0.7237 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.4822, allocations: 4.375 kB / 0.7237 GB, free: 20.23 MB / 0.6355 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 5.194e-05/0.4823, allocations: 128.8 kB / 0.7239 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-06/0.4823, allocations: 11.58 kB / 0.7239 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.4823, allocations: 10.72 kB / 0.7239 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4823, allocations: 1.984 kB / 0.7239 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4823, allocations: 0 / 0.7239 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.4823, allocations: 2.906 kB / 0.7239 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.4823, allocations: 1.516 kB / 0.7239 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.438e-05/0.4824, allocations: 6.859 kB / 0.7239 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.4824, allocations: 12.75 kB / 0.7239 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001612/0.4826, allocations: 179.1 kB / 0.7241 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001542/0.4827, allocations: 284.1 kB / 0.7244 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.183e-05/0.4828, allocations: 27.58 kB / 0.7244 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.727e-05/0.4828, allocations: 92.05 kB / 0.7245 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of Backend: time 1.5e-07/0.4828, allocations: 0 / 0.7245 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003535/0.4832, allocations: 131 kB / 0.7246 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003477/0.4835, allocations: 0.6024 MB / 0.7252 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of Templates: time 0.002973/0.4865, allocations: 1.165 MB / 0.7263 GB, free: 18.85 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.185213366989046] Failed to read output from testmodel.py, exit status != 0: 0.4928610969800502 0.501130492 0.019852011000000003 Calling exit ...