Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001577/0.001577, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001798/0.001798, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.048/1.048, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8837/0.8837, allocations: 154.9 MB / 415.1 MB, free: 212 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.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 480.4 MB, free: 6.441 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.954e-05, allocations: 6.25 kB / 480.4 MB, free: 6.434 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.00236/0.00239, allocations: 0.7721 MB / 481.2 MB, free: 5.703 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.003998, allocations: 1.137 MB / 482.3 MB, free: 4.562 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.412e-05/0.004052, allocations: 4 kB / 482.3 MB, free: 4.559 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.383e-05/0.004086, allocations: 4.5 kB / 482.3 MB, free: 4.555 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.755e-05/0.004183, allocations: 17.47 kB / 482.4 MB, free: 4.543 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.004481, allocations: 51.7 kB / 482.4 MB, free: 4.492 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.004612, allocations: 77.09 kB / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.35e-05/0.004705, allocations: 13.33 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.004822, allocations: 43.12 kB / 482.5 MB, free: 4.375 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.856e-05/0.00488, allocations: 23.91 kB / 482.6 MB, free: 4.352 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.0049, allocations: 9.922 kB / 482.6 MB, free: 4.344 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.221e-05/0.004982, allocations: 23.98 kB / 482.6 MB, free: 4.32 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.005006, allocations: 11.92 kB / 482.6 MB, free: 4.309 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.005037, allocations: 19.98 kB / 482.6 MB, free: 4.289 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.005183, allocations: 63.73 kB / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.005186, allocations: 1.094 kB / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.005187, allocations: 0 / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.00519, allocations: 4 kB / 482.7 MB, free: 4.223 MB / 442.7 MB 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.0003911/0.005582, allocations: 273.3 kB / 483 MB, free: 3.938 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.005619, allocations: 8.688 kB / 483 MB, free: 3.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.005656, allocations: 14.17 kB / 483 MB, free: 3.918 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.005761, allocations: 125.6 kB / 483.1 MB, free: 3.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.005773, allocations: 384 / 483.1 MB, free: 3.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.005786, allocations: 4.375 kB / 483.1 MB, free: 3.766 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.005923, allocations: 70 kB / 483.2 MB, free: 3.691 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.005931, allocations: 1.219 kB / 483.2 MB, free: 3.691 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.00594, allocations: 4.375 kB / 483.2 MB, free: 3.688 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.005948, allocations: 4.125 kB / 483.2 MB, free: 3.684 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.807e-05/0.005986, allocations: 11.98 kB / 483.2 MB, free: 3.672 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.006386, allocations: 188.2 kB / 483.4 MB, free: 3.473 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.298e-05/0.006469, allocations: 31.12 kB / 483.4 MB, free: 3.434 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.478e-05/0.006494, allocations: 17.88 kB / 483.4 MB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.006511, allocations: 0.9844 kB / 483.4 MB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.626e-05/0.006597, allocations: 64.23 kB / 483.5 MB, free: 3.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.006599, allocations: 0 / 483.5 MB, free: 3.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.000131/0.00673, allocations: 58.58 kB / 483.5 MB, free: 3.277 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.006771, allocations: 59.39 kB / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.91e-05/0.00685, allocations: 118.7 kB / 483.7 MB, free: 3.078 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.006864, allocations: 26.33 kB / 483.7 MB, free: 3.047 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.006917, allocations: 104.6 kB / 483.8 MB, free: 2.941 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.006939, allocations: 15.89 kB / 483.9 MB, free: 2.926 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.006986, allocations: 30.31 kB / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.363e-05/0.00708, allocations: 314.8 kB / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-05/0.007105, allocations: 12.61 kB / 484.2 MB, free: 2.562 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.852e-05/0.007153, allocations: 50.56 kB / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.67e-05/0.00724, allocations: 81.52 kB / 484.3 MB, free: 2.395 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.007242, allocations: 0 / 484.3 MB, free: 2.395 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000122/0.007364, allocations: 82.12 kB / 484.4 MB, free: 2.309 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.007377, allocations: 12.94 kB / 484.4 MB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007382, allocations: 0 / 484.4 MB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.007396, allocations: 4 kB / 484.4 MB, free: 2.293 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.827e-05/0.007494, allocations: 20.7 kB / 484.5 MB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.007497, allocations: 0 / 484.5 MB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.641e-05/0.007544, allocations: 10.28 kB / 484.5 MB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.007554, allocations: 4 kB / 484.5 MB, free: 2.262 MB / 442.7 MB 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.128e-05/0.007626, allocations: 123 kB / 484.6 MB, free: 2.133 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.007637, allocations: 7.938 kB / 484.6 MB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.007663, allocations: 12.44 kB / 484.6 MB, free: 2.113 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.007665, allocations: 1.25 kB / 484.6 MB, free: 2.113 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.007667, allocations: 0 / 484.6 MB, free: 2.113 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.00767, allocations: 0 / 484.6 MB, free: 2.113 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.007895, allocations: 227.6 kB / 484.8 MB, free: 1.867 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.007898, allocations: 3.938 kB / 484.8 MB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.187e-05/0.00793, allocations: 5.906 kB / 484.8 MB, free: 1.859 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.007934, allocations: 3.984 kB / 484.8 MB, free: 1.855 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.00794, allocations: 0 / 484.8 MB, free: 1.855 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.007942, allocations: 4 kB / 484.9 MB, free: 1.852 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.007944, allocations: 0 / 484.9 MB, free: 1.852 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.008045, allocations: 148.2 kB / 485 MB, free: 1.691 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.008059, allocations: 15.88 kB / 485 MB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.008071, allocations: 5.734 kB / 485 MB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.325e-05/0.008124, allocations: 0 / 485 MB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.008153, allocations: 9.141 kB / 485 MB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.008158, allocations: 0 / 485 MB, free: 1.664 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.38e-05/0.008182, allocations: 28 kB / 485.1 MB, free: 1.637 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008182, allocations: 1.094 kB / 485.1 MB, free: 1.637 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002344/0.008417, allocations: 16 kB / 485.1 MB, free: 1.621 MB / 442.7 MB 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.0001192/0.008536, allocations: 85.17 kB / 485.2 MB, free: 1.531 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.008639, allocations: 49.91 kB / 485.2 MB, free: 1.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.008641, allocations: 4.688 kB / 485.2 MB, free: 1.477 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.492e-05/0.008676, allocations: 16.86 kB / 485.2 MB, free: 1.457 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.008867, allocations: 20.92 kB / 485.2 MB, free: 1.438 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.009153, allocations: 150.5 kB / 485.4 MB, free: 1.258 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.264e-05/0.009196, allocations: 56.05 kB / 485.4 MB, free: 1.184 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.383e-05/0.00923, allocations: 11.33 kB / 485.5 MB, free: 1.176 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.269e-05/0.009292, allocations: 59.38 kB / 485.5 MB, free: 1.117 MB / 442.7 MB Notification: Performance of SimCode: time 8.51e-07/0.009293, allocations: 1.219 kB / 485.5 MB, free: 1.117 MB / 442.7 MB Notification: Performance of Templates: time 0.002809/0.0121, allocations: 1.062 MB / 486.6 MB, free: 140 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7533389730378985]