Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001428/0.001428, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001658/0.001658, allocations: 215.2 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.292/1.292, allocations: 203.8 MB / 0.5041 GB, free: 4.613 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_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_dev_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.002134/0.002134, allocations: 63.91 kB / 0.7187 GB, free: 1.949 MB / 0.5763 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6344/0.6365, allocations: 102 MB / 0.8183 GB, free: 28.91 MB / 0.6388 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.00196/0.6385, allocations: 0.7236 MB / 0.819 GB, free: 28.48 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.6398, allocations: 1.093 MB / 0.8201 GB, free: 27.69 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.952e-05/0.6399, allocations: 4.719 kB / 0.8201 GB, free: 27.69 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 3.405e-05/0.6399, allocations: 4.781 kB / 0.8201 GB, free: 27.69 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 6.593e-05/0.64, allocations: 14.48 kB / 0.8201 GB, free: 27.68 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.6403, allocations: 56.27 kB / 0.8201 GB, free: 27.64 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.6404, allocations: 69.36 kB / 0.8202 GB, free: 27.62 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.6405, allocations: 16.34 kB / 0.8202 GB, free: 27.61 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 7.633e-05/0.6406, allocations: 30.83 kB / 0.8202 GB, free: 27.59 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 6.315e-05/0.6407, allocations: 36.47 kB / 0.8203 GB, free: 27.58 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.6407, allocations: 5.781 kB / 0.8203 GB, free: 27.58 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 7.067e-05/0.6407, allocations: 14.95 kB / 0.8203 GB, free: 27.58 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.6408, allocations: 17.69 kB / 0.8203 GB, free: 27.57 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 3.968e-05/0.6408, allocations: 27.27 kB / 0.8203 GB, free: 27.55 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.641, allocations: 81.33 kB / 0.8204 GB, free: 27.52 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.641, allocations: 0.9375 kB / 0.8204 GB, free: 27.52 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.373e-06/0.641, allocations: 1.125 kB / 0.8204 GB, free: 27.52 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.641, allocations: 3.938 kB / 0.8204 GB, free: 27.52 MB / 0.6388 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.0004752/0.6415, allocations: 304.5 kB / 0.8207 GB, free: 27.23 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.6415, allocations: 10.94 kB / 0.8207 GB, free: 27.23 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.6415, allocations: 9.609 kB / 0.8207 GB, free: 27.23 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.811e-05/0.6416, allocations: 116.6 kB / 0.8208 GB, free: 27.1 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.6416, allocations: 6.781 kB / 0.8208 GB, free: 27.09 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.6417, allocations: 5.516 kB / 0.8209 GB, free: 27.09 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.6419, allocations: 70.75 kB / 0.8209 GB, free: 27.05 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.6419, allocations: 3.938 kB / 0.8209 GB, free: 27.05 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.6419, allocations: 6.016 kB / 0.8209 GB, free: 27.04 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.6419, allocations: 1.281 kB / 0.8209 GB, free: 27.04 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.6421, allocations: 44.83 kB / 0.821 GB, free: 27.04 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006053/0.6427, allocations: 255.6 kB / 0.8212 GB, free: 26.81 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.6429, allocations: 50.97 kB / 0.8213 GB, free: 26.78 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.643, allocations: 29.02 kB / 0.8213 GB, free: 26.77 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.643, allocations: 1.062 kB / 0.8213 GB, free: 26.77 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.6432, allocations: 79.84 kB / 0.8214 GB, free: 26.71 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.6432, allocations: 0 / 0.8214 GB, free: 26.71 MB / 0.6388 GB Notification: Performance of matching and sorting (n=7): time 0.0004518/0.6437, allocations: 134.4 kB / 0.8215 GB, free: 26.65 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.6437, allocations: 58.95 kB / 0.8216 GB, free: 26.59 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.849e-05/0.6438, allocations: 129.1 kB / 0.8217 GB, free: 26.47 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.6438, allocations: 27.58 kB / 0.8217 GB, free: 26.44 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.6438, allocations: 92.67 kB / 0.8218 GB, free: 26.35 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.6439, allocations: 19.41 kB / 0.8218 GB, free: 26.34 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.6439, allocations: 30.8 kB / 0.8218 GB, free: 26.32 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 4.794e-05/0.644, allocations: 323.7 kB / 0.8221 GB, free: 26 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.6441, allocations: 30.53 kB / 0.8222 GB, free: 25.99 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.6442, allocations: 71.75 kB / 0.8222 GB, free: 25.93 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.6445, allocations: 114 kB / 0.8224 GB, free: 25.85 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6445, allocations: 0.5 kB / 0.8224 GB, free: 25.85 MB / 0.6388 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003389/0.6448, allocations: 130.9 kB / 0.8225 GB, free: 25.79 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.6449, allocations: 5.938 kB / 0.8225 GB, free: 25.79 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.6449, allocations: 1.969 kB / 0.8225 GB, free: 25.79 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.6449, allocations: 4.719 kB / 0.8225 GB, free: 25.79 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.645, allocations: 21.2 kB / 0.8225 GB, free: 25.78 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.645, allocations: 3.156 kB / 0.8225 GB, free: 25.78 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.506e-05/0.6451, allocations: 11.84 kB / 0.8225 GB, free: 25.78 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.6451, allocations: 5.719 kB / 0.8225 GB, free: 25.78 MB / 0.6388 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.824e-05/0.6452, allocations: 134.6 kB / 0.8227 GB, free: 25.64 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.6452, allocations: 7.188 kB / 0.8227 GB, free: 25.64 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.6452, allocations: 6.078 kB / 0.8227 GB, free: 25.63 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.6452, allocations: 6.484 kB / 0.8227 GB, free: 25.63 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6452, allocations: 0 / 0.8227 GB, free: 25.63 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.6453, allocations: 2.203 kB / 0.8227 GB, free: 25.63 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.6456, allocations: 316 kB / 0.823 GB, free: 25.36 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.6456, allocations: 0.6094 kB / 0.823 GB, free: 25.36 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.517e-05/0.6457, allocations: 16.81 kB / 0.823 GB, free: 25.36 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.6457, allocations: 0 / 0.823 GB, free: 25.36 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.6457, allocations: 1.703 kB / 0.823 GB, free: 25.36 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.6457, allocations: 0.75 kB / 0.823 GB, free: 25.36 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6457, allocations: 5.531 kB / 0.823 GB, free: 25.35 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.646, allocations: 209.1 kB / 0.8232 GB, free: 25.19 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.646, allocations: 6.297 kB / 0.8232 GB, free: 25.19 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.646, allocations: 5.938 kB / 0.8232 GB, free: 25.18 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.131e-05/0.6461, allocations: 6.516 kB / 0.8232 GB, free: 25.18 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.6461, allocations: 5.156 kB / 0.8232 GB, free: 25.18 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.6461, allocations: 11.14 kB / 0.8232 GB, free: 25.18 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 3.813e-05/0.6462, allocations: 96.38 kB / 0.8233 GB, free: 25.09 MB / 0.6388 GB Notification: Performance of sort global known variables: time 8e-08/0.6462, allocations: 4 kB / 0.8233 GB, free: 25.09 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.0002495/0.6464, allocations: 17.06 kB / 0.8234 GB, free: 25.09 MB / 0.6388 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.0001294/0.6465, allocations: 110.7 kB / 0.8235 GB, free: 24.99 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.0002929/0.6468, allocations: 77.92 kB / 0.8235 GB, free: 24.97 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6468, allocations: 0 / 0.8235 GB, free: 24.97 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.6469, allocations: 34.81 kB / 0.8236 GB, free: 24.96 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.6472, allocations: 10.61 kB / 0.8236 GB, free: 24.96 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.6476, allocations: 160.1 kB / 0.8237 GB, free: 24.82 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.753e-05/0.6476, allocations: 76.23 kB / 0.8238 GB, free: 24.75 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 3.672e-05/0.6477, allocations: 10.42 kB / 0.8238 GB, free: 24.74 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.6477, allocations: 16.08 kB / 0.8238 GB, free: 24.73 MB / 0.6388 GB Notification: Performance of SimCode: time 3.81e-07/0.6477, allocations: 4 kB / 0.8238 GB, free: 24.73 MB / 0.6388 GB Notification: Performance of Templates: time 0.004371/0.6521, allocations: 1.049 MB / 0.8249 GB, free: 24.64 MB / 0.6388 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.803413821384311] Failed to read output from testmodel.py, exit status != 0: 0.6602938678115606 0.672705545 0.028960459 Calling exit ...