Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.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.001059/0.001059, allocations: 88.22 kB / 20.18 MB, free: 4.352 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.001629/0.001629, allocations: 169 kB / 23.5 MB, free: 1.039 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.057/1.057, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.865/0.865, allocations: 154.8 MB / 415.1 MB, free: 496 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.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.652e-06/6.652e-06, allocations: 0 / 0.5206 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.291e-05/4.956e-05, allocations: 4 kB / 0.5206 GB, free: 2.199 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Log): time 0.002222/0.002272, allocations: 0.6503 MB / 0.5213 GB, free: 1.574 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.003485, allocations: 0.8645 MB / 0.5221 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.003532, allocations: 0.5312 kB / 0.5221 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.334e-05/0.003565, allocations: 4.656 kB / 0.5221 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.349e-05/0.003649, allocations: 3.938 kB / 0.5221 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.003881, allocations: 16.48 kB / 0.5222 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.619e-05/0.003977, allocations: 25.38 kB / 0.5222 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.004077, allocations: 3.984 kB / 0.5222 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.845e-05/0.004176, allocations: 8 kB / 0.5222 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.299e-05/0.004219, allocations: 11.98 kB / 0.5222 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.004236, allocations: 4.719 kB / 0.5222 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.961e-05/0.004285, allocations: 7.984 kB / 0.5222 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.004303, allocations: 8.812 kB / 0.5222 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.004327, allocations: 7.984 kB / 0.5222 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.004445, allocations: 15.02 kB / 0.5222 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.004449, allocations: 4 kB / 0.5222 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.004451, allocations: 0 / 0.5222 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.004457, allocations: 0 / 0.5222 GB, free: 0.5859 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004895/0.004946, allocations: 356.6 kB / 0.5226 GB, free: 204 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.005, allocations: 8.031 kB / 0.5226 GB, free: 196 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.00515, allocations: 16.88 kB / 0.5226 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.005277, allocations: 104.6 kB / 0.5227 GB, free: 48 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.005294, allocations: 4.906 kB / 0.5227 GB, free: 44 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.005305, allocations: 5.5 kB / 0.5227 GB, free: 40 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.005507, allocations: 50.95 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.005515, allocations: 192 / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.005527, allocations: 1.344 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.005537, allocations: 4.312 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.419e-05/0.005582, allocations: 15.92 kB / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.005958, allocations: 240.8 kB / 0.523 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.755e-05/0.006025, allocations: 31.06 kB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.617e-05/0.006051, allocations: 8.688 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.006075, allocations: 4.062 kB / 0.5231 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.00611, allocations: 46.28 kB / 0.5231 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.006111, allocations: 0 / 0.5231 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001853/0.006297, allocations: 46.53 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.006339, allocations: 55.41 kB / 0.5232 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.824e-05/0.006437, allocations: 159.1 kB / 0.5234 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.006453, allocations: 25.7 kB / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.006517, allocations: 134.9 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.006539, allocations: 3.953 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.006576, allocations: 20 kB / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.006737, allocations: 497.9 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/0.006759, allocations: 7.984 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.29e-05/0.006772, allocations: 0 / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.962e-05/0.006812, allocations: 15.62 kB / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.006815, allocations: 1.406 kB / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.93e-05/0.006905, allocations: 37.7 kB / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.006924, allocations: 8 kB / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.006931, allocations: 4.531 kB / 0.5241 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.006947, allocations: 0 / 0.5241 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.625e-05/0.007043, allocations: 9.172 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.007049, allocations: 0 / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.538e-05/0.007075, allocations: 4 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.00708, allocations: 0.7188 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.029e-05/0.00716, allocations: 153.2 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.007184, allocations: 7.938 kB / 0.5242 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.007312, allocations: 50.19 kB / 0.5243 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.007315, allocations: 0 / 0.5243 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.00732, allocations: 4.812 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.007323, allocations: 0 / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.007473, allocations: 120.6 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.007476, allocations: 0.75 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.056e-05/0.007527, allocations: 9.797 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.00753, allocations: 0 / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.007542, allocations: 7.984 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.007546, allocations: 3.938 kB / 0.5244 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.007547, allocations: 0 / 0.5244 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.00769, allocations: 185.6 kB / 0.5246 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.298e-05/0.007703, allocations: 11.92 kB / 0.5246 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.007718, allocations: 0 / 0.5246 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.67e-05/0.007775, allocations: 3.938 kB / 0.5246 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.007824, allocations: 6.75 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.007828, allocations: 0 / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.405e-05/0.007882, allocations: 127.2 kB / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.007882, allocations: 0 / 0.5248 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00025/0.008132, allocations: 4 kB / 0.5248 GB, free: 13.75 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001583/0.00829, allocations: 95.25 kB / 0.5248 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.966e-05/0.00839, allocations: 13.59 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.008392, allocations: 0 / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.744e-05/0.008419, allocations: 19.61 kB / 0.5249 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.00872, allocations: 8.938 kB / 0.5249 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.009053, allocations: 119 kB / 0.525 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.429e-05/0.009098, allocations: 51.36 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.152e-05/0.009119, allocations: 0.875 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.009154, allocations: 13.16 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/0.009154, allocations: 0 / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.002853/0.01201, allocations: 490.9 kB / 0.5255 GB, free: 12.92 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9580499280709773]