Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.002603/0.002603, allocations: 89.48 kB / 19.44 MB, free: 336 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.00395/0.00395, allocations: 169.6 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.607/1.607, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.33/1.33, allocations: 154.8 MB / 414.4 MB, free: 468 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 178] 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.905e-06/2.905e-06, allocations: 0 / 0.5199 GB, free: 2.266 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.831e-05, allocations: 6.312 kB / 0.5199 GB, free: 2.258 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001638/0.001666, allocations: 0.5435 MB / 0.5204 GB, free: 1.742 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 3.587e-05/0.001702, allocations: 3.938 kB / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.542e-05/0.001728, allocations: 0 / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.001748, allocations: 1.594 kB / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.901e-05/0.001777, allocations: 0 / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.809e-05/0.001806, allocations: 1.781 kB / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.166e-05/0.001867, allocations: 8 kB / 0.5204 GB, free: 1.73 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.001905, allocations: 416 / 0.5204 GB, free: 1.73 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.948e-05/0.001935, allocations: 3.938 kB / 0.5204 GB, free: 1.727 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.973e-05/0.001955, allocations: 1.719 kB / 0.5204 GB, free: 1.727 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.001967, allocations: 4 kB / 0.5204 GB, free: 1.723 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.326e-06/0.00197, allocations: 0 / 0.5204 GB, free: 1.723 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.778e-06/0.00198, allocations: 0 / 0.5204 GB, free: 1.723 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.5e-05/0.001995, allocations: 0 / 0.5204 GB, free: 1.723 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 4.962e-05/0.002045, allocations: 5.547 kB / 0.5204 GB, free: 1.719 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.002047, allocations: 0 / 0.5204 GB, free: 1.719 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.002047, allocations: 0 / 0.5204 GB, free: 1.719 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.002051, allocations: 0 / 0.5204 GB, free: 1.719 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003687/0.00242, allocations: 345.2 kB / 0.5208 GB, free: 1.344 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.002456, allocations: 8.031 kB / 0.5208 GB, free: 1.336 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.002489, allocations: 6.344 kB / 0.5208 GB, free: 1.332 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.002601, allocations: 104.6 kB / 0.5209 GB, free: 1.203 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.002611, allocations: 4.375 kB / 0.5209 GB, free: 1.199 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.002621, allocations: 4.359 kB / 0.5209 GB, free: 1.195 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.394e-05/0.002695, allocations: 27.61 kB / 0.5209 GB, free: 1.164 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.002703, allocations: 192 / 0.5209 GB, free: 1.164 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.002712, allocations: 4.359 kB / 0.5209 GB, free: 1.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.002715, allocations: 5.188 kB / 0.5209 GB, free: 1.156 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.712e-05/0.002732, allocations: 7.938 kB / 0.5209 GB, free: 1.148 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.003141, allocations: 473.2 kB / 0.5214 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.003325, allocations: 269.5 kB / 0.5216 GB, free: 384 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.642e-05/0.003401, allocations: 130.9 kB / 0.5218 GB, free: 248 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.185e-05/0.003473, allocations: 119.2 kB / 0.5219 GB, free: 128 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.003591, allocations: 152.6 kB / 0.522 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.003592, allocations: 3.938 kB / 0.522 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 8.534e-05/0.003677, allocations: 37.58 kB / 0.5221 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.003794, allocations: 170.6 kB / 0.5222 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.003933, allocations: 154.5 kB / 0.5224 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.003949, allocations: 26.27 kB / 0.5224 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.109e-05/0.00403, allocations: 131.6 kB / 0.5225 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-06/0.004032, allocations: 0 / 0.5225 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.004065, allocations: 16.03 kB / 0.5225 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002675/0.004333, allocations: 496.1 kB / 0.523 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-06/0.004337, allocations: 1.469 kB / 0.523 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.495e-06/0.00434, allocations: 4 kB / 0.523 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.827e-05/0.004408, allocations: 119.2 kB / 0.5231 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.366e-05/0.004472, allocations: 119.2 kB / 0.5232 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.938e-05/0.004531, allocations: 30.58 kB / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.608e-05/0.004607, allocations: 127.2 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.62e-05/0.004684, allocations: 124.5 kB / 0.5235 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004158/0.005099, allocations: 242.4 kB / 0.5237 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-05/0.005168, allocations: 127.1 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001443/0.005312, allocations: 246.5 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.005417, allocations: 124.3 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/0.005479, allocations: 123.2 kB / 0.5243 GB, free: 13.52 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 (0): * Single equations (assignments): 0 * 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 0.0002376/0.005717, allocations: 391.8 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.005823, allocations: 156.8 kB / 0.5249 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.77e-05/0.005921, allocations: 151.8 kB / 0.525 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00014/0.006061, allocations: 269.3 kB / 0.5253 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001441/0.006205, allocations: 272 kB / 0.5255 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001389/0.006344, allocations: 264.1 kB / 0.5258 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.006696, allocations: 0.4895 MB / 0.5263 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.414e-05/0.00678, allocations: 156.9 kB / 0.5264 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.987e-05/0.00686, allocations: 144.9 kB / 0.5265 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001476/0.007007, allocations: 272 kB / 0.5268 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/0.007168, allocations: 267 kB / 0.5271 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001792/0.007347, allocations: 272 kB / 0.5273 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001804/0.007527, allocations: 272.1 kB / 0.5276 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.007866, allocations: 444 kB / 0.528 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.007972, allocations: 144.9 kB / 0.5281 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.008163, allocations: 276 kB / 0.5284 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.008299, allocations: 156.8 kB / 0.5285 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.008458, allocations: 266.8 kB / 0.5288 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.008567, allocations: 153.2 kB / 0.5289 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.471e-05/0.008662, allocations: 119.2 kB / 0.5291 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.008662, allocations: 0 / 0.5291 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002729/0.008935, allocations: 3.953 kB / 0.5291 GB, free: 8.484 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 (0): * Single equations (assignments): 0 * 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.000218/0.009153, allocations: 215.2 kB / 0.5293 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.403e-05/0.009217, allocations: 0 / 0.5293 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.009219, allocations: 1.125 kB / 0.5293 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.873e-06/0.009221, allocations: 0 / 0.5293 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007096/0.009931, allocations: 0.7139 MB / 0.53 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.01031, allocations: 205.4 kB / 0.5302 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.878e-05/0.01038, allocations: 56.98 kB / 0.5302 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.585e-06/0.01039, allocations: 0 / 0.5302 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.01041, allocations: 8.5 kB / 0.5302 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of SimCode: time 1.262e-06/0.01041, allocations: 0 / 0.5302 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.002511/0.01293, allocations: 173.2 kB / 0.5304 GB, free: 7.066 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.97364959702827]