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.001022/0.001022, allocations: 93.06 kB / 19.65 MB, free: 276 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.001093/0.001093, allocations: 173 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 0.9956/0.9956, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.793/0.793, allocations: 154.9 MB / 414.8 MB, free: 404 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 1.633e-06/1.633e-06, allocations: 0 / 0.5207 GB, free: 1.754 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.038e-05, allocations: 4.281 kB / 0.5208 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Log): time 0.001174/0.001195, allocations: 0.6658 MB / 0.5214 GB, free: 1.109 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008643/0.002059, allocations: 0.8518 MB / 0.5222 GB, free: 252 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.002092, allocations: 3.938 kB / 0.5222 GB, free: 248 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.002121, allocations: 5.281 kB / 0.5222 GB, free: 244 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.194e-05/0.002183, allocations: 0 / 0.5222 GB, free: 244 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.002371, allocations: 19.86 kB / 0.5223 GB, free: 224 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.876e-05/0.00245, allocations: 24.73 kB / 0.5223 GB, free: 200 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.498e-05/0.002535, allocations: 4 kB / 0.5223 GB, free: 196 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.859e-05/0.002603, allocations: 23.06 kB / 0.5223 GB, free: 176 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.309e-05/0.002636, allocations: 11.92 kB / 0.5223 GB, free: 164 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.00265, allocations: 0 / 0.5223 GB, free: 164 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.096e-05/0.002691, allocations: 4 kB / 0.5223 GB, free: 160 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.002707, allocations: 8 kB / 0.5223 GB, free: 152 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.593e-05/0.002723, allocations: 0 / 0.5223 GB, free: 152 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.706e-05/0.00281, allocations: 15.98 kB / 0.5223 GB, free: 136 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.002812, allocations: 0 / 0.5223 GB, free: 136 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.002814, allocations: 4.562 kB / 0.5224 GB, free: 132 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.002818, allocations: 0 / 0.5224 GB, free: 132 kB / 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.0003457/0.003164, allocations: 365.1 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.0032, allocations: 8.719 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.206e-05/0.003292, allocations: 8.891 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.469e-05/0.003377, allocations: 109.3 kB / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.003391, allocations: 384 / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.003401, allocations: 9.781 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.003524, allocations: 62.92 kB / 0.5229 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.003532, allocations: 192 / 0.5229 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.003541, allocations: 1.312 kB / 0.5229 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.003548, allocations: 384 / 0.5229 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.772e-05/0.003575, allocations: 7.938 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002702/0.003846, allocations: 245.2 kB / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.552e-05/0.003901, allocations: 35.03 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.881e-05/0.00392, allocations: 7.688 kB / 0.5232 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.003937, allocations: 5.25 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.00396, allocations: 33.39 kB / 0.5232 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.00396, allocations: 0 / 0.5232 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001409/0.004101, allocations: 46.41 kB / 0.5233 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.004133, allocations: 56.67 kB / 0.5233 GB, free: 15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.948e-05/0.004203, allocations: 165.9 kB / 0.5235 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.004213, allocations: 25.7 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.004256, allocations: 126.9 kB / 0.5236 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.004271, allocations: 5.297 kB / 0.5236 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.004298, allocations: 27.36 kB / 0.5236 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.004414, allocations: 492.1 kB / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.004428, allocations: 4.781 kB / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.506e-06/0.004436, allocations: 0 / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.865e-05/0.004465, allocations: 17.53 kB / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.004467, allocations: 0 / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.609e-05/0.004513, allocations: 37.69 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.004528, allocations: 10.06 kB / 0.5242 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.004534, allocations: 7.875 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.004546, allocations: 0 / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.248e-05/0.004608, allocations: 4 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.004613, allocations: 0 / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.752e-05/0.00463, allocations: 11.98 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.004635, allocations: 5.406 kB / 0.5242 GB, free: 14.03 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 6.883e-05/0.004704, allocations: 156.6 kB / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.004718, allocations: 4 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.61e-05/0.004794, allocations: 45.91 kB / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.004795, allocations: 0 / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.004798, allocations: 1.125 kB / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.004801, allocations: 0 / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.793e-05/0.004888, allocations: 116.6 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.004889, allocations: 0.75 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.811e-05/0.004907, allocations: 4 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.004908, allocations: 4.438 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.004914, allocations: 0.9062 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.004917, allocations: 7.938 kB / 0.5245 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.004918, allocations: 0 / 0.5245 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.263e-05/0.005, allocations: 189.1 kB / 0.5247 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.005007, allocations: 7.938 kB / 0.5247 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-06/0.005017, allocations: 0.5 kB / 0.5247 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.844e-05/0.005045, allocations: 3.938 kB / 0.5247 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.005076, allocations: 9.609 kB / 0.5247 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.00508, allocations: 4.188 kB / 0.5247 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.223e-05/0.005112, allocations: 127.2 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.005112, allocations: 0 / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001372/0.005249, allocations: 6.438 kB / 0.5249 GB, free: 13.29 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 6.511e-05/0.005314, allocations: 95.23 kB / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.927e-05/0.005384, allocations: 15.62 kB / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.005385, allocations: 0 / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.605e-05/0.005401, allocations: 18.31 kB / 0.525 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.005566, allocations: 4 kB / 0.525 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002317/0.005798, allocations: 118.3 kB / 0.5251 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.399e-05/0.005832, allocations: 55.34 kB / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.46e-05/0.005847, allocations: 0.9062 kB / 0.5252 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.005871, allocations: 12.5 kB / 0.5252 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.005871, allocations: 1.062 kB / 0.5252 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of Templates: time 0.001924/0.007795, allocations: 0.4984 MB / 0.5257 GB, free: 12.45 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.8228057380765676]