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.001447/0.001447, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.001661/0.001661, allocations: 169 kB / 23.28 MB, free: 1.219 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.9088/0.9088, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.7436/0.7436, allocations: 154.9 MB / 415.1 MB, free: 244 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.155e-06/2.155e-06, allocations: 0 / 0.5211 GB, free: 1.496 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.126e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.492 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001625/0.001656, allocations: 0.7364 MB / 0.5219 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.002862, allocations: 1.118 MB / 0.5229 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.002915, allocations: 4 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.002947, allocations: 4.875 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.026e-05/0.003027, allocations: 15.84 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.003331, allocations: 60.67 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.918e-05/0.00343, allocations: 71.77 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.642e-05/0.003526, allocations: 13.92 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.732e-05/0.003624, allocations: 39.91 kB / 0.5231 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.003669, allocations: 31.89 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.003687, allocations: 4 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.864e-05/0.003746, allocations: 16.55 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.00377, allocations: 15.98 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.003795, allocations: 20.42 kB / 0.5232 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.003914, allocations: 64.67 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.003918, allocations: 0 / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003919, allocations: 0 / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.003924, allocations: 0.8438 kB / 0.5233 GB, free: 15.29 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.0004526/0.004377, allocations: 396.4 kB / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.004434, allocations: 12.66 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.004479, allocations: 13.95 kB / 0.5237 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.004601, allocations: 120.5 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.004616, allocations: 4.375 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.004631, allocations: 9.125 kB / 0.5238 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.004795, allocations: 62.88 kB / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.004807, allocations: 1.875 kB / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.004821, allocations: 8.375 kB / 0.5239 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.004832, allocations: 8.109 kB / 0.5239 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.37e-05/0.004866, allocations: 7.984 kB / 0.5239 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.005303, allocations: 285.9 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.579e-05/0.005378, allocations: 43.05 kB / 0.5242 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.005395, allocations: 12.44 kB / 0.5242 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.005417, allocations: 7.984 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.282e-05/0.005499, allocations: 66.23 kB / 0.5243 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.794e-06/0.005501, allocations: 0 / 0.5243 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001526/0.005654, allocations: 81.78 kB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.005688, allocations: 60.59 kB / 0.5244 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.152e-05/0.005769, allocations: 177.9 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.005783, allocations: 29.7 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.005838, allocations: 149 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.005857, allocations: 11.91 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.005901, allocations: 35.34 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.006012, allocations: 0.4923 MB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.006029, allocations: 4 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-05/0.006076, allocations: 81.5 kB / 0.5254 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.249e-05/0.006149, allocations: 87.98 kB / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.006152, allocations: 4.906 kB / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001089/0.006261, allocations: 95.31 kB / 0.5256 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.006273, allocations: 7.938 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.006278, allocations: 5.031 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.00629, allocations: 0 / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.331e-05/0.006373, allocations: 19.98 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.006376, allocations: 2.906 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.00641, allocations: 11.98 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.00642, allocations: 4 kB / 0.5256 GB, free: 12.68 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 0.0002496/0.006669, allocations: 168.5 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.006684, allocations: 15.89 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.006711, allocations: 8.438 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.006713, allocations: 0 / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.006715, allocations: 3.031 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.00672, allocations: 3.984 kB / 0.5258 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.00695, allocations: 310 kB / 0.5261 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.006953, allocations: 3.938 kB / 0.5261 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.006986, allocations: 8 kB / 0.5261 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.006989, allocations: 0 / 0.5261 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.006994, allocations: 4 kB / 0.5261 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.006996, allocations: 3.984 kB / 0.5261 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.006998, allocations: 1.5 kB / 0.5261 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.007124, allocations: 224.2 kB / 0.5263 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.007135, allocations: 7.953 kB / 0.5263 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.007146, allocations: 7.938 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.414e-05/0.00719, allocations: 11.05 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.00722, allocations: 4 kB / 0.5264 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.007225, allocations: 0 / 0.5264 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.875e-05/0.007273, allocations: 139.2 kB / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007273, allocations: 0 / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001688/0.007442, allocations: 12 kB / 0.5265 GB, free: 11.7 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 0.0001515/0.007594, allocations: 109.6 kB / 0.5266 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.007702, allocations: 47.59 kB / 0.5267 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.007704, allocations: 0 / 0.5267 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.128e-05/0.007736, allocations: 19.62 kB / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.007935, allocations: 21.2 kB / 0.5267 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.008228, allocations: 163.5 kB / 0.5269 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.549e-05/0.008264, allocations: 63.34 kB / 0.5269 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.614e-05/0.00829, allocations: 5.156 kB / 0.5269 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/0.008358, allocations: 82.19 kB / 0.527 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of SimCode: time 1.353e-06/0.008359, allocations: 1.781 kB / 0.527 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of Templates: time 0.002898/0.01126, allocations: 1.119 MB / 0.5281 GB, free: 10.09 MB / 0.4948 GB " [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 -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.437510867137462]