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.0007508/0.0007508, allocations: 72.45 kB / 19.9 MB, free: 12 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.0007622/0.0007622, allocations: 165.9 kB / 23.18 MB, free: 1.379 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.8596/0.8596, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.6793/0.6793, allocations: 154.7 MB / 414.7 MB, free: 0.7344 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.0007747/0.0007747, allocations: 70.92 kB / 0.6196 GB, free: 13.03 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.3975/0.3983, 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.SampleTrigger): time 0.001499/0.3998, allocations: 0.7209 MB / 0.7198 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009184/0.4007, allocations: 1.098 MB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.997e-05/0.4007, allocations: 1.062 kB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.4008, allocations: 4.547 kB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.397e-05/0.4008, allocations: 11.05 kB / 0.7209 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.4011, allocations: 56.3 kB / 0.721 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.4012, allocations: 72.77 kB / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.4013, allocations: 15.86 kB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.037e-05/0.4014, allocations: 46.48 kB / 0.7211 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.14e-05/0.4015, allocations: 33.38 kB / 0.7211 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.4015, allocations: 9.328 kB / 0.7211 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.45e-05/0.4015, allocations: 19.69 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.4016, allocations: 13.34 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.4016, allocations: 27.25 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.4018, allocations: 86.97 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4018, allocations: 1.25 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4018, allocations: 0 / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.4018, 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.000403/0.4022, allocations: 310.8 kB / 0.7216 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.4022, allocations: 10.41 kB / 0.7216 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.4023, allocations: 9.203 kB / 0.7216 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.479e-05/0.4023, allocations: 123.1 kB / 0.7217 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.4023, allocations: 4.25 kB / 0.7217 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.4023, allocations: 3.844 kB / 0.7217 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.4025, allocations: 72.92 kB / 0.7218 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.4025, allocations: 3.938 kB / 0.7218 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.4025, allocations: 1.156 kB / 0.7218 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.4025, allocations: 1.672 kB / 0.7218 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.4026, allocations: 51.41 kB / 0.7218 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.403, allocations: 250 kB / 0.7221 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.4031, allocations: 55.67 kB / 0.7221 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.256e-05/0.4032, allocations: 27.88 kB / 0.7222 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.4032, allocations: 8.922 kB / 0.7222 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/0.4033, allocations: 87.3 kB / 0.7223 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.4033, allocations: 0 / 0.7223 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002803/0.4036, allocations: 127.5 kB / 0.7224 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.4036, allocations: 54.62 kB / 0.7224 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.894e-05/0.4037, allocations: 123.2 kB / 0.7225 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.4037, allocations: 34.58 kB / 0.7226 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.4037, allocations: 89.67 kB / 0.7227 GB, free: 21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.4037, allocations: 22.78 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.4038, allocations: 26.47 kB / 0.7227 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.295e-05/0.4038, allocations: 324.2 kB / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.236e-05/0.4039, allocations: 30.38 kB / 0.7231 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.546e-05/0.4039, allocations: 71.78 kB / 0.7231 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.4041, allocations: 108.6 kB / 0.7232 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4041, allocations: 0 / 0.7232 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001777/0.4043, allocations: 130.7 kB / 0.7233 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.4043, allocations: 10.39 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4043, allocations: 2.469 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.4043, allocations: 2.406 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.025e-05/0.4044, allocations: 16.58 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.4044, allocations: 6.859 kB / 0.7234 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.09e-05/0.4044, allocations: 20 kB / 0.7234 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.4044, allocations: 5.359 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 4.761e-05/0.4045, allocations: 121.4 kB / 0.7235 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-06/0.4045, allocations: 11 kB / 0.7235 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.4045, allocations: 11.84 kB / 0.7235 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.4045, allocations: 1.156 kB / 0.7235 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4045, allocations: 4.703 kB / 0.7236 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.4045, allocations: 3.938 kB / 0.7236 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.4048, allocations: 317.1 kB / 0.7239 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4048, allocations: 1.188 kB / 0.7239 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-05/0.4048, allocations: 7.641 kB / 0.7239 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4048, allocations: 1.031 kB / 0.7239 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.4048, allocations: 5.828 kB / 0.7239 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.4048, allocations: 0 / 0.7239 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4048, allocations: 4.781 kB / 0.7239 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.405, allocations: 206 kB / 0.7241 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-06/0.405, allocations: 6.359 kB / 0.7241 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.405, allocations: 2.141 kB / 0.7241 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.163e-05/0.405, allocations: 10.48 kB / 0.7241 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.4051, allocations: 5.5 kB / 0.7241 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.4051, allocations: 11.39 kB / 0.7241 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.578e-05/0.4051, allocations: 95.11 kB / 0.7242 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4051, allocations: 0 / 0.7242 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001669/0.4053, allocations: 21.47 kB / 0.7242 GB, free: 19.73 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.87e-05/0.4053, allocations: 102.4 kB / 0.7243 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001805/0.4055, allocations: 73.55 kB / 0.7244 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4055, allocations: 64 / 0.7244 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.317e-05/0.4056, allocations: 42.52 kB / 0.7244 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.4058, allocations: 8.188 kB / 0.7244 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002625/0.406, allocations: 183.5 kB / 0.7246 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.364e-05/0.4061, allocations: 77 kB / 0.7247 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.4061, allocations: 13.86 kB / 0.7247 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.4061, allocations: 0 / 0.7247 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of Templates: time 0.002195/0.4083, allocations: 1.094 MB / 0.7258 GB, free: 19.27 MB / 0.6355 GB " [Timeout remaining time 660] 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: 5.230621932074428] Failed to read output from testmodel.py, exit status != 0: 0.4132780749350786 0.421460634 0.018088716 Calling exit ...