Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.001817/0.001817, 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.002084/0.002084, 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.592/1.592, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.407/1.407, allocations: 154.6 MB / 414.1 MB, free: 0.6602 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.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.955e-06/2.955e-06, allocations: 0 / 0.5197 GB, free: 2.449 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.155e-05/3.45e-05, allocations: 4.422 kB / 0.5197 GB, free: 2.445 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002708/0.002742, allocations: 0.8539 MB / 0.5205 GB, free: 1.617 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.004792, allocations: 1.21 MB / 0.5217 GB, free: 404 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.183e-05/0.004884, allocations: 0 / 0.5217 GB, free: 404 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.007e-05/0.004924, allocations: 7.875 kB / 0.5217 GB, free: 396 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.005041, allocations: 21.08 kB / 0.5217 GB, free: 376 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006135/0.005654, allocations: 148.2 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.005957, allocations: 167.6 kB / 0.522 GB, free: 60 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.006097, allocations: 30.89 kB / 0.5221 GB, free: 32 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.006312, allocations: 95.94 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.006431, allocations: 51.77 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.451e-05/0.006476, allocations: 16 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-05/0.006564, allocations: 29.12 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.006607, allocations: 23.92 kB / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.018e-05/0.006697, allocations: 51.89 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.007026, allocations: 188.2 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.007031, allocations: 0 / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.513e-06/0.007032, allocations: 1.219 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.00704, allocations: 0 / 0.5225 GB, free: 15.59 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009834/0.008024, allocations: 0.5239 MB / 0.523 GB, free: 15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.008082, allocations: 12.75 kB / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.008191, allocations: 21.47 kB / 0.523 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008692/0.00906, allocations: 185.5 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.009087, allocations: 8.375 kB / 0.5232 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.807e-05/0.009145, allocations: 13 kB / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.009379, allocations: 83.95 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.00939, allocations: 192 / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.009409, allocations: 12.3 kB / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.009419, allocations: 7.312 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.009551, allocations: 39.97 kB / 0.5234 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008204/0.01037, allocations: 371.5 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.01049, allocations: 39.05 kB / 0.5238 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.589e-05/0.01057, allocations: 27.8 kB / 0.5238 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.01059, allocations: 0.9062 kB / 0.5238 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.0108, allocations: 101.4 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.01081, allocations: 0.9375 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0004156/0.01122, allocations: 121.5 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.01128, allocations: 57 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.01148, allocations: 216.4 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.01152, allocations: 33.7 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.01165, allocations: 162.9 kB / 0.5245 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.01169, allocations: 32.7 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.01179, allocations: 55.31 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002951/0.01208, allocations: 0.504 MB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.01225, allocations: 87.72 kB / 0.5251 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.01253, allocations: 201.5 kB / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.0129, allocations: 241.7 kB / 0.5255 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.0129, allocations: 0 / 0.5255 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005363/0.01344, allocations: 287.4 kB / 0.5258 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.215e-05/0.01349, allocations: 37.69 kB / 0.5258 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.0135, allocations: 6.125 kB / 0.5259 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.01351, allocations: 4 kB / 0.5259 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.01362, allocations: 23.92 kB / 0.5259 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.01363, allocations: 4 kB / 0.5259 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.01381, allocations: 32.88 kB / 0.5259 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.01384, allocations: 11.98 kB / 0.5259 GB, free: 11.72 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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.0001719/0.01401, allocations: 185.8 kB / 0.5261 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.01404, allocations: 11.95 kB / 0.5261 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.01409, allocations: 17.42 kB / 0.5261 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01409, allocations: 3.344 kB / 0.5261 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.01409, allocations: 0 / 0.5261 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.0141, allocations: 4 kB / 0.5261 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006082/0.01471, allocations: 389.2 kB / 0.5265 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01471, allocations: 0 / 0.5265 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.914e-05/0.01479, allocations: 11.98 kB / 0.5265 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.01479, allocations: 4 kB / 0.5265 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.0148, allocations: 0 / 0.5265 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.0148, allocations: 3.062 kB / 0.5265 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01481, allocations: 0 / 0.5265 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.01523, allocations: 287.7 kB / 0.5268 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.01525, allocations: 7.953 kB / 0.5268 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.01527, allocations: 3.984 kB / 0.5268 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.01535, allocations: 11.94 kB / 0.5268 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.0154, allocations: 3.984 kB / 0.5268 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.01541, allocations: 13.72 kB / 0.5268 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001202/0.01553, allocations: 163.1 kB / 0.527 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01553, allocations: 0 / 0.527 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002866/0.01581, allocations: 31.88 kB / 0.527 GB, free: 10.53 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002008/0.01602, allocations: 106.1 kB / 0.5271 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004253/0.01644, allocations: 220.6 kB / 0.5273 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01644, allocations: 2.438 kB / 0.5273 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.01655, allocations: 47.59 kB / 0.5274 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.01686, allocations: 19.23 kB / 0.5274 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006079/0.01747, allocations: 259.4 kB / 0.5277 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.01757, allocations: 100.1 kB / 0.5277 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.465e-05/0.01764, allocations: 15.73 kB / 0.5278 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.01768, allocations: 16.5 kB / 0.5278 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/0.01768, allocations: 1.125 kB / 0.5278 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of Templates: time 0.006132/0.02381, allocations: 1.756 MB / 0.5295 GB, free: 8.066 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.25285265094135]