Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001025/0.001025, 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.001202/0.001202, allocations: 173.2 kB / 23.2 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.9342/0.9342, allocations: 177.2 MB / 203.6 MB, free: 5.758 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-531:686: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-531:694: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.7421/0.7421, allocations: 154.7 MB / 414.7 MB, free: 0.7695 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.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.001019/0.001019, allocations: 67.91 kB / 0.6196 GB, free: 13.14 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5111/0.5121, allocations: 102 MB / 0.7191 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001585/0.5137, allocations: 0.7257 MB / 0.7198 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.5148, allocations: 1.093 MB / 0.7209 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.807e-05/0.5149, allocations: 5 kB / 0.7209 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.66e-05/0.5149, allocations: 4.641 kB / 0.7209 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.099e-05/0.515, allocations: 15.27 kB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.5154, allocations: 54.69 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.5155, allocations: 74.08 kB / 0.721 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.5156, allocations: 16.16 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.88e-05/0.5157, allocations: 50.48 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.72e-05/0.5158, allocations: 24.36 kB / 0.7211 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.5158, allocations: 5.531 kB / 0.7211 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.627e-05/0.5158, allocations: 15.25 kB / 0.7212 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.5159, allocations: 21.72 kB / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.5159, allocations: 27.77 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.5161, allocations: 86.59 kB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5161, allocations: 0 / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5161, allocations: 9 kB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.5161, allocations: 0 / 0.7213 GB, free: 22.21 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.0004113/0.5165, allocations: 302.9 kB / 0.7216 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.5165, allocations: 9.641 kB / 0.7216 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.5166, allocations: 13.17 kB / 0.7216 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.643e-05/0.5166, allocations: 120.1 kB / 0.7217 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.5166, allocations: 2.531 kB / 0.7217 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.5167, allocations: 3.719 kB / 0.7217 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.5168, allocations: 68.97 kB / 0.7218 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.5168, allocations: 9.062 kB / 0.7218 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.5168, allocations: 4.516 kB / 0.7218 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.5168, allocations: 1.062 kB / 0.7218 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.42e-05/0.5169, allocations: 48.23 kB / 0.7218 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.5173, allocations: 254.8 kB / 0.7221 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.5174, allocations: 59.09 kB / 0.7221 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/0.5175, allocations: 35.47 kB / 0.7222 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.5175, allocations: 1.25 kB / 0.7222 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.5176, allocations: 82.59 kB / 0.7223 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.5176, allocations: 0 / 0.7223 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003073/0.518, allocations: 128.6 kB / 0.7224 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.518, allocations: 53.59 kB / 0.7224 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.121e-05/0.518, allocations: 126.7 kB / 0.7226 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.5181, allocations: 26.7 kB / 0.7226 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.5181, allocations: 97.89 kB / 0.7227 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.5181, allocations: 11.5 kB / 0.7227 GB, free: 21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.5182, allocations: 29.7 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.38e-05/0.5182, allocations: 319.9 kB / 0.723 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/0.5183, allocations: 27.45 kB / 0.723 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.881e-05/0.5183, allocations: 71.06 kB / 0.7231 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.5185, allocations: 116.5 kB / 0.7232 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5185, allocations: 0 / 0.7232 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002764/0.5188, allocations: 135.5 kB / 0.7234 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.5188, allocations: 5.625 kB / 0.7234 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.5188, allocations: 2.891 kB / 0.7234 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.5188, allocations: 2.219 kB / 0.7234 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.564e-05/0.5189, allocations: 21.06 kB / 0.7234 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.5189, allocations: 3.297 kB / 0.7234 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.396e-05/0.519, allocations: 19.69 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.519, allocations: 9.547 kB / 0.7234 GB, free: 20.43 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.631e-05/0.519, allocations: 121.6 kB / 0.7235 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.5191, allocations: 11.06 kB / 0.7235 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.398e-05/0.5191, allocations: 14.16 kB / 0.7236 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.5191, allocations: 0.75 kB / 0.7236 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5191, allocations: 5.344 kB / 0.7236 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.5191, allocations: 2.188 kB / 0.7236 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.5191, allocations: 6.047 kB / 0.7236 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.453e-05/0.5191, allocations: 7.328 kB / 0.7236 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.5192, allocations: 16.66 kB / 0.7236 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001592/0.5193, allocations: 179.5 kB / 0.7238 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001493/0.5195, allocations: 276.5 kB / 0.724 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.062e-05/0.5195, allocations: 29.5 kB / 0.7241 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.416e-05/0.5196, allocations: 94.27 kB / 0.7241 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of Backend: time 3.31e-07/0.5196, allocations: 1.219 kB / 0.7241 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00032/0.5199, allocations: 128.7 kB / 0.7243 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of SimCode: time 0.000338/0.5202, allocations: 0.6034 MB / 0.7249 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of Templates: time 0.003283/0.5235, allocations: 1.156 MB / 0.726 GB, free: 19.02 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.287535474868491] Failed to read output from testmodel.py, exit status != 0: 0.532822520006448 0.5437408579999999 0.02502141 Calling exit ...