Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.0006392/0.0006392, allocations: 80.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.0007602/0.0007602, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.9029/0.9029, 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 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.7322/0.7322, allocations: 154.7 MB / 414.7 MB, free: 0.7578 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.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [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.001021/0.001021, allocations: 67.89 kB / 0.6196 GB, free: 13.09 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.5236/0.5246, allocations: 101.9 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001549/0.5262, allocations: 0.7295 MB / 0.7198 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.5273, allocations: 1.102 MB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.682e-05/0.5273, allocations: 1.031 kB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.5273, allocations: 5.062 kB / 0.7209 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.867e-05/0.5274, allocations: 10.89 kB / 0.7209 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.5277, allocations: 51.36 kB / 0.721 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.5278, allocations: 73.61 kB / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.5279, allocations: 19.95 kB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.514e-05/0.528, allocations: 42.92 kB / 0.7211 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.635e-05/0.5281, allocations: 29.12 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.5281, allocations: 9.844 kB / 0.7211 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.867e-05/0.5282, allocations: 22.62 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.012e-05/0.5282, allocations: 13.05 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.5282, allocations: 26.97 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.5284, allocations: 92.61 kB / 0.7213 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5284, allocations: 0 / 0.7213 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5284, allocations: 0 / 0.7213 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.5284, allocations: 0 / 0.7213 GB, free: 22.19 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.0004169/0.5288, allocations: 303.7 kB / 0.7216 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.5289, allocations: 9.25 kB / 0.7216 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.5289, allocations: 13.09 kB / 0.7216 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.282e-05/0.529, allocations: 123.7 kB / 0.7217 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.529, allocations: 4.016 kB / 0.7217 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.529, allocations: 3.344 kB / 0.7217 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.5292, allocations: 77.31 kB / 0.7218 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.5292, allocations: 3.938 kB / 0.7218 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.5292, allocations: 0.75 kB / 0.7218 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.5292, allocations: 1.438 kB / 0.7218 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.933e-05/0.5293, allocations: 47.03 kB / 0.7219 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.5297, allocations: 255.8 kB / 0.7221 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.5298, allocations: 54.11 kB / 0.7221 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/0.5299, allocations: 27.47 kB / 0.7222 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.5299, allocations: 1.828 kB / 0.7222 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.53, allocations: 82.69 kB / 0.7223 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.275e-06/0.5301, allocations: 4 kB / 0.7223 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002849/0.5303, allocations: 132.5 kB / 0.7224 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.5304, allocations: 53.03 kB / 0.7224 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.56e-05/0.5304, allocations: 124.3 kB / 0.7226 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.5304, allocations: 30.8 kB / 0.7226 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.5305, allocations: 89.56 kB / 0.7227 GB, free: 21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.5305, allocations: 15.03 kB / 0.7227 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.5305, allocations: 30.19 kB / 0.7227 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.554e-05/0.5306, allocations: 323.7 kB / 0.723 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-05/0.5306, allocations: 27.38 kB / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.422e-05/0.5307, allocations: 70.69 kB / 0.7231 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.5308, allocations: 120.1 kB / 0.7232 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.5308, allocations: 1.875 kB / 0.7232 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001859/0.531, allocations: 126 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.531, allocations: 6.406 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.5311, allocations: 6.531 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.5311, allocations: 2.5 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.007e-05/0.5312, allocations: 20.62 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.5312, allocations: 2.844 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.5312, allocations: 20.02 kB / 0.7234 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.5312, allocations: 5.203 kB / 0.7234 GB, free: 20.41 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.479e-05/0.5313, allocations: 129.3 kB / 0.7235 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.217e-06/0.5313, allocations: 7.297 kB / 0.7235 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.5313, allocations: 11.41 kB / 0.7236 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5313, allocations: 4 kB / 0.7236 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5313, allocations: 5.188 kB / 0.7236 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-06/0.5313, allocations: 3.203 kB / 0.7236 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.5313, allocations: 2.094 kB / 0.7236 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.264e-05/0.5314, allocations: 9.203 kB / 0.7236 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.5314, allocations: 13.3 kB / 0.7236 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001647/0.5316, allocations: 183.7 kB / 0.7238 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001521/0.5317, allocations: 279.1 kB / 0.724 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.218e-05/0.5318, allocations: 27.53 kB / 0.7241 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.281e-05/0.5318, allocations: 98.75 kB / 0.7242 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of Backend: time 3.7e-07/0.5318, allocations: 0 / 0.7242 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003503/0.5322, allocations: 130 kB / 0.7243 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003724/0.5325, allocations: 0.6076 MB / 0.7249 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of Templates: time 0.002992/0.5355, allocations: 1.161 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.SampleTriggerNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.254563801921904] Failed to read output from testmodel.py, exit status != 0: 0.5421022889204323 0.555048696 0.024025397 Calling exit ...