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.0007547/0.0007547, allocations: 96.36 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.0007354/0.0007354, allocations: 207.2 kB / 22.99 MB, free: 2.984 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.8719/0.8719, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7283/0.7283, allocations: 203.8 MB / 0.5049 GB, free: 10.45 MB / 410.7 MB " [Timeout remaining time 179] 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.0008565/0.0008565, allocations: 63.19 kB / 0.7194 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3915, allocations: 102 MB / 0.819 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001246/0.3928, allocations: 0.7113 MB / 0.8197 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007314/0.3935, allocations: 1.103 MB / 0.8208 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.8e-05/0.3936, allocations: 4 kB / 0.8208 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.3936, allocations: 8.391 kB / 0.8208 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.375e-05/0.3936, allocations: 15.33 kB / 0.8208 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.3939, allocations: 47.36 kB / 0.8209 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.003e-05/0.394, allocations: 76.25 kB / 0.8209 GB, free: 0 / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3941, allocations: 17.22 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.892e-05/0.3941, allocations: 29.95 kB / 0.821 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.631e-05/0.3942, allocations: 29.94 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.3942, allocations: 5.812 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.561e-05/0.3942, allocations: 19.58 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.3943, allocations: 18.53 kB / 0.8211 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.085e-05/0.3943, allocations: 24.64 kB / 0.8211 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.3944, allocations: 83.8 kB / 0.8212 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.3944, allocations: 0 / 0.8212 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3944, allocations: 0 / 0.8212 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.3944, allocations: 0 / 0.8212 GB, free: 15.9 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003794/0.3948, allocations: 307.6 kB / 0.8215 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.3948, allocations: 12.78 kB / 0.8215 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.3949, allocations: 9.703 kB / 0.8215 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.75e-05/0.3949, allocations: 120.4 kB / 0.8216 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3949, allocations: 6.969 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.395, allocations: 5.297 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.3951, allocations: 64.92 kB / 0.8217 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3951, allocations: 3.938 kB / 0.8217 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.3951, allocations: 4 kB / 0.8217 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3951, allocations: 1.969 kB / 0.8217 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.163e-05/0.3952, allocations: 52.03 kB / 0.8217 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.3956, allocations: 249.7 kB / 0.822 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.3957, allocations: 58.55 kB / 0.822 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.064e-05/0.3957, allocations: 27.17 kB / 0.822 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.3957, allocations: 2.031 kB / 0.822 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.3958, allocations: 79.89 kB / 0.8221 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.3958, allocations: 0 / 0.8221 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000245/0.3961, allocations: 138.4 kB / 0.8223 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.3961, allocations: 55.66 kB / 0.8223 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.703e-05/0.3962, allocations: 128.4 kB / 0.8224 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.3962, allocations: 26.36 kB / 0.8225 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.3962, allocations: 94.5 kB / 0.8225 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.3963, allocations: 14.06 kB / 0.8226 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.3963, allocations: 30.58 kB / 0.8226 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.85e-05/0.3964, allocations: 324.7 kB / 0.8229 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.519e-05/0.3964, allocations: 30.66 kB / 0.8229 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.044e-05/0.3965, allocations: 75.47 kB / 0.823 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.3966, allocations: 111.6 kB / 0.8231 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3966, allocations: 1.5 kB / 0.8231 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000159/0.3968, allocations: 131 kB / 0.8232 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.3968, allocations: 7.844 kB / 0.8232 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3968, allocations: 3.156 kB / 0.8232 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.3968, allocations: 1.531 kB / 0.8232 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.202e-05/0.3969, allocations: 30.33 kB / 0.8233 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3969, allocations: 2.438 kB / 0.8233 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.78e-05/0.3969, allocations: 16.45 kB / 0.8233 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.3969, allocations: 4.344 kB / 0.8233 GB, free: 14.12 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 5.672e-05/0.397, allocations: 119.8 kB / 0.8234 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.397, allocations: 7.266 kB / 0.8234 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.926e-05/0.397, allocations: 12.41 kB / 0.8234 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.397, allocations: 1.312 kB / 0.8234 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.397, allocations: 0 / 0.8234 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.397, allocations: 5.406 kB / 0.8234 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.3972, allocations: 315.3 kB / 0.8237 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3972, allocations: 0.9375 kB / 0.8237 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.433e-05/0.3973, allocations: 12.31 kB / 0.8237 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3973, allocations: 0.8906 kB / 0.8238 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.892e-06/0.3973, allocations: 1.312 kB / 0.8238 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.3973, allocations: 0 / 0.8238 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3973, allocations: 6.031 kB / 0.8238 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.3974, allocations: 209 kB / 0.824 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.735e-06/0.3974, allocations: 6.781 kB / 0.824 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.3974, allocations: 1.875 kB / 0.824 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.928e-05/0.3975, allocations: 9.625 kB / 0.824 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.3975, allocations: 5.016 kB / 0.824 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.3975, allocations: 6.688 kB / 0.824 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.097e-05/0.3976, allocations: 96.12 kB / 0.8241 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3976, allocations: 0 / 0.8241 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001608/0.3977, allocations: 18.5 kB / 0.8241 GB, free: 13.45 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 8.966e-05/0.3978, allocations: 104 kB / 0.8242 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.398, allocations: 77.03 kB / 0.8243 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.398, allocations: 3.938 kB / 0.8243 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.853e-05/0.398, allocations: 30.81 kB / 0.8243 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.3982, allocations: 18.33 kB / 0.8243 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.3985, allocations: 191 kB / 0.8245 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.683e-05/0.3985, allocations: 74.95 kB / 0.8246 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.3985, allocations: 17.02 kB / 0.8246 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of SimCode: time 2.71e-07/0.3985, allocations: 0 / 0.8246 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of Templates: time 0.001793/0.4003, allocations: 1.07 MB / 0.8256 GB, free: 12.97 MB / 0.6198 GB " [Timeout remaining time 660] 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: 5.274863941129297] Failed to read output from testmodel.py, exit status != 0: 0.405157329980284 0.413627528 0.017535266 Calling exit ...