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.0008463/0.0008463, allocations: 81.17 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.0008462/0.0008462, allocations: 169 kB / 23.27 MB, free: 1.223 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.8915/0.8915, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.7538/0.7538, allocations: 154.6 MB / 414.8 MB, free: 0.5312 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.964e-06/1.964e-06, allocations: 0 / 0.5207 GB, free: 1.938 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.34e-05, allocations: 8.141 kB / 0.5207 GB, free: 1.93 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001308/0.001332, allocations: 0.7244 MB / 0.5215 GB, free: 1.227 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.002458, allocations: 1.222 MB / 0.5227 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.926e-05/0.002507, allocations: 0 / 0.5227 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.61e-05/0.002534, allocations: 3.938 kB / 0.5227 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.107e-05/0.002605, allocations: 8.844 kB / 0.5227 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.002981, allocations: 148.2 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.003117, allocations: 128.7 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.753e-05/0.003204, allocations: 24.08 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.00331, allocations: 69.7 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.829e-05/0.003379, allocations: 39.86 kB / 0.5231 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.003401, allocations: 8 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.894e-05/0.00346, allocations: 24 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.00348, allocations: 15.92 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.003518, allocations: 40.52 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.003649, allocations: 104.2 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003651, allocations: 0 / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003651, allocations: 4.969 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.003655, allocations: 0 / 0.5232 GB, free: 15.39 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.0003875/0.004042, allocations: 447.2 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.004075, allocations: 8.031 kB / 0.5237 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.297e-05/0.004158, allocations: 16.83 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.724e-05/0.004226, allocations: 125.1 kB / 0.5238 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.00424, allocations: 8.359 kB / 0.5238 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.004253, allocations: 10 kB / 0.5238 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.731e-05/0.00435, allocations: 74.81 kB / 0.5239 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.004357, allocations: 192 / 0.5239 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.004364, allocations: 4.359 kB / 0.5239 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.00437, allocations: 9.188 kB / 0.5239 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.406e-05/0.004394, allocations: 12 kB / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002875/0.004681, allocations: 301.1 kB / 0.5242 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.416e-05/0.004745, allocations: 44.28 kB / 0.5243 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/0.004761, allocations: 11.69 kB / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.004777, allocations: 4 kB / 0.5243 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.458e-05/0.004862, allocations: 81.83 kB / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.004863, allocations: 0 / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001565/0.00502, allocations: 94.22 kB / 0.5244 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.005047, allocations: 56.31 kB / 0.5245 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.715e-05/0.005114, allocations: 177.9 kB / 0.5247 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.00513, allocations: 29.7 kB / 0.5247 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.005178, allocations: 143.4 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.005195, allocations: 20.34 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.005242, allocations: 44.16 kB / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.005343, allocations: 0.4923 MB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.981e-05/0.005393, allocations: 53.69 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.04e-05/0.005463, allocations: 120.8 kB / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.9e-05/0.005552, allocations: 131.7 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.005554, allocations: 3.938 kB / 0.5257 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001828/0.005737, allocations: 205.8 kB / 0.5259 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.005763, allocations: 36.45 kB / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.005767, allocations: 1.25 kB / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.005778, allocations: 0 / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.056e-05/0.005839, allocations: 15.98 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.005842, allocations: 9.531 kB / 0.5259 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.273e-05/0.005925, allocations: 31.92 kB / 0.526 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.005938, allocations: 7.984 kB / 0.526 GB, free: 12.33 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.401e-05/0.006012, allocations: 167.4 kB / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.006158, allocations: 17.53 kB / 0.5261 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.006267, allocations: 94.03 kB / 0.5262 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.006269, allocations: 0 / 0.5262 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.00627, allocations: 0 / 0.5262 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.006273, allocations: 1.406 kB / 0.5262 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.006439, allocations: 314 kB / 0.5265 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.006442, allocations: 3.938 kB / 0.5265 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-05/0.00647, allocations: 7.984 kB / 0.5265 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.217e-06/0.006473, allocations: 6.75 kB / 0.5265 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-06/0.006477, allocations: 0 / 0.5265 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.006479, allocations: 0 / 0.5265 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006479, allocations: 3.938 kB / 0.5265 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.006582, allocations: 231.9 kB / 0.5268 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-06/0.006591, allocations: 11.89 kB / 0.5268 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.006602, allocations: 4 kB / 0.5268 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.603e-05/0.006638, allocations: 14.23 kB / 0.5268 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.006661, allocations: 0 / 0.5268 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.006667, allocations: 7.984 kB / 0.5268 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.369e-05/0.006701, allocations: 123.2 kB / 0.5269 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006701, allocations: 4 kB / 0.5269 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001778/0.006878, allocations: 27.98 kB / 0.527 GB, free: 11.25 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.006973, allocations: 96.06 kB / 0.527 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.00712, allocations: 170 kB / 0.5272 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.007122, allocations: 0 / 0.5272 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.809e-05/0.00715, allocations: 31.11 kB / 0.5272 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.00733, allocations: 15.92 kB / 0.5273 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.0077, allocations: 186.3 kB / 0.5274 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.173e-05/0.007732, allocations: 59.34 kB / 0.5275 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.036e-05/0.007753, allocations: 6.938 kB / 0.5275 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.181e-05/0.007834, allocations: 94.17 kB / 0.5276 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.007835, allocations: 0 / 0.5276 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of Templates: time 0.003212/0.01105, allocations: 1.694 MB / 0.5292 GB, free: 8.949 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.3080731998197734]