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.0007072/0.0007072, 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.0007366/0.0007366, allocations: 215.8 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.8898/0.8898, allocations: 230.6 MB / 256.8 MB, free: 9.633 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.73/0.73, allocations: 203.5 MB / 0.5046 GB, free: 10.72 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.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.0009104/0.0009104, allocations: 67.17 kB / 0.719 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4697/0.4707, allocations: 102 MB / 0.8186 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001503/0.4722, allocations: 0.7178 MB / 0.8193 GB, free: 1.078 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009763/0.4731, allocations: 1.098 MB / 0.8204 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.4732, allocations: 0 / 0.8204 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.515e-05/0.4732, allocations: 4.641 kB / 0.8204 GB, free: 284 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.794e-05/0.4733, allocations: 13.17 kB / 0.8204 GB, free: 272 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.4736, allocations: 61.34 kB / 0.8205 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.4737, allocations: 63.7 kB / 0.8205 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.4738, allocations: 16.16 kB / 0.8205 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.632e-05/0.4739, allocations: 33.94 kB / 0.8206 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.772e-05/0.4739, allocations: 30.92 kB / 0.8206 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.4739, allocations: 5.312 kB / 0.8206 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.417e-05/0.474, allocations: 18.53 kB / 0.8206 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.474, allocations: 18.78 kB / 0.8207 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.474, allocations: 26.42 kB / 0.8207 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.4742, allocations: 84.2 kB / 0.8208 GB, free: 104 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4742, allocations: 0 / 0.8208 GB, free: 104 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4742, allocations: 4 kB / 0.8208 GB, free: 100 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.4742, allocations: 0 / 0.8208 GB, free: 100 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.0004411/0.4746, allocations: 305.6 kB / 0.8211 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.4747, allocations: 11.95 kB / 0.8211 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.4747, allocations: 7.516 kB / 0.8211 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.954e-05/0.4748, allocations: 115.1 kB / 0.8212 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.4748, allocations: 11.53 kB / 0.8212 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.4748, allocations: 6.312 kB / 0.8212 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.475, allocations: 63.39 kB / 0.8213 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.475, allocations: 7.938 kB / 0.8213 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.475, allocations: 0 / 0.8213 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.475, allocations: 1.797 kB / 0.8213 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.222e-05/0.4751, allocations: 43.58 kB / 0.8213 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.4755, allocations: 255.4 kB / 0.8216 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.4756, allocations: 51.66 kB / 0.8216 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.4757, allocations: 37.98 kB / 0.8216 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.4757, allocations: 0.6562 kB / 0.8216 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.4759, allocations: 83.91 kB / 0.8217 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.4759, allocations: 0 / 0.8217 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002887/0.4762, allocations: 131.1 kB / 0.8218 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.4762, allocations: 54.23 kB / 0.8219 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.4763, allocations: 134.8 kB / 0.822 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.4763, allocations: 27.83 kB / 0.8221 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.4763, allocations: 88.64 kB / 0.8221 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.4764, allocations: 20.12 kB / 0.8222 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.4764, allocations: 29.88 kB / 0.8222 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.4765, allocations: 324.5 kB / 0.8225 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.832e-05/0.4765, allocations: 25.84 kB / 0.8225 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.55e-05/0.4766, allocations: 76.7 kB / 0.8226 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.4768, allocations: 107.9 kB / 0.8227 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4768, allocations: 0 / 0.8227 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001947/0.477, allocations: 138.4 kB / 0.8228 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.477, allocations: 6.516 kB / 0.8228 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.477, allocations: 3.562 kB / 0.8228 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.477, allocations: 0 / 0.8228 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.4771, allocations: 18.08 kB / 0.8229 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4771, allocations: 1.969 kB / 0.8229 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/0.4771, allocations: 14 kB / 0.8229 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.4772, allocations: 9.141 kB / 0.8229 GB, free: 14.32 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 7.541e-05/0.4772, allocations: 131.9 kB / 0.823 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.4772, allocations: 7.016 kB / 0.823 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.4773, allocations: 13.62 kB / 0.823 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.4773, allocations: 0 / 0.823 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4773, allocations: 0 / 0.823 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4773, allocations: 0.6094 kB / 0.823 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.4776, allocations: 319.8 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.4776, allocations: 4.703 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.059e-05/0.4776, allocations: 10.11 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4776, allocations: 0 / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.4776, allocations: 0 / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.4776, allocations: 0.5156 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4776, allocations: 1.406 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.4778, allocations: 209.5 kB / 0.8235 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.4778, allocations: 7.391 kB / 0.8235 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.4778, allocations: 0.8906 kB / 0.8236 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.14e-05/0.4779, allocations: 11.16 kB / 0.8236 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.4779, allocations: 4.953 kB / 0.8236 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.4779, allocations: 11.67 kB / 0.8236 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.178e-05/0.478, allocations: 94.86 kB / 0.8237 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.478, allocations: 0 / 0.8237 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001843/0.4781, allocations: 11.94 kB / 0.8237 GB, free: 13.65 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.0001254/0.4783, allocations: 111.5 kB / 0.8238 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.4785, allocations: 77.73 kB / 0.8239 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.4785, allocations: 4.969 kB / 0.8239 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.402e-05/0.4786, allocations: 34.39 kB / 0.8239 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.4788, allocations: 17.67 kB / 0.8239 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.4791, allocations: 183.1 kB / 0.8241 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.616e-05/0.4791, allocations: 80.17 kB / 0.8242 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.4792, allocations: 17.25 kB / 0.8242 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.4792, allocations: 0 / 0.8242 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of Templates: time 0.002338/0.4815, allocations: 1.069 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.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: 5.480833066161722] Failed to read output from testmodel.py, exit status != 0: 0.48776692897081375 0.49749032699999995 0.021437592000000002 Calling exit ...