Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009581/0.0009581, 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.001031/0.001031, allocations: 169.6 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.8942/0.8942, allocations: 177.2 MB / 203.6 MB, free: 5.785 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.7187/0.7187, allocations: 154.7 MB / 414.7 MB, free: 0.75 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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.001018/0.001018, allocations: 67.91 kB / 0.6196 GB, free: 13.1 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.5148/0.5158, allocations: 102 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001489/0.5173, allocations: 0.7297 MB / 0.7198 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.5184, allocations: 1.089 MB / 0.7209 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.366e-05/0.5184, allocations: 1.75 kB / 0.7209 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.5184, allocations: 4.5 kB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.518e-05/0.5185, allocations: 14.92 kB / 0.7209 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.5188, allocations: 53.92 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.5189, allocations: 74.53 kB / 0.721 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.68e-05/0.519, allocations: 19.66 kB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.022e-05/0.5191, allocations: 42.81 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.626e-05/0.5191, allocations: 31.83 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.5191, allocations: 6.594 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.047e-05/0.5192, allocations: 14.48 kB / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.5192, allocations: 22.44 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.5192, allocations: 26.23 kB / 0.7212 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.5194, allocations: 91.66 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5194, allocations: 0 / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5194, allocations: 1.219 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.5194, allocations: 0 / 0.7213 GB, free: 22.2 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.0004208/0.5198, allocations: 306.7 kB / 0.7216 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.5198, allocations: 9.188 kB / 0.7216 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.5199, allocations: 13.06 kB / 0.7216 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.753e-05/0.5199, allocations: 116.5 kB / 0.7217 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.5199, allocations: 6.656 kB / 0.7217 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.52, allocations: 5.422 kB / 0.7217 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.5201, allocations: 67.39 kB / 0.7218 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.5201, allocations: 4.641 kB / 0.7218 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.5201, allocations: 4.938 kB / 0.7218 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.5201, allocations: 5 kB / 0.7218 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.355e-05/0.5202, allocations: 40.44 kB / 0.7218 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.5206, allocations: 262.7 kB / 0.7221 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.5207, allocations: 51.11 kB / 0.7221 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.571e-05/0.5208, allocations: 31.58 kB / 0.7222 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.5208, allocations: 5.875 kB / 0.7222 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.5209, allocations: 81.95 kB / 0.7223 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.5209, allocations: 0 / 0.7223 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002683/0.5212, allocations: 124.2 kB / 0.7224 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.5212, allocations: 57.38 kB / 0.7224 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.38e-05/0.5213, allocations: 124.4 kB / 0.7226 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.5213, allocations: 30.77 kB / 0.7226 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.5213, allocations: 92.89 kB / 0.7227 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.5214, allocations: 19.23 kB / 0.7227 GB, free: 21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.5214, allocations: 31.31 kB / 0.7227 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.555e-05/0.5214, allocations: 319.8 kB / 0.723 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.31e-05/0.5215, allocations: 26.88 kB / 0.723 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.241e-05/0.5216, allocations: 75.36 kB / 0.7231 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.5217, allocations: 116 kB / 0.7232 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5217, allocations: 0 / 0.7232 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001814/0.5219, allocations: 136.2 kB / 0.7234 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.5219, allocations: 5.062 kB / 0.7234 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.5219, allocations: 3.344 kB / 0.7234 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.5219, allocations: 2.562 kB / 0.7234 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.207e-05/0.522, allocations: 20.48 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.522, allocations: 3.5 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.908e-05/0.522, allocations: 15.02 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.5221, allocations: 10.12 kB / 0.7234 GB, free: 20.42 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.397e-05/0.5221, allocations: 129.7 kB / 0.7235 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-06/0.5221, allocations: 10.11 kB / 0.7236 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.5221, allocations: 16 kB / 0.7236 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5221, allocations: 0.6094 kB / 0.7236 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5221, allocations: 5.125 kB / 0.7236 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-06/0.5222, allocations: 2.875 kB / 0.7236 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.5222, allocations: 1.922 kB / 0.7236 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.266e-05/0.5222, allocations: 5.234 kB / 0.7236 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.5222, allocations: 10.92 kB / 0.7236 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001642/0.5224, allocations: 185.7 kB / 0.7238 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001478/0.5225, allocations: 277.2 kB / 0.724 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.041e-05/0.5226, allocations: 29.91 kB / 0.7241 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.746e-05/0.5226, allocations: 96.72 kB / 0.7242 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of Backend: time 1.2e-07/0.5226, allocations: 0 / 0.7242 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003689/0.523, allocations: 129.2 kB / 0.7243 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003871/0.5234, allocations: 0.6033 MB / 0.7249 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of Templates: time 0.002994/0.5264, allocations: 1.155 MB / 0.726 GB, free: 19.04 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.197695899987593] Failed to read output from testmodel.py, exit status != 0: 0.5321153299883008 0.540881081 0.019688774000000003 Calling exit ...