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.0006634/0.0006634, allocations: 100.4 kB / 19.7 MB, free: 444 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.0006961/0.0006961, allocations: 211.1 kB / 22.99 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.8466/0.8466, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.7089/0.7089, allocations: 203.8 MB / 0.5049 GB, free: 10.31 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.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.0008332/0.0008332, allocations: 66.95 kB / 0.7194 GB, free: 3.488 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3778, allocations: 102 MB / 0.819 GB, free: 1.312 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001255/0.379, allocations: 0.7213 MB / 0.8197 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008054/0.3798, allocations: 1.098 MB / 0.8208 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.3799, allocations: 0 / 0.8208 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.365e-05/0.3799, allocations: 8.766 kB / 0.8208 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.034e-05/0.38, allocations: 12.23 kB / 0.8208 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.3802, allocations: 50.58 kB / 0.8209 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.3804, allocations: 76.61 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.85e-05/0.3805, allocations: 17.75 kB / 0.821 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.769e-05/0.3805, allocations: 26.11 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.631e-05/0.3806, allocations: 37.64 kB / 0.821 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.3806, allocations: 7.906 kB / 0.821 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.256e-05/0.3806, allocations: 15.88 kB / 0.8211 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.3807, allocations: 18.33 kB / 0.8211 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.3807, allocations: 21.84 kB / 0.8211 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.3808, allocations: 78.42 kB / 0.8212 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3808, allocations: 0 / 0.8212 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3809, allocations: 6.156 kB / 0.8212 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3809, allocations: 0 / 0.8212 GB, free: 15.88 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.0004068/0.3813, allocations: 306.4 kB / 0.8215 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.3813, allocations: 10.28 kB / 0.8215 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.3813, allocations: 7.906 kB / 0.8215 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.634e-05/0.3814, allocations: 124.5 kB / 0.8216 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.3814, allocations: 3.469 kB / 0.8216 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.3814, allocations: 8.844 kB / 0.8216 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.3816, allocations: 65.73 kB / 0.8217 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3816, allocations: 3.938 kB / 0.8217 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.3816, allocations: 0 / 0.8217 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.3816, allocations: 2.031 kB / 0.8217 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.704e-05/0.3817, allocations: 47.05 kB / 0.8217 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.3821, allocations: 258.1 kB / 0.822 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.3822, allocations: 58.55 kB / 0.822 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.91e-05/0.3822, allocations: 26.75 kB / 0.8221 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.3822, allocations: 2.875 kB / 0.8221 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.3824, allocations: 77.44 kB / 0.8221 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.3824, allocations: 4 kB / 0.8221 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002696/0.3826, allocations: 128.4 kB / 0.8223 GB, free: 15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.3827, allocations: 63.98 kB / 0.8223 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.227e-05/0.3827, allocations: 129.1 kB / 0.8224 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.3827, allocations: 26.5 kB / 0.8225 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.3828, allocations: 86.62 kB / 0.8225 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.3828, allocations: 20.7 kB / 0.8226 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.3828, allocations: 29.73 kB / 0.8226 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.018e-05/0.3829, allocations: 323.4 kB / 0.8229 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.329e-05/0.383, allocations: 36.39 kB / 0.8229 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.432e-05/0.3831, allocations: 72.42 kB / 0.823 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.3832, allocations: 110.6 kB / 0.8231 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3832, allocations: 0.6875 kB / 0.8231 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001879/0.3834, allocations: 129.9 kB / 0.8232 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3834, allocations: 7.031 kB / 0.8232 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3834, allocations: 1.344 kB / 0.8232 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.3834, allocations: 6.562 kB / 0.8233 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.962e-05/0.3835, allocations: 21.3 kB / 0.8233 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3835, allocations: 3.625 kB / 0.8233 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.14e-05/0.3835, allocations: 15.8 kB / 0.8233 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.3836, allocations: 4.812 kB / 0.8233 GB, free: 14.1 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 0.0001901/0.3837, allocations: 123.9 kB / 0.8234 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-06/0.3838, allocations: 7.406 kB / 0.8234 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.052e-05/0.3838, allocations: 7.828 kB / 0.8234 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3838, allocations: 0.7969 kB / 0.8234 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3838, allocations: 5.375 kB / 0.8234 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3838, allocations: 0 / 0.8234 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.384, allocations: 321 kB / 0.8237 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3841, allocations: 1.625 kB / 0.8237 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.3841, allocations: 8.047 kB / 0.8238 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3841, allocations: 0.8438 kB / 0.8238 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.3841, allocations: 1.531 kB / 0.8238 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3841, allocations: 0 / 0.8238 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3841, allocations: 5.031 kB / 0.8238 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.3842, allocations: 212.9 kB / 0.824 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-06/0.3843, allocations: 8.406 kB / 0.824 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.3843, allocations: 0 / 0.824 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.94e-05/0.3843, allocations: 7.344 kB / 0.824 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.3843, allocations: 4.734 kB / 0.824 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.3843, allocations: 7.375 kB / 0.824 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.532e-05/0.3844, allocations: 102.1 kB / 0.8241 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.3844, allocations: 0 / 0.8241 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001647/0.3845, allocations: 17.31 kB / 0.8241 GB, free: 13.43 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 9.725e-05/0.3846, allocations: 108.3 kB / 0.8242 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001679/0.3848, allocations: 80.47 kB / 0.8243 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3848, allocations: 1.281 kB / 0.8243 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.997e-05/0.3849, allocations: 32.94 kB / 0.8243 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.385, allocations: 14.22 kB / 0.8243 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.3853, allocations: 187.1 kB / 0.8245 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.404e-05/0.3854, allocations: 75.25 kB / 0.8246 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.3854, allocations: 17.97 kB / 0.8246 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of SimCode: time 3.41e-07/0.3854, allocations: 0 / 0.8246 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of Templates: time 0.001951/0.3873, allocations: 1.069 MB / 0.8256 GB, free: 12.95 MB / 0.6198 GB " [Timeout remaining time 660] 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: 5.074244550894946] Failed to read output from testmodel.py, exit status != 0: 0.39201245503500104 0.400425809 0.017942842 Calling exit ...