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.0008083/0.0008083, allocations: 100.4 kB / 19.7 MB, free: 452 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.0008433/0.0008433, allocations: 212.6 kB / 23 MB, free: 2.98 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.8792/0.8792, allocations: 230.6 MB / 256.8 MB, free: 9.641 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.7398/0.7398, allocations: 203.5 MB / 0.5046 GB, free: 10.7 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.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.003642/0.003642, allocations: 72.14 kB / 0.719 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4689/0.4725, allocations: 102 MB / 0.8186 GB, free: 1.527 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001396/0.4739, allocations: 0.708 MB / 0.8193 GB, free: 1.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009027/0.4748, allocations: 1.1 MB / 0.8204 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.464e-05/0.4749, allocations: 3.938 kB / 0.8204 GB, free: 292 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.364e-05/0.4749, allocations: 6.156 kB / 0.8204 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.47e-05/0.475, allocations: 14.58 kB / 0.8204 GB, free: 276 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.4753, allocations: 51.41 kB / 0.8205 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.775e-05/0.4754, allocations: 69.08 kB / 0.8205 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.854e-05/0.4755, allocations: 20.5 kB / 0.8205 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.286e-05/0.4755, allocations: 35.17 kB / 0.8206 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.707e-05/0.4756, allocations: 27.11 kB / 0.8206 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.4756, allocations: 6.375 kB / 0.8206 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.987e-05/0.4756, allocations: 11.52 kB / 0.8206 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.4757, allocations: 21.58 kB / 0.8206 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.4757, allocations: 33.73 kB / 0.8207 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.4758, allocations: 78.31 kB / 0.8208 GB, free: 112 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4758, allocations: 4 kB / 0.8208 GB, free: 108 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4758, allocations: 3.938 kB / 0.8208 GB, free: 104 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.4758, allocations: 0 / 0.8208 GB, free: 104 kB / 0.6042 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.0004272/0.4763, allocations: 303.4 kB / 0.821 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.4763, allocations: 11 kB / 0.8211 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.4763, allocations: 9 kB / 0.8211 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.903e-05/0.4764, allocations: 113.1 kB / 0.8212 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.4764, allocations: 7.094 kB / 0.8212 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.4764, allocations: 12.06 kB / 0.8212 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.4766, allocations: 65.59 kB / 0.8213 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.4766, allocations: 3.938 kB / 0.8213 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.4766, allocations: 1.047 kB / 0.8213 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4766, allocations: 2.938 kB / 0.8213 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.219e-05/0.4767, allocations: 45.2 kB / 0.8213 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.4771, allocations: 251 kB / 0.8215 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.4772, allocations: 54.88 kB / 0.8216 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/0.4773, allocations: 28.73 kB / 0.8216 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.4773, allocations: 4.734 kB / 0.8216 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.4774, allocations: 86.53 kB / 0.8217 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.4774, allocations: 3.938 kB / 0.8217 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000274/0.4777, allocations: 135.8 kB / 0.8218 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.4777, allocations: 53.36 kB / 0.8219 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.718e-05/0.4778, allocations: 130.4 kB / 0.822 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.4778, allocations: 27.23 kB / 0.822 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.4779, allocations: 89.02 kB / 0.8221 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.4779, allocations: 19.06 kB / 0.8222 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.4779, allocations: 31.94 kB / 0.8222 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.462e-05/0.478, allocations: 325.2 kB / 0.8225 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.064e-05/0.478, allocations: 27.36 kB / 0.8225 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.821e-05/0.4781, allocations: 77.2 kB / 0.8226 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.4783, allocations: 107.7 kB / 0.8227 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4783, allocations: 4 kB / 0.8227 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001752/0.4784, allocations: 131.3 kB / 0.8228 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.4784, allocations: 5.516 kB / 0.8228 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4785, allocations: 1.25 kB / 0.8228 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.4785, allocations: 3.094 kB / 0.8228 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.905e-05/0.4785, allocations: 24.5 kB / 0.8229 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.4786, allocations: 3.594 kB / 0.8229 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.081e-05/0.4786, allocations: 12.14 kB / 0.8229 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.4786, allocations: 5.25 kB / 0.8229 GB, free: 14.33 MB / 0.6198 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 6.331e-05/0.4787, allocations: 124.4 kB / 0.823 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.365e-06/0.4787, allocations: 6.453 kB / 0.823 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.4787, allocations: 11.92 kB / 0.823 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.4787, allocations: 5.062 kB / 0.823 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4787, allocations: 0 / 0.823 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4787, allocations: 5.703 kB / 0.823 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.479, allocations: 317 kB / 0.8233 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.479, allocations: 0 / 0.8233 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.459e-05/0.479, allocations: 8 kB / 0.8233 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.479, allocations: 6.031 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.479, allocations: 0 / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.479, allocations: 1.125 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.479, allocations: 0.7031 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.4792, allocations: 213.4 kB / 0.8235 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-06/0.4792, allocations: 7.391 kB / 0.8235 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.4792, allocations: 1.469 kB / 0.8236 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.021e-05/0.4792, allocations: 7.719 kB / 0.8236 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.4793, allocations: 5.469 kB / 0.8236 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.567e-06/0.4793, allocations: 11.41 kB / 0.8236 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.586e-05/0.4793, allocations: 91.16 kB / 0.8237 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4793, allocations: 0 / 0.8237 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001634/0.4795, allocations: 16.19 kB / 0.8237 GB, free: 13.66 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 (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 0.0001082/0.4796, allocations: 112.1 kB / 0.8238 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.4797, allocations: 75.31 kB / 0.8239 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.4797, allocations: 0 / 0.8239 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.949e-05/0.4798, allocations: 29.08 kB / 0.8239 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.48, allocations: 24.84 kB / 0.8239 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.4803, allocations: 193.6 kB / 0.8241 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.735e-05/0.4803, allocations: 78.81 kB / 0.8242 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.4803, allocations: 12.31 kB / 0.8242 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.4803, allocations: 0 / 0.8242 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of Templates: time 0.00219/0.4825, allocations: 1.071 MB / 0.8252 GB, free: 13.18 MB / 0.6198 GB " [Timeout remaining time 660] 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: 5.578733300790191] Failed to read output from testmodel.py, exit status != 0: 0.4884231751784682 0.498033649 0.020245101 Calling exit ...