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.001466/0.001466, 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.001589/0.001589, allocations: 169 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.9871/0.9871, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.7886/0.7886, allocations: 154.9 MB / 414.8 MB, free: 368 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.344e-06/2.344e-06, allocations: 0 / 0.5207 GB, free: 1.77 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.825e-05, allocations: 5.234 kB / 0.5207 GB, free: 1.766 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.004725/0.004753, allocations: 0.7413 MB / 0.5214 GB, free: 1.047 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.006039, allocations: 1.117 MB / 0.5225 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.934e-05/0.006088, allocations: 7.938 kB / 0.5225 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.63e-05/0.006124, allocations: 8.766 kB / 0.5225 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.333e-05/0.006208, allocations: 11.16 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.006552, allocations: 56.98 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.006674, allocations: 79.69 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.006777, allocations: 8.188 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.039e-05/0.006868, allocations: 44.53 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.97e-05/0.006917, allocations: 25.77 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.006937, allocations: 11.94 kB / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.66e-05/0.006993, allocations: 15.98 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.007016, allocations: 15.97 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.00705, allocations: 19.92 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.007181, allocations: 61.42 kB / 0.5229 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.007184, allocations: 0 / 0.5229 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.283e-06/0.007185, allocations: 0 / 0.5229 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.00719, allocations: 0 / 0.5229 GB, free: 15.56 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.003483/0.01067, allocations: 401.7 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.01071, allocations: 8.031 kB / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.01076, allocations: 16.81 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.413e-05/0.01086, allocations: 120.5 kB / 0.5234 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.01087, allocations: 5 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.01089, allocations: 9.125 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.01102, allocations: 66.94 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.01103, allocations: 1.656 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.01104, allocations: 384 / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.01104, allocations: 4.125 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.435e-05/0.01108, allocations: 15.92 kB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.01153, allocations: 300.9 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.759e-05/0.01163, allocations: 50.7 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.761e-05/0.01165, allocations: 15.81 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.01167, allocations: 7.938 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.512e-05/0.01176, allocations: 61.05 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.01176, allocations: 4 kB / 0.5239 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002094/0.01197, allocations: 89.78 kB / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.01201, allocations: 55.39 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.502e-05/0.0121, allocations: 177.9 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.01212, allocations: 29.7 kB / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.01218, allocations: 151.2 kB / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.0122, allocations: 8.438 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.01224, allocations: 35.36 kB / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.01237, allocations: 0.4928 MB / 0.5249 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.342e-05/0.0124, allocations: 8.969 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-05/0.01247, allocations: 69.8 kB / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.79e-05/0.01256, allocations: 100.4 kB / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01257, allocations: 0 / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001548/0.01272, allocations: 103.3 kB / 0.5252 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.01274, allocations: 4 kB / 0.5252 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.01274, allocations: 0.5625 kB / 0.5252 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.01275, allocations: 6.062 kB / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.01286, allocations: 19.92 kB / 0.5252 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.01286, allocations: 4 kB / 0.5252 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.01291, allocations: 12 kB / 0.5252 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.01292, allocations: 7.984 kB / 0.5252 GB, free: 12.89 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 7.815e-05/0.013, allocations: 171.2 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.01302, allocations: 15.83 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.35e-05/0.01304, allocations: 12.44 kB / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.01304, allocations: 0 / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.01305, allocations: 0 / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01305, allocations: 0 / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/0.01639, allocations: 333.4 kB / 0.5257 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01639, allocations: 1.594 kB / 0.5257 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.544e-05/0.01644, allocations: 15.92 kB / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01644, allocations: 3.938 kB / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.01645, allocations: 0 / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.01645, allocations: 4.938 kB / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.01645, allocations: 0 / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.01658, allocations: 219.8 kB / 0.526 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.946e-06/0.01659, allocations: 8.891 kB / 0.526 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.01661, allocations: 3.984 kB / 0.526 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.19e-05/0.01666, allocations: 4.656 kB / 0.526 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.01669, allocations: 7.984 kB / 0.526 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.0167, allocations: 4.75 kB / 0.526 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.751e-05/0.01678, allocations: 138.3 kB / 0.5261 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01678, allocations: 2.812 kB / 0.5261 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002436/0.01702, allocations: 15.94 kB / 0.5262 GB, free: 11.89 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.0001314/0.01715, allocations: 103.2 kB / 0.5263 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.01728, allocations: 58.7 kB / 0.5263 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.01728, allocations: 0 / 0.5263 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.538e-05/0.01733, allocations: 23.67 kB / 0.5263 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.01758, allocations: 11.94 kB / 0.5263 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.01788, allocations: 170.6 kB / 0.5265 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.176e-05/0.01792, allocations: 61.16 kB / 0.5266 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.536e-05/0.01794, allocations: 4 kB / 0.5266 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.01797, allocations: 16.48 kB / 0.5266 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of SimCode: time 3.61e-07/0.01797, allocations: 0 / 0.5266 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.004821/0.02279, allocations: 1.104 MB / 0.5277 GB, free: 10.36 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.907835002988577]