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.00107/0.00107, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009068/0.0009068, allocations: 173 kB / 23.02 MB, free: 1.551 MB / 18.57 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.9206/0.9206, allocations: 177.2 MB / 203.4 MB, free: 5.633 MB / 186.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-535:34: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-535:42: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.7437/0.7437, allocations: 154.9 MB / 414.8 MB, free: 392 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5207 GB, free: 1.824 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.543e-05, allocations: 7.594 kB / 0.5207 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001147/0.001163, allocations: 0.7394 MB / 0.5214 GB, free: 1.102 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009912/0.002154, allocations: 1.123 MB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.043e-05/0.002194, allocations: 4.719 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.002223, allocations: 3.938 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.059e-05/0.002294, allocations: 16.89 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.002565, allocations: 55.75 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.858e-05/0.002664, allocations: 74.59 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.002766, allocations: 12.17 kB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.495e-05/0.002861, allocations: 47.89 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.858e-05/0.002909, allocations: 23.91 kB / 0.5228 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.00293, allocations: 8 kB / 0.5228 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.936e-05/0.002989, allocations: 15.98 kB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.003014, allocations: 23.91 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.003042, allocations: 8.625 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.003159, allocations: 67.78 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003161, allocations: 1.219 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.41e-07/0.003161, allocations: 0 / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.003165, allocations: 0 / 0.5229 GB, free: 15.61 MB / 0.4948 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.0003918/0.003557, allocations: 401.4 kB / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.00359, allocations: 8.031 kB / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.003634, allocations: 17.8 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.223e-05/0.003717, allocations: 120.5 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.003728, allocations: 4.375 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.003739, allocations: 5.375 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.003852, allocations: 66.94 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.003859, allocations: 5.094 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.003867, allocations: 384 / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.003874, allocations: 4.125 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.427e-05/0.003908, allocations: 20.83 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.00428, allocations: 296.9 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.073e-05/0.00436, allocations: 51.08 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/0.004385, allocations: 15.81 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.004404, allocations: 4.562 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.717e-05/0.004491, allocations: 66.86 kB / 0.5239 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.004492, allocations: 0 / 0.5239 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001754/0.004668, allocations: 85.56 kB / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.004701, allocations: 51.41 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.987e-05/0.00478, allocations: 181.9 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.004794, allocations: 31.3 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.004847, allocations: 146.8 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.004863, allocations: 11.91 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.0049, allocations: 35.36 kB / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.943e-05/0.004999, allocations: 497.4 kB / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/0.005023, allocations: 11.98 kB / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.893e-05/0.005072, allocations: 76.53 kB / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.562e-05/0.005148, allocations: 92.5 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.00515, allocations: 0 / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001099/0.00526, allocations: 112.3 kB / 0.5252 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.005271, allocations: 4 kB / 0.5252 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.005276, allocations: 4 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.005289, allocations: 0 / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.527e-05/0.005374, allocations: 29.83 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.005379, allocations: 0 / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.352e-05/0.005412, allocations: 8 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.005422, allocations: 11.98 kB / 0.5252 GB, free: 12.94 MB / 0.4948 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.602e-05/0.005488, allocations: 169.8 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.0055, allocations: 19.81 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.893e-05/0.005519, allocations: 8.438 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.005521, allocations: 0 / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.005524, allocations: 4 kB / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.005527, allocations: 0 / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.005739, allocations: 333.4 kB / 0.5257 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.00574, allocations: 0 / 0.5257 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.248e-05/0.005763, allocations: 9.625 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.005765, allocations: 4 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.005772, allocations: 3.984 kB / 0.5258 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.005773, allocations: 0 / 0.5258 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.005777, allocations: 0.9375 kB / 0.5258 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.005886, allocations: 228.2 kB / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-06/0.005893, allocations: 7.953 kB / 0.526 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.005904, allocations: 4.875 kB / 0.526 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.323e-05/0.005937, allocations: 7.984 kB / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.005967, allocations: 0.5312 kB / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.005975, allocations: 10.3 kB / 0.526 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.761e-05/0.006012, allocations: 131.2 kB / 0.5261 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006012, allocations: 0 / 0.5261 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001602/0.006172, allocations: 23.92 kB / 0.5262 GB, free: 11.93 MB / 0.4948 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.342e-05/0.006266, allocations: 103.2 kB / 0.5263 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.006373, allocations: 49.12 kB / 0.5263 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.006374, allocations: 0.6562 kB / 0.5263 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/0.006409, allocations: 23.69 kB / 0.5263 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.006592, allocations: 19.39 kB / 0.5264 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.006917, allocations: 170.6 kB / 0.5265 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.317e-05/0.006961, allocations: 63.28 kB / 0.5266 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.538e-05/0.006986, allocations: 4 kB / 0.5266 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.007015, allocations: 15.62 kB / 0.5266 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of SimCode: time 1.453e-06/0.007017, allocations: 0 / 0.5266 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.00269/0.009706, allocations: 1.101 MB / 0.5277 GB, free: 10.42 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.586233828216791]