Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.0008827/0.0008827, 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.000922/0.000922, allocations: 169 kB / 23.02 MB, free: 1.547 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.8913/0.8913, allocations: 177.1 MB / 203.4 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7649/0.7649, allocations: 154.6 MB / 414.5 MB, free: 0.668 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.5203 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.957e-05, allocations: 3.625 kB / 0.5203 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001211/0.001231, allocations: 0.74 MB / 0.521 GB, free: 1.5 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.002473, allocations: 1.22 MB / 0.5222 GB, free: 276 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.002521, allocations: 4 kB / 0.5222 GB, free: 272 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/0.00255, allocations: 3.938 kB / 0.5222 GB, free: 268 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.031e-05/0.002621, allocations: 16.8 kB / 0.5222 GB, free: 252 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.003007, allocations: 132.5 kB / 0.5224 GB, free: 120 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.003172, allocations: 133.5 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.184e-05/0.003264, allocations: 16.17 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.003367, allocations: 75.86 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.778e-05/0.003434, allocations: 39.88 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.003456, allocations: 12 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.003518, allocations: 24.55 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.003539, allocations: 17.52 kB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.906e-05/0.003588, allocations: 39.89 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.00373, allocations: 103.7 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003731, allocations: 0 / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.92e-07/0.003732, allocations: 1.031 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.003736, allocations: 0 / 0.5228 GB, free: 15.66 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000435/0.004171, allocations: 442 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.004209, allocations: 13.25 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.004314, allocations: 12.89 kB / 0.5233 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.584e-05/0.004399, allocations: 132 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.004414, allocations: 8.984 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.00443, allocations: 8.375 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.004554, allocations: 72.62 kB / 0.5235 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.004562, allocations: 192 / 0.5235 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.004573, allocations: 384 / 0.5235 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.004582, allocations: 8.125 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.785e-05/0.00462, allocations: 13.23 kB / 0.5235 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.004991, allocations: 323.6 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.601e-05/0.005087, allocations: 43.8 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.22e-05/0.005119, allocations: 20.81 kB / 0.5239 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.005137, allocations: 4.031 kB / 0.5239 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.595e-05/0.005233, allocations: 77.09 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.005235, allocations: 0.7188 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001954/0.00543, allocations: 109.8 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.005466, allocations: 63.95 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.593e-05/0.005542, allocations: 169.9 kB / 0.5243 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.005559, allocations: 34.8 kB / 0.5243 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.005612, allocations: 142.8 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.005632, allocations: 20.56 kB / 0.5245 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/0.005683, allocations: 43.36 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.005791, allocations: 0.4891 MB / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-05/0.005863, allocations: 61.67 kB / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.444e-05/0.005948, allocations: 123.1 kB / 0.5251 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.006134, allocations: 131.8 kB / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.006136, allocations: 0 / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002257/0.006362, allocations: 221.6 kB / 0.5255 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.00639, allocations: 37.69 kB / 0.5255 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.006396, allocations: 0.5625 kB / 0.5255 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.00641, allocations: 4.938 kB / 0.5255 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.685e-05/0.006487, allocations: 8 kB / 0.5255 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.006494, allocations: 9.578 kB / 0.5255 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.87e-05/0.006583, allocations: 27.94 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.006597, allocations: 8 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.987e-05/0.006677, allocations: 171.3 kB / 0.5257 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.006691, allocations: 17.48 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.006814, allocations: 90.09 kB / 0.5258 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.006817, allocations: 4 kB / 0.5258 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.00682, allocations: 0 / 0.5258 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.006823, allocations: 48 / 0.5258 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.007018, allocations: 352 kB / 0.5262 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.007019, allocations: 3.938 kB / 0.5262 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.865e-05/0.007047, allocations: 4 kB / 0.5262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.007049, allocations: 0 / 0.5262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.007057, allocations: 7.984 kB / 0.5262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.007058, allocations: 4 kB / 0.5262 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007059, allocations: 0 / 0.5262 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.007183, allocations: 237.9 kB / 0.5264 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-06/0.007191, allocations: 11.89 kB / 0.5264 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.007201, allocations: 0 / 0.5264 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.402e-05/0.007235, allocations: 4 kB / 0.5264 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.007268, allocations: 3.984 kB / 0.5264 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.007275, allocations: 8.938 kB / 0.5265 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.756e-05/0.007313, allocations: 131.2 kB / 0.5266 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007313, allocations: 0 / 0.5266 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001673/0.00748, allocations: 24.72 kB / 0.5266 GB, free: 11.42 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.515e-05/0.007575, allocations: 103.9 kB / 0.5267 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001774/0.007753, allocations: 168 kB / 0.5269 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.007754, allocations: 0 / 0.5269 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.816e-05/0.007792, allocations: 31.61 kB / 0.5269 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.00798, allocations: 23.86 kB / 0.5269 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004294/0.008409, allocations: 192.3 kB / 0.5271 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.347e-05/0.008443, allocations: 59.34 kB / 0.5272 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.081e-05/0.008464, allocations: 4 kB / 0.5272 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.008489, allocations: 16.5 kB / 0.5272 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/0.00849, allocations: 0 / 0.5272 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of Templates: time 0.003264/0.01175, allocations: 1.684 MB / 0.5288 GB, free: 9.191 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.390129849780351]