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.001117/0.001117, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.00151/0.00151, allocations: 169.2 kB / 23.19 MB, free: 1.367 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.9149/0.9149, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.7294/0.7294, allocations: 154.9 MB / 414.9 MB, free: 0.5156 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: 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.0009993/0.0009993, allocations: 77.56 kB / 0.6199 GB, free: 12.78 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.5093/0.5103, allocations: 102 MB / 0.7195 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001405/0.5117, allocations: 0.7216 MB / 0.7202 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009708/0.5127, allocations: 1.095 MB / 0.7212 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.5128, allocations: 1.5 kB / 0.7212 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.5128, allocations: 4.969 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.09e-05/0.5128, allocations: 10.16 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.5131, allocations: 60.25 kB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.662e-05/0.5132, allocations: 65.67 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.521e-05/0.5133, allocations: 19.38 kB / 0.7214 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.942e-05/0.5134, allocations: 51.34 kB / 0.7214 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.971e-05/0.5134, allocations: 28.28 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.5135, allocations: 6.25 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.163e-05/0.5135, allocations: 18.84 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.5135, allocations: 17.39 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.5136, allocations: 26.84 kB / 0.7215 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.5137, allocations: 88.02 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5137, allocations: 0 / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5137, allocations: 0 / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.5137, 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.0004119/0.5141, allocations: 307.9 kB / 0.7219 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.5142, allocations: 9.625 kB / 0.7219 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.5142, allocations: 14.42 kB / 0.7219 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.705e-05/0.5143, allocations: 119 kB / 0.722 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.5143, allocations: 7.125 kB / 0.722 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.5143, allocations: 4.375 kB / 0.722 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.5145, allocations: 69.61 kB / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.5145, allocations: 3.938 kB / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.5145, allocations: 0 / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.5145, allocations: 6.938 kB / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.5146, allocations: 42.7 kB / 0.7222 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.5151, allocations: 258.4 kB / 0.7224 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.5152, allocations: 55.31 kB / 0.7225 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/0.5153, allocations: 26.97 kB / 0.7225 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.5153, allocations: 6.281 kB / 0.7225 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.5154, allocations: 81.92 kB / 0.7226 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.5155, allocations: 0 / 0.7226 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002769/0.5157, allocations: 125.2 kB / 0.7227 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/0.5157, allocations: 53.08 kB / 0.7227 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.592e-05/0.5158, allocations: 127.8 kB / 0.7229 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/0.5158, allocations: 31.56 kB / 0.7229 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.5159, allocations: 96.33 kB / 0.723 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.5159, allocations: 15.59 kB / 0.723 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.5159, allocations: 26.09 kB / 0.723 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.957e-05/0.5159, allocations: 320 kB / 0.7233 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.881e-05/0.516, allocations: 30.16 kB / 0.7234 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.346e-05/0.5161, allocations: 80.19 kB / 0.7234 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.5162, allocations: 115.7 kB / 0.7235 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5162, allocations: 1.062 kB / 0.7236 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001844/0.5164, allocations: 135.3 kB / 0.7237 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.5164, allocations: 5.469 kB / 0.7237 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5164, allocations: 2.125 kB / 0.7237 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.5164, allocations: 2.875 kB / 0.7237 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.401e-05/0.5165, allocations: 16.73 kB / 0.7237 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.5165, allocations: 3.406 kB / 0.7237 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.366e-05/0.5166, allocations: 19.19 kB / 0.7237 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.5166, allocations: 4.938 kB / 0.7237 GB, free: 20.25 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.49e-05/0.5166, allocations: 129.9 kB / 0.7239 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.5167, allocations: 7.766 kB / 0.7239 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.5167, allocations: 11.5 kB / 0.7239 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5167, allocations: 4.828 kB / 0.7239 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.5167, allocations: 0 / 0.7239 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.128e-06/0.5167, allocations: 3.875 kB / 0.7239 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.5167, allocations: 2.281 kB / 0.7239 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.349e-05/0.5167, allocations: 5.422 kB / 0.7239 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.5168, allocations: 12.61 kB / 0.7239 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001648/0.5169, allocations: 196 kB / 0.7241 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001495/0.5171, allocations: 275.4 kB / 0.7244 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.986e-05/0.5171, allocations: 27.28 kB / 0.7244 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.976e-05/0.5172, allocations: 93.23 kB / 0.7245 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of Backend: time 2.21e-07/0.5172, allocations: 0 / 0.7245 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.5175, allocations: 131.1 kB / 0.7246 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003481/0.5179, allocations: 0.6033 MB / 0.7252 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of Templates: time 0.002876/0.5207, allocations: 1.158 MB / 0.7263 GB, free: 18.84 MB / 0.6355 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: 4.2222673238720745] Failed to read output from testmodel.py, exit status != 0: 0.5267052638810128 0.540766065 0.024394080000000002 Calling exit ...