Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001296/0.001296, 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.001551/0.001551, allocations: 213 kB / 22.24 MB, free: 5.258 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.801 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.254/1.254, allocations: 203.8 MB / 0.5041 GB, free: 4.664 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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.002067/0.002067, allocations: 63.89 kB / 0.7187 GB, free: 1.934 MB / 0.5763 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6076/0.6097, allocations: 102 MB / 0.8183 GB, free: 28.88 MB / 0.6388 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002036/0.6117, allocations: 0.7279 MB / 0.819 GB, free: 28.45 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.6131, allocations: 1.09 MB / 0.8201 GB, free: 27.66 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.729e-05/0.6131, allocations: 5.344 kB / 0.8201 GB, free: 27.66 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.6131, allocations: 5.203 kB / 0.8201 GB, free: 27.66 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 6.808e-05/0.6132, allocations: 20.86 kB / 0.8201 GB, free: 27.64 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.6135, allocations: 42.67 kB / 0.8201 GB, free: 27.62 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.6136, allocations: 80.92 kB / 0.8202 GB, free: 27.58 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.6137, allocations: 17.58 kB / 0.8202 GB, free: 27.57 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 7.38e-05/0.6138, allocations: 27.77 kB / 0.8202 GB, free: 27.56 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 6.221e-05/0.6139, allocations: 33 kB / 0.8203 GB, free: 27.55 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.6139, allocations: 6.062 kB / 0.8203 GB, free: 27.55 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 6.051e-05/0.6139, allocations: 19.66 kB / 0.8203 GB, free: 27.54 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.614, allocations: 12.78 kB / 0.8203 GB, free: 27.54 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 4.306e-05/0.614, allocations: 27.56 kB / 0.8203 GB, free: 27.52 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.6141, allocations: 79.44 kB / 0.8204 GB, free: 27.49 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6142, allocations: 1.969 kB / 0.8204 GB, free: 27.49 MB / 0.6388 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6142, allocations: 0 / 0.8204 GB, free: 27.49 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.6142, allocations: 0 / 0.8204 GB, free: 27.49 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.0004913/0.6146, allocations: 308.7 kB / 0.8207 GB, free: 27.21 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.6147, allocations: 11.09 kB / 0.8207 GB, free: 27.21 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.6147, allocations: 8.766 kB / 0.8207 GB, free: 27.2 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.819e-05/0.6148, allocations: 125.7 kB / 0.8208 GB, free: 27.06 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.6148, allocations: 2.75 kB / 0.8208 GB, free: 27.06 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.6148, allocations: 5.969 kB / 0.8209 GB, free: 27.06 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.6151, allocations: 72.39 kB / 0.8209 GB, free: 27.02 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.6151, allocations: 7.875 kB / 0.8209 GB, free: 27.01 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.6151, allocations: 3.062 kB / 0.8209 GB, free: 27.01 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.6151, allocations: 1.625 kB / 0.8209 GB, free: 27.01 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.6153, allocations: 44.02 kB / 0.821 GB, free: 27 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.6159, allocations: 247.8 kB / 0.8212 GB, free: 26.79 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.6161, allocations: 62.84 kB / 0.8213 GB, free: 26.74 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.6162, allocations: 30.31 kB / 0.8213 GB, free: 26.73 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.6162, allocations: 0.875 kB / 0.8213 GB, free: 26.73 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.6164, allocations: 79.44 kB / 0.8214 GB, free: 26.67 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.6164, allocations: 0.5 kB / 0.8214 GB, free: 26.67 MB / 0.6388 GB Notification: Performance of matching and sorting (n=7): time 0.0004671/0.6169, allocations: 133.1 kB / 0.8215 GB, free: 26.61 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.6169, allocations: 55.45 kB / 0.8216 GB, free: 26.55 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.559e-05/0.617, allocations: 123.7 kB / 0.8217 GB, free: 26.44 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.617, allocations: 34.42 kB / 0.8217 GB, free: 26.4 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 3.52e-05/0.617, allocations: 92.69 kB / 0.8218 GB, free: 26.31 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.6171, allocations: 11.73 kB / 0.8218 GB, free: 26.3 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.6171, allocations: 34.77 kB / 0.8218 GB, free: 26.28 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 5.315e-05/0.6172, allocations: 323.7 kB / 0.8222 GB, free: 25.96 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.6173, allocations: 31.22 kB / 0.8222 GB, free: 25.95 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.6174, allocations: 74.59 kB / 0.8223 GB, free: 25.89 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.6177, allocations: 114.7 kB / 0.8224 GB, free: 25.81 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6177, allocations: 0.5312 kB / 0.8224 GB, free: 25.81 MB / 0.6388 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003267/0.618, allocations: 132 kB / 0.8225 GB, free: 25.75 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.618, allocations: 5.281 kB / 0.8225 GB, free: 25.75 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.6181, allocations: 1.688 kB / 0.8225 GB, free: 25.75 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.6181, allocations: 2.562 kB / 0.8225 GB, free: 25.75 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.6182, allocations: 20.86 kB / 0.8225 GB, free: 25.75 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.6182, allocations: 3.406 kB / 0.8225 GB, free: 25.75 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.194e-05/0.6183, allocations: 19.45 kB / 0.8225 GB, free: 25.73 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.6183, allocations: 5.125 kB / 0.8225 GB, free: 25.73 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 7.15e-05/0.6184, allocations: 125.8 kB / 0.8227 GB, free: 25.61 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.6184, allocations: 6.422 kB / 0.8227 GB, free: 25.61 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.6184, allocations: 11.3 kB / 0.8227 GB, free: 25.59 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.6184, allocations: 0.8125 kB / 0.8227 GB, free: 25.59 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.6184, allocations: 1.234 kB / 0.8227 GB, free: 25.59 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.6184, allocations: 5.078 kB / 0.8227 GB, free: 25.59 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.6189, allocations: 316.3 kB / 0.823 GB, free: 25.32 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6189, allocations: 0 / 0.823 GB, free: 25.32 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.6189, allocations: 13.19 kB / 0.823 GB, free: 25.32 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.619, allocations: 1.281 kB / 0.823 GB, free: 25.32 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.619, allocations: 0.6562 kB / 0.823 GB, free: 25.32 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.619, allocations: 5.719 kB / 0.823 GB, free: 25.32 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.619, allocations: 3.938 kB / 0.823 GB, free: 25.31 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.6192, allocations: 201.1 kB / 0.8232 GB, free: 25.16 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.6193, allocations: 7.906 kB / 0.8232 GB, free: 25.16 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.6193, allocations: 6.109 kB / 0.8232 GB, free: 25.15 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.733e-05/0.6194, allocations: 9.859 kB / 0.8232 GB, free: 25.15 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.6194, allocations: 5.531 kB / 0.8232 GB, free: 25.15 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.6194, allocations: 5.828 kB / 0.8232 GB, free: 25.14 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 3.556e-05/0.6194, allocations: 93.09 kB / 0.8233 GB, free: 25.07 MB / 0.6388 GB Notification: Performance of sort global known variables: time 6e-08/0.6194, allocations: 0 / 0.8233 GB, free: 25.07 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.0002614/0.6197, allocations: 16.75 kB / 0.8233 GB, free: 25.06 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.0001203/0.6198, allocations: 109 kB / 0.8234 GB, free: 24.97 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.000286/0.6201, allocations: 80.86 kB / 0.8235 GB, free: 24.95 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6201, allocations: 0 / 0.8235 GB, free: 24.95 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.6202, allocations: 29.53 kB / 0.8236 GB, free: 24.94 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.6205, allocations: 20.58 kB / 0.8236 GB, free: 24.93 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.6208, allocations: 160.5 kB / 0.8237 GB, free: 24.79 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.266e-05/0.6209, allocations: 84.31 kB / 0.8238 GB, free: 24.71 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 3.333e-05/0.6209, allocations: 9.438 kB / 0.8238 GB, free: 24.71 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.621, allocations: 12.61 kB / 0.8238 GB, free: 24.7 MB / 0.6388 GB Notification: Performance of SimCode: time 3e-07/0.621, allocations: 0 / 0.8238 GB, free: 24.7 MB / 0.6388 GB Notification: Performance of Templates: time 0.003966/0.6249, allocations: 1.061 MB / 0.8249 GB, free: 24.59 MB / 0.6388 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.81226353533566] Failed to read output from testmodel.py, exit status != 0: 0.6337415594607592 0.645459211 0.028525995000000002 Calling exit ...