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.002225/0.002225, allocations: 85.48 kB / 19.44 MB, free: 344 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.00257/0.00257, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.617/1.617, allocations: 177.1 MB / 203.1 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 178] 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 1.348/1.348, allocations: 154.6 MB / 414.1 MB, free: 0.582 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 178] 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 2.575e-06/2.575e-06, allocations: 0 / 0.5196 GB, free: 2.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.534e-05/3.791e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002096/0.002134, allocations: 0.7389 MB / 0.5203 GB, free: 1.824 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.004347, allocations: 1.19 MB / 0.5215 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/0.004401, allocations: 1.5 kB / 0.5215 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.004437, allocations: 11.92 kB / 0.5215 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.103e-05/0.004528, allocations: 11.86 kB / 0.5215 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.005039, allocations: 136.6 kB / 0.5216 GB, free: 476 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.005281, allocations: 132.9 kB / 0.5218 GB, free: 344 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.005397, allocations: 20.16 kB / 0.5218 GB, free: 320 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.005556, allocations: 75.86 kB / 0.5219 GB, free: 244 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.005661, allocations: 32.52 kB / 0.5219 GB, free: 212 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.005697, allocations: 12 kB / 0.5219 GB, free: 200 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.561e-05/0.005793, allocations: 37.59 kB / 0.5219 GB, free: 164 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.424e-05/0.005827, allocations: 15.92 kB / 0.5219 GB, free: 148 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.921e-05/0.005906, allocations: 35.97 kB / 0.522 GB, free: 112 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.006205, allocations: 135.6 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.006208, allocations: 1.281 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.006209, allocations: 0 / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.006215, allocations: 0 / 0.5221 GB, free: 15.98 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.0007667/0.006982, allocations: 449.7 kB / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.007026, allocations: 8.75 kB / 0.5225 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.007202, allocations: 22.02 kB / 0.5226 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.007353, allocations: 120.5 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.007377, allocations: 8.375 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.007403, allocations: 8.375 kB / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.007601, allocations: 58.95 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.007614, allocations: 8.719 kB / 0.5228 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.00763, allocations: 8.359 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.007638, allocations: 5.25 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.007781, allocations: 27.98 kB / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006871/0.008468, allocations: 336.3 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.008667, allocations: 63.77 kB / 0.5232 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.386e-05/0.008751, allocations: 35.05 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.008778, allocations: 0 / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.009012, allocations: 89.02 kB / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.009013, allocations: 0 / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0004343/0.009447, allocations: 133.5 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.009505, allocations: 59.41 kB / 0.5235 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.009667, allocations: 186 kB / 0.5237 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.009702, allocations: 29.7 kB / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.009815, allocations: 147.4 kB / 0.5238 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.009852, allocations: 23.83 kB / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.009954, allocations: 48.3 kB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002858/0.01024, allocations: 0.4923 MB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.01041, allocations: 83.27 kB / 0.5245 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.01064, allocations: 143.8 kB / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.01094, allocations: 166.6 kB / 0.5248 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01094, allocations: 0 / 0.5248 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004877/0.01143, allocations: 253.5 kB / 0.525 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.686e-05/0.01148, allocations: 45.62 kB / 0.525 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01149, allocations: 1.938 kB / 0.525 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.01151, allocations: 4 kB / 0.5251 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.01162, allocations: 15.98 kB / 0.5251 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.01163, allocations: 3.938 kB / 0.5251 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.01179, allocations: 26.69 kB / 0.5251 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.01183, allocations: 15.97 kB / 0.5251 GB, free: 12.63 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 0.000161/0.01199, allocations: 172.6 kB / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.01201, allocations: 11.89 kB / 0.5253 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.01229, allocations: 116.1 kB / 0.5254 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.0123, allocations: 3.984 kB / 0.5254 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.0123, allocations: 4 kB / 0.5254 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01231, allocations: 0 / 0.5254 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004514/0.01276, allocations: 361.4 kB / 0.5257 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01276, allocations: 0.9375 kB / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.713e-05/0.01281, allocations: 11.98 kB / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01281, allocations: 0.7188 kB / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.01282, allocations: 0 / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01282, allocations: 0.6562 kB / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01282, allocations: 0 / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.01317, allocations: 275 kB / 0.526 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.492e-05/0.01318, allocations: 7.938 kB / 0.526 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.0132, allocations: 4 kB / 0.526 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.665e-05/0.01327, allocations: 4 kB / 0.526 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.01333, allocations: 16.02 kB / 0.5261 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.01333, allocations: 0 / 0.5261 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001069/0.01344, allocations: 135.2 kB / 0.5262 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01344, allocations: 4 kB / 0.5262 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002592/0.0137, allocations: 31.08 kB / 0.5262 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 0.0002017/0.0139, allocations: 99.23 kB / 0.5263 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000442/0.01434, allocations: 216.6 kB / 0.5265 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01435, allocations: 0 / 0.5265 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.01446, allocations: 53.41 kB / 0.5266 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.01476, allocations: 14.28 kB / 0.5266 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.01521, allocations: 177.3 kB / 0.5268 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.786e-05/0.01529, allocations: 75.33 kB / 0.5268 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.309e-05/0.01533, allocations: 4 kB / 0.5268 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.01536, allocations: 16.5 kB / 0.5268 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.01536, allocations: 3.969 kB / 0.5268 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.005559/0.02092, allocations: 1.559 MB / 0.5284 GB, free: 9.242 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: 6.272098623099737]