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.001358/0.001358, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.001548/0.001548, allocations: 214.5 kB / 22.25 MB, free: 5.133 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.988 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.26/1.26, allocations: 203.8 MB / 0.5041 GB, free: 4.965 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.002189/0.002189, allocations: 71.89 kB / 0.7187 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6096/0.6118, allocations: 102 MB / 0.8183 GB, free: 29.2 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002158/0.614, allocations: 0.7383 MB / 0.8191 GB, free: 28.75 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.6155, allocations: 1.109 MB / 0.8201 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/0.6155, allocations: 0.5 kB / 0.8201 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.054e-05/0.6156, allocations: 9.438 kB / 0.8202 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.462e-05/0.6157, allocations: 11.89 kB / 0.8202 GB, free: 27.92 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.616, allocations: 55.62 kB / 0.8202 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.6161, allocations: 69.7 kB / 0.8203 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.6162, allocations: 20.72 kB / 0.8203 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 8.74e-05/0.6163, allocations: 31.98 kB / 0.8203 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.6164, allocations: 37.22 kB / 0.8204 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.6164, allocations: 5.844 kB / 0.8204 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.849e-05/0.6165, allocations: 19.59 kB / 0.8204 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.639e-05/0.6165, allocations: 15.91 kB / 0.8204 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.283e-05/0.6166, allocations: 36.02 kB / 0.8204 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.6168, allocations: 76.98 kB / 0.8205 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.6168, allocations: 4 kB / 0.8205 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6168, allocations: 0 / 0.8205 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.6168, allocations: 1.656 kB / 0.8205 GB, free: 27.74 MB / 0.6387 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.0006429/0.6175, allocations: 304.3 kB / 0.8208 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.6175, allocations: 10.78 kB / 0.8208 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.209e-05/0.6176, allocations: 13.56 kB / 0.8208 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.6177, allocations: 119.8 kB / 0.821 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.6178, allocations: 8.062 kB / 0.821 GB, free: 27.31 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.6178, allocations: 5.859 kB / 0.821 GB, free: 27.31 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.618, allocations: 64.28 kB / 0.821 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.6181, allocations: 5.125 kB / 0.821 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.6181, allocations: 1.188 kB / 0.821 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.6181, allocations: 0.8438 kB / 0.821 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.6183, allocations: 52.94 kB / 0.8211 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007525/0.619, allocations: 287.8 kB / 0.8214 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.6192, allocations: 57.64 kB / 0.8214 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.6194, allocations: 28.44 kB / 0.8214 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.6194, allocations: 6.5 kB / 0.8215 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002815/0.6197, allocations: 78.92 kB / 0.8215 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.6197, allocations: 0 / 0.8215 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0005389/0.6202, allocations: 131.1 kB / 0.8217 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.6203, allocations: 58.08 kB / 0.8217 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.6204, allocations: 128.9 kB / 0.8218 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.6204, allocations: 26.3 kB / 0.8219 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.441e-05/0.6205, allocations: 93.38 kB / 0.8219 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.6205, allocations: 18.11 kB / 0.822 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.6206, allocations: 29.02 kB / 0.822 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.6207, allocations: 319.7 kB / 0.8223 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.6208, allocations: 31.06 kB / 0.8223 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.621, allocations: 79.69 kB / 0.8224 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.6212, allocations: 110 kB / 0.8225 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6212, allocations: 0.625 kB / 0.8225 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003803/0.6216, allocations: 135.5 kB / 0.8226 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.6217, allocations: 5.719 kB / 0.8226 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.6217, allocations: 1.938 kB / 0.8226 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/0.6217, allocations: 2.859 kB / 0.8226 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.6219, allocations: 16.8 kB / 0.8227 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/0.6219, allocations: 6.484 kB / 0.8227 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.833e-05/0.622, allocations: 12.56 kB / 0.8227 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.622, allocations: 13.53 kB / 0.8227 GB, free: 25.95 MB / 0.6387 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.000106/0.6221, allocations: 132.3 kB / 0.8228 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.6221, allocations: 7.812 kB / 0.8228 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/0.6222, allocations: 6.562 kB / 0.8228 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.6222, allocations: 1.797 kB / 0.8228 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.6222, allocations: 0 / 0.8228 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.6222, allocations: 1.547 kB / 0.8228 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005337/0.6227, allocations: 345.7 kB / 0.8232 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6227, allocations: 5.547 kB / 0.8232 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.017e-05/0.6228, allocations: 7.781 kB / 0.8232 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.6228, allocations: 0.5938 kB / 0.8232 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.6228, allocations: 1.828 kB / 0.8232 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.6228, allocations: 4.438 kB / 0.8232 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.6228, allocations: 1.688 kB / 0.8232 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.6231, allocations: 206 kB / 0.8234 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.301e-05/0.6231, allocations: 7.156 kB / 0.8234 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.6231, allocations: 2.078 kB / 0.8234 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.6232, allocations: 14.5 kB / 0.8234 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.6233, allocations: 8.984 kB / 0.8234 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.6233, allocations: 6.906 kB / 0.8234 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.341e-05/0.6233, allocations: 92.62 kB / 0.8235 GB, free: 25.24 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6233, allocations: 0 / 0.8235 GB, free: 25.24 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002861/0.6236, allocations: 16.03 kB / 0.8235 GB, free: 25.23 MB / 0.6387 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.0002041/0.6238, allocations: 112.1 kB / 0.8236 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003412/0.6242, allocations: 78 kB / 0.8237 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6242, allocations: 0 / 0.8237 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.6243, allocations: 30.05 kB / 0.8237 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.6246, allocations: 17.19 kB / 0.8237 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.625, allocations: 162.8 kB / 0.8239 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.6252, allocations: 0.689 MB / 0.8246 GB, free: 24.27 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.237e-05/0.6253, allocations: 10.44 kB / 0.8246 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.6253, allocations: 12.31 kB / 0.8246 GB, free: 24.25 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.6253, allocations: 3.938 kB / 0.8246 GB, free: 24.25 MB / 0.6387 GB Notification: Performance of Templates: time 0.00442/0.6297, allocations: 0.9942 MB / 0.8256 GB, free: 24.17 MB / 0.6387 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.825187712907791] Failed to read output from testmodel.py, exit status != 0: 0.6389252413064241 0.652703398 0.032933992 Calling exit ...