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.0009016/0.0009016, allocations: 92.22 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.0009044/0.0009044, 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 1.012/1.012, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.8009/0.8009, allocations: 154.9 MB / 414.8 MB, free: 432 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 2.094e-06/2.094e-06, allocations: 0 / 0.5207 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.24e-05/3.45e-05, allocations: 5.25 kB / 0.5207 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001634/0.001668, allocations: 0.8639 MB / 0.5216 GB, free: 15.86 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.003008, allocations: 1.221 MB / 0.5228 GB, free: 14.63 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.024e-05/0.003078, allocations: 4 kB / 0.5228 GB, free: 14.62 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.304e-05/0.003111, allocations: 9.062 kB / 0.5228 GB, free: 14.62 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 8.135e-05/0.003192, allocations: 23.73 kB / 0.5228 GB, free: 14.59 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004798/0.003672, allocations: 153.1 kB / 0.523 GB, free: 14.45 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.003903, allocations: 167.6 kB / 0.5231 GB, free: 14.28 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.004032, allocations: 25.28 kB / 0.5231 GB, free: 14.26 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.004183, allocations: 105.4 kB / 0.5232 GB, free: 14.16 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.004298, allocations: 47.86 kB / 0.5233 GB, free: 14.11 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.004323, allocations: 12 kB / 0.5233 GB, free: 14.1 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.635e-05/0.00439, allocations: 25.2 kB / 0.5233 GB, free: 14.07 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.004421, allocations: 23.91 kB / 0.5234 GB, free: 14.05 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.328e-05/0.004485, allocations: 47.89 kB / 0.5234 GB, free: 14 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.004674, allocations: 116.2 kB / 0.5235 GB, free: 13.89 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.004677, allocations: 0 / 0.5235 GB, free: 13.89 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004677, allocations: 1.219 kB / 0.5235 GB, free: 13.89 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.004684, allocations: 3.984 kB / 0.5235 GB, free: 13.89 MB / 458.7 MB 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.0005907/0.005274, allocations: 0.5101 MB / 0.524 GB, free: 13.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.005315, allocations: 8.031 kB / 0.524 GB, free: 13.31 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.00538, allocations: 20.84 kB / 0.524 GB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.005575, allocations: 163.5 kB / 0.5242 GB, free: 13.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.00559, allocations: 9.156 kB / 0.5242 GB, free: 13.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.005619, allocations: 20.27 kB / 0.5242 GB, free: 13.08 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.005768, allocations: 89.72 kB / 0.5243 GB, free: 12.99 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.005775, allocations: 6.969 kB / 0.5243 GB, free: 12.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.005786, allocations: 384 / 0.5243 GB, free: 12.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.005792, allocations: 384 / 0.5243 GB, free: 12.98 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.87e-05/0.005831, allocations: 27.91 kB / 0.5243 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.006348, allocations: 363.5 kB / 0.5247 GB, free: 12.57 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.263e-05/0.0064, allocations: 27.06 kB / 0.5247 GB, free: 12.53 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.498e-05/0.006425, allocations: 16.31 kB / 0.5247 GB, free: 12.51 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.006445, allocations: 4.516 kB / 0.5247 GB, free: 12.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.006557, allocations: 93.91 kB / 0.5248 GB, free: 12.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.006559, allocations: 4 kB / 0.5248 GB, free: 12.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002188/0.006778, allocations: 98.44 kB / 0.5249 GB, free: 12.29 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.006816, allocations: 51.41 kB / 0.525 GB, free: 12.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.006934, allocations: 206.5 kB / 0.5252 GB, free: 12.01 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.006955, allocations: 29.7 kB / 0.5252 GB, free: 11.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/0.007029, allocations: 159.7 kB / 0.5253 GB, free: 11.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.00705, allocations: 27.8 kB / 0.5254 GB, free: 11.79 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.007107, allocations: 47.86 kB / 0.5254 GB, free: 11.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003091/0.007416, allocations: 0.4961 MB / 0.5259 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.262e-05/0.007498, allocations: 62.7 kB / 0.526 GB, free: 11.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.007616, allocations: 192.2 kB / 0.5261 GB, free: 10.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.007775, allocations: 205.5 kB / 0.5263 GB, free: 10.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.007778, allocations: 5.406 kB / 0.5264 GB, free: 10.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002527/0.00803, allocations: 254.6 kB / 0.5266 GB, free: 10.39 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.008061, allocations: 33.7 kB / 0.5266 GB, free: 10.35 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.008068, allocations: 8.734 kB / 0.5266 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.008082, allocations: 4 kB / 0.5266 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.753e-05/0.00815, allocations: 28.52 kB / 0.5267 GB, free: 10.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.008158, allocations: 5.125 kB / 0.5267 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.576e-05/0.008254, allocations: 27.88 kB / 0.5267 GB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.008274, allocations: 16.89 kB / 0.5267 GB, free: 10.26 MB / 458.7 MB 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 8.994e-05/0.008364, allocations: 177.2 kB / 0.5269 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.008379, allocations: 11.95 kB / 0.5269 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.008411, allocations: 19.52 kB / 0.5269 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.008414, allocations: 0 / 0.5269 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.008418, allocations: 0 / 0.5269 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.008422, allocations: 0 / 0.5269 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.008772, allocations: 361.3 kB / 0.5273 GB, free: 9.652 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.008774, allocations: 0 / 0.5273 GB, free: 9.652 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.008831, allocations: 19.92 kB / 0.5273 GB, free: 9.633 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.008833, allocations: 6.812 kB / 0.5273 GB, free: 9.629 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.008843, allocations: 0 / 0.5273 GB, free: 9.629 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.008845, allocations: 0 / 0.5273 GB, free: 9.629 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.008846, allocations: 0 / 0.5273 GB, free: 9.629 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.009035, allocations: 259.7 kB / 0.5275 GB, free: 9.355 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.009047, allocations: 7.953 kB / 0.5275 GB, free: 9.348 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.009062, allocations: 4 kB / 0.5275 GB, free: 9.344 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.826e-05/0.009101, allocations: 9.359 kB / 0.5275 GB, free: 9.336 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.009145, allocations: 7.984 kB / 0.5276 GB, free: 9.328 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.009155, allocations: 11.94 kB / 0.5276 GB, free: 9.316 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.617e-05/0.009211, allocations: 149.7 kB / 0.5277 GB, free: 9.172 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009211, allocations: 1.688 kB / 0.5277 GB, free: 9.172 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001999/0.009411, allocations: 35.89 kB / 0.5277 GB, free: 9.137 MB / 458.7 MB 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.0001498/0.009561, allocations: 103.2 kB / 0.5278 GB, free: 9.027 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.009783, allocations: 182.9 kB / 0.528 GB, free: 8.828 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.009785, allocations: 4 kB / 0.528 GB, free: 8.824 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.266e-05/0.009827, allocations: 28.27 kB / 0.5281 GB, free: 8.793 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.01003, allocations: 32.09 kB / 0.5281 GB, free: 8.766 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/0.01047, allocations: 250.4 kB / 0.5283 GB, free: 8.492 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.19e-05/0.01051, allocations: 63.84 kB / 0.5284 GB, free: 8.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.786e-05/0.01056, allocations: 16.02 kB / 0.5284 GB, free: 8.398 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.01059, allocations: 20.5 kB / 0.5284 GB, free: 8.375 MB / 458.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01059, allocations: 0.6562 kB / 0.5284 GB, free: 8.375 MB / 458.7 MB Notification: Performance of Templates: time 0.004083/0.01467, allocations: 1.878 MB / 0.5303 GB, free: 6.633 MB / 458.7 MB " [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.788199114613235]