Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009672/0.0009672, allocations: 81.08 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.001012/0.001012, allocations: 169 kB / 23.28 MB, free: 1.215 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.8878/0.8878, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.76/0.76, allocations: 154.9 MB / 415.1 MB, free: 252 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.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5212 GB, free: 1.449 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/2.025e-05, allocations: 2.859 kB / 0.5212 GB, free: 1.445 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001382/0.001402, allocations: 0.8612 MB / 0.522 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.002629, allocations: 1.227 MB / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.06e-05/0.002689, allocations: 1.281 kB / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.611e-05/0.002726, allocations: 11.86 kB / 0.5232 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.008e-05/0.002806, allocations: 20.31 kB / 0.5233 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.003212, allocations: 144.8 kB / 0.5234 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.003373, allocations: 171.6 kB / 0.5236 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.003477, allocations: 25.3 kB / 0.5236 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.00361, allocations: 100.3 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.83e-05/0.003708, allocations: 44.89 kB / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.003733, allocations: 13.19 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.236e-05/0.003795, allocations: 31.88 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.003822, allocations: 23.91 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.749e-05/0.003869, allocations: 45.67 kB / 0.5238 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.004027, allocations: 119.6 kB / 0.5239 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004029, allocations: 0 / 0.5239 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.12e-07/0.00403, allocations: 0 / 0.5239 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.075e-06/0.004033, allocations: 0 / 0.5239 GB, free: 14.64 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.0005462/0.004579, allocations: 0.5181 MB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.004618, allocations: 8.031 kB / 0.5245 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.004661, allocations: 20.89 kB / 0.5245 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.004806, allocations: 166 kB / 0.5246 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.004816, allocations: 4.375 kB / 0.5246 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.00484, allocations: 16.38 kB / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.004957, allocations: 78.92 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.004965, allocations: 4.922 kB / 0.5247 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.004976, allocations: 4.359 kB / 0.5247 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.004982, allocations: 5.781 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.361e-05/0.005006, allocations: 15.92 kB / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.005404, allocations: 340.1 kB / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.108e-05/0.005445, allocations: 32.34 kB / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.776e-05/0.005462, allocations: 19.56 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.005481, allocations: 4 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.444e-05/0.005575, allocations: 82.41 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.005577, allocations: 0 / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0001612/0.005738, allocations: 96.28 kB / 0.5253 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.005764, allocations: 55.41 kB / 0.5254 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.695e-05/0.005861, allocations: 200.5 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.005881, allocations: 33.7 kB / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.005952, allocations: 162.8 kB / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.005973, allocations: 27.73 kB / 0.5258 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.86e-05/0.006032, allocations: 51.33 kB / 0.5258 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.006163, allocations: 0.4967 MB / 0.5263 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.006224, allocations: 62.14 kB / 0.5264 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.006327, allocations: 176.4 kB / 0.5265 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.006466, allocations: 219.2 kB / 0.5267 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.006468, allocations: 0 / 0.5267 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002162/0.006685, allocations: 231.5 kB / 0.527 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.00672, allocations: 39.73 kB / 0.527 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.006728, allocations: 4 kB / 0.527 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.006743, allocations: 4 kB / 0.527 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.453e-05/0.006807, allocations: 23.92 kB / 0.527 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.006813, allocations: 7.938 kB / 0.527 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.792e-05/0.006911, allocations: 37.33 kB / 0.5271 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.006925, allocations: 8 kB / 0.5271 GB, free: 11.09 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 9.565e-05/0.007021, allocations: 172.9 kB / 0.5272 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.007036, allocations: 18.05 kB / 0.5273 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.007073, allocations: 12.78 kB / 0.5273 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.007074, allocations: 0 / 0.5273 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.007076, allocations: 0 / 0.5273 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.007079, allocations: 0 / 0.5273 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.007365, allocations: 344.2 kB / 0.5276 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.007366, allocations: 0 / 0.5276 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.007407, allocations: 11.98 kB / 0.5276 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.007409, allocations: 4 kB / 0.5276 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.007417, allocations: 4 kB / 0.5276 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.007418, allocations: 0 / 0.5276 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.007419, allocations: 3.938 kB / 0.5276 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.007574, allocations: 261 kB / 0.5279 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-06/0.007584, allocations: 7.906 kB / 0.5279 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.007597, allocations: 4 kB / 0.5279 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.413e-05/0.007641, allocations: 15.98 kB / 0.5279 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.007673, allocations: 3.984 kB / 0.5279 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.00768, allocations: 5.031 kB / 0.5279 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.318e-05/0.007723, allocations: 149.9 kB / 0.5281 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007723, allocations: 0.9375 kB / 0.5281 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001865/0.00791, allocations: 31.94 kB / 0.5281 GB, free: 10.01 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.0001224/0.008032, allocations: 103.9 kB / 0.5282 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002173/0.00825, allocations: 171 kB / 0.5283 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.008252, allocations: 0 / 0.5283 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.236e-05/0.008294, allocations: 34.48 kB / 0.5284 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.008486, allocations: 27.92 kB / 0.5284 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.00886, allocations: 254.6 kB / 0.5286 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.777e-05/0.008898, allocations: 67.84 kB / 0.5287 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.063e-05/0.008939, allocations: 16.98 kB / 0.5287 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.521e-05/0.009024, allocations: 98.17 kB / 0.5288 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/0.009025, allocations: 0 / 0.5288 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of Templates: time 0.003563/0.01259, allocations: 1.902 MB / 0.5307 GB, free: 7.402 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5514142368920147]