Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.0007324/0.0007324, allocations: 96.38 kB / 19.7 MB, free: 448 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.000746/0.000746, allocations: 211.2 kB / 23 MB, free: 2.977 MB / 13.93 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.891/0.891, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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.7453/0.7453, allocations: 203.5 MB / 0.5046 GB, free: 10.68 MB / 410.7 MB " [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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [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.0008791/0.0008791, allocations: 66.42 kB / 0.719 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.435, allocations: 102 MB / 0.8186 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001461/0.4364, allocations: 0.7179 MB / 0.8193 GB, free: 1.074 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.4374, allocations: 1.194 MB / 0.8205 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.514e-05/0.4375, allocations: 2.688 kB / 0.8205 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/0.4375, allocations: 9.188 kB / 0.8205 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.66e-05/0.4376, allocations: 8.672 kB / 0.8205 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004424/0.438, allocations: 147.8 kB / 0.8206 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.4382, allocations: 131.9 kB / 0.8207 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.895e-05/0.4383, allocations: 14.97 kB / 0.8208 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.494e-05/0.4384, allocations: 48.89 kB / 0.8208 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.254e-05/0.4385, allocations: 47.36 kB / 0.8208 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.4385, allocations: 11.94 kB / 0.8209 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.408e-05/0.4385, allocations: 25.59 kB / 0.8209 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.4386, allocations: 14.84 kB / 0.8209 GB, free: 0 / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.958e-05/0.4386, allocations: 39.14 kB / 0.8209 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.4388, allocations: 135.2 kB / 0.8211 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.4388, allocations: 0 / 0.8211 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4388, allocations: 0 / 0.8211 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.4389, allocations: 4 kB / 0.8211 GB, free: 15.93 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000529/0.4394, allocations: 345.7 kB / 0.8214 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.4394, allocations: 7 kB / 0.8214 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.932e-05/0.4395, allocations: 16.67 kB / 0.8214 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.022e-05/0.4396, allocations: 115.6 kB / 0.8215 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.4396, allocations: 6.016 kB / 0.8215 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.4396, allocations: 9.344 kB / 0.8215 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.4398, allocations: 75.61 kB / 0.8216 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4398, allocations: 7.875 kB / 0.8216 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.4398, allocations: 8.203 kB / 0.8216 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4398, allocations: 3.984 kB / 0.8216 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.4399, allocations: 44.55 kB / 0.8217 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.4403, allocations: 268.8 kB / 0.8219 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.4404, allocations: 54.81 kB / 0.822 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.411e-05/0.4405, allocations: 31.45 kB / 0.822 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.4405, allocations: 7.031 kB / 0.822 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.4406, allocations: 98.97 kB / 0.8221 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.4406, allocations: 2.031 kB / 0.8221 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002947/0.4409, allocations: 141.3 kB / 0.8223 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.441, allocations: 55.56 kB / 0.8223 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.941e-05/0.441, allocations: 124.9 kB / 0.8224 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.441, allocations: 38.78 kB / 0.8225 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.4411, allocations: 89.38 kB / 0.8225 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.4411, allocations: 23.39 kB / 0.8226 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.4412, allocations: 39.73 kB / 0.8226 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.587e-05/0.4412, allocations: 323 kB / 0.8229 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.4413, allocations: 77.45 kB / 0.823 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.4414, allocations: 128.7 kB / 0.8231 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.4416, allocations: 147.1 kB / 0.8233 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4416, allocations: 0 / 0.8233 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000267/0.4419, allocations: 244.5 kB / 0.8235 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.4419, allocations: 39.36 kB / 0.8235 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4419, allocations: 3.625 kB / 0.8235 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.4419, allocations: 0 / 0.8235 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.419e-05/0.442, allocations: 18.81 kB / 0.8235 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.442, allocations: 5.094 kB / 0.8235 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.4421, allocations: 37.88 kB / 0.8236 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.4421, allocations: 10.41 kB / 0.8236 GB, free: 13.87 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 6.905e-05/0.4422, allocations: 130.9 kB / 0.8237 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-06/0.4422, allocations: 6.203 kB / 0.8237 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.4424, allocations: 124.4 kB / 0.8238 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4424, allocations: 3.562 kB / 0.8238 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4424, allocations: 4 kB / 0.8239 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4424, allocations: 0.6094 kB / 0.8239 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.4426, allocations: 319.9 kB / 0.8242 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4426, allocations: 4 kB / 0.8242 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.4427, allocations: 9 kB / 0.8242 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.4427, allocations: 1.406 kB / 0.8242 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.4427, allocations: 1.766 kB / 0.8242 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4427, allocations: 0.9375 kB / 0.8242 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4427, allocations: 1.25 kB / 0.8242 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.4428, allocations: 215.2 kB / 0.8244 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.4429, allocations: 15.16 kB / 0.8244 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.4429, allocations: 2.656 kB / 0.8244 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.122e-05/0.4429, allocations: 9.516 kB / 0.8244 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.4429, allocations: 5.656 kB / 0.8244 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.4429, allocations: 4.672 kB / 0.8244 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.655e-05/0.443, allocations: 101.6 kB / 0.8245 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.443, allocations: 0 / 0.8245 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001763/0.4432, allocations: 26.55 kB / 0.8245 GB, free: 13.14 MB / 0.6198 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.661e-05/0.4433, allocations: 105.4 kB / 0.8246 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002588/0.4435, allocations: 201.2 kB / 0.8248 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4435, allocations: 1.781 kB / 0.8248 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.87e-05/0.4436, allocations: 35.16 kB / 0.8249 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.4438, allocations: 13.44 kB / 0.8249 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.4441, allocations: 202.8 kB / 0.8251 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.528e-05/0.4441, allocations: 81.25 kB / 0.8252 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.4442, allocations: 16.23 kB / 0.8252 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of SimCode: time 3.9e-07/0.4442, allocations: 0 / 0.8252 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of Templates: time 0.002411/0.4466, allocations: 1.317 MB / 0.8265 GB, free: 12.53 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.591238562949002] Failed to read output from testmodel.py, exit status != 0: 0.45155223691836 0.46106463900000005 0.020335841 Calling exit ...