Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008688/0.0008688, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0008672/0.0008672, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.8745/0.8745, allocations: 177.1 MB / 203.7 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7448/0.7448, allocations: 154.6 MB / 414.8 MB, free: 0.5508 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.5208 GB, free: 1.898 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.345e-05, allocations: 3.297 kB / 0.5208 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0009649/0.0009783, allocations: 0.5452 MB / 0.5213 GB, free: 1.371 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 3.664e-05/0.001015, allocations: 4 kB / 0.5213 GB, free: 1.367 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.189e-05/0.001037, allocations: 0 / 0.5213 GB, free: 1.367 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.975e-05/0.001057, allocations: 0 / 0.5213 GB, free: 1.367 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.425e-05/0.001081, allocations: 0.7656 kB / 0.5213 GB, free: 1.367 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.664e-05/0.001107, allocations: 7.938 kB / 0.5213 GB, free: 1.359 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.775e-05/0.001145, allocations: 0.9844 kB / 0.5213 GB, free: 1.359 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.411e-05/0.001179, allocations: 8.156 kB / 0.5213 GB, free: 1.352 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.542e-05/0.001205, allocations: 4 kB / 0.5213 GB, free: 1.348 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.775e-05/0.001223, allocations: 0.5625 kB / 0.5213 GB, free: 1.348 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.001236, allocations: 0.5625 kB / 0.5213 GB, free: 1.348 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.825e-06/0.001239, allocations: 0.7656 kB / 0.5213 GB, free: 1.348 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.00125, allocations: 0.5625 kB / 0.5213 GB, free: 1.348 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.336e-05/0.001263, allocations: 4.875 kB / 0.5213 GB, free: 1.344 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 4.339e-05/0.001306, allocations: 3.938 kB / 0.5213 GB, free: 1.34 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.001308, allocations: 1.469 kB / 0.5213 GB, free: 1.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.31e-07/0.001308, allocations: 0 / 0.5213 GB, free: 1.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.001311, allocations: 4 kB / 0.5213 GB, free: 1.336 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.0001841/0.001496, allocations: 340.4 kB / 0.5217 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.001524, allocations: 8.969 kB / 0.5217 GB, free: 0.957 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.6e-05/0.00154, allocations: 0.9375 kB / 0.5217 GB, free: 0.957 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.878e-05/0.001599, allocations: 109.6 kB / 0.5218 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.001608, allocations: 384 / 0.5218 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-06/0.001612, allocations: 384 / 0.5218 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.366e-05/0.001655, allocations: 27.83 kB / 0.5218 GB, free: 0.793 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.95e-06/0.00166, allocations: 192 / 0.5218 GB, free: 0.793 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.92e-06/0.001665, allocations: 4.375 kB / 0.5218 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.001669, allocations: 4.312 kB / 0.5218 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.2e-06/0.001674, allocations: 4.75 kB / 0.5218 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.001858, allocations: 462.8 kB / 0.5223 GB, free: 308 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.332e-05/0.001921, allocations: 262.7 kB / 0.5225 GB, free: 32 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.001959, allocations: 130.9 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.001982, allocations: 127.1 kB / 0.5228 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002624/0.002244, allocations: 153.9 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 6.11e-07/0.002245, allocations: 0 / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 4.17e-05/0.002287, allocations: 33.64 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.002326, allocations: 174.6 kB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.529e-05/0.002381, allocations: 154.7 kB / 0.5233 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.6e-06/0.002387, allocations: 27.3 kB / 0.5233 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.002418, allocations: 126.9 kB / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.92e-07/0.002419, allocations: 4 kB / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.545e-05/0.002435, allocations: 15.38 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.052e-05/0.002525, allocations: 494.4 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.345e-06/0.002528, allocations: 0 / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-06/0.00253, allocations: 3.938 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.301e-05/0.002553, allocations: 123.2 kB / 0.524 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.172e-05/0.002575, allocations: 119.2 kB / 0.5241 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.779e-05/0.002603, allocations: 29.98 kB / 0.5242 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.002633, allocations: 127.7 kB / 0.5243 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/0.002659, allocations: 123.2 kB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.875e-05/0.002718, allocations: 251.2 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.522e-05/0.002743, allocations: 123.3 kB / 0.5247 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.962e-05/0.002793, allocations: 247.3 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.002836, allocations: 123.2 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.002858, allocations: 119.7 kB / 0.5252 GB, free: 13.17 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 8.591e-05/0.002943, allocations: 399.6 kB / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.00298, allocations: 148.9 kB / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/0.003019, allocations: 157.1 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.055e-05/0.003069, allocations: 272 kB / 0.5261 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-05/0.003117, allocations: 264.1 kB / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.874e-05/0.003165, allocations: 272.6 kB / 0.5267 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.003301, allocations: 484.5 kB / 0.5271 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.672e-05/0.003328, allocations: 145.5 kB / 0.5273 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.82e-05/0.003356, allocations: 152.8 kB / 0.5274 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-05/0.003401, allocations: 265.3 kB / 0.5277 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/0.00345, allocations: 268 kB / 0.5279 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.69e-05/0.003497, allocations: 268.1 kB / 0.5282 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.642e-05/0.003544, allocations: 270.5 kB / 0.5284 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.003646, allocations: 451.9 kB / 0.5289 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.003685, allocations: 156.8 kB / 0.529 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.241e-05/0.003737, allocations: 268.1 kB / 0.5293 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.599e-05/0.003783, allocations: 144.9 kB / 0.5294 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.003837, allocations: 272 kB / 0.5297 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.003867, allocations: 152.2 kB / 0.5298 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.1e-05/0.003898, allocations: 119.2 kB / 0.5299 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.003898, allocations: 0 / 0.5299 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001465/0.004044, allocations: 4 kB / 0.5299 GB, free: 8.168 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 7.495e-05/0.004119, allocations: 214.4 kB / 0.5301 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 2.749e-05/0.004147, allocations: 7.938 kB / 0.5301 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.004148, allocations: 0.5312 kB / 0.5301 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.004149, allocations: 5.438 kB / 0.5301 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004877/0.004637, allocations: 0.6984 MB / 0.5308 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001353/0.004772, allocations: 208.6 kB / 0.531 GB, free: 7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.42e-05/0.004796, allocations: 61.77 kB / 0.5311 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.563e-06/0.004798, allocations: 0 / 0.5311 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.00482, allocations: 66.2 kB / 0.5311 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of SimCode: time 3.11e-07/0.004821, allocations: 0 / 0.5311 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of Templates: time 0.001068/0.005888, allocations: 170 kB / 0.5313 GB, free: 6.695 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.240338313858956]