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.000688/0.000688, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008579/0.001546, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006873/0.0006873, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001652/0.00234, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.001/1.001, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09902/1.1, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.808/0.808, allocations: 154.6 MB / 398.5 MB, free: 0.5117 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.291/1.099, allocations: 49.04 MB / 447.6 MB, free: 6.73 MB / 426.7 MB " [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 2.004e-06/2.004e-06, allocations: 0.6562 kB / 448.9 MB, free: 5.453 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.737e-05, allocations: 3.438 kB / 448.9 MB, free: 5.449 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001006/0.001023, allocations: 0.5929 MB / 449.5 MB, free: 4.895 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 1.254e-05/0.001036, allocations: 0.7656 kB / 449.5 MB, free: 4.895 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.653e-05/0.001052, allocations: 1.312 kB / 449.5 MB, free: 4.895 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.00107, allocations: 0 / 449.5 MB, free: 4.895 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 9.378e-06/0.001079, allocations: 0 / 449.5 MB, free: 4.895 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.336e-05/0.001092, allocations: 0.625 kB / 449.5 MB, free: 4.895 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.555e-05/0.001138, allocations: 8.875 kB / 449.5 MB, free: 4.887 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.001177, allocations: 2.266 kB / 449.5 MB, free: 4.887 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.523e-05/0.001222, allocations: 4.75 kB / 449.5 MB, free: 4.883 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.226e-05/0.001245, allocations: 4 kB / 449.5 MB, free: 4.879 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.001262, allocations: 0.5469 kB / 449.5 MB, free: 4.879 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.418e-06/0.001267, allocations: 0.5 kB / 449.5 MB, free: 4.879 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.448e-06/0.001276, allocations: 3.125 kB / 449.5 MB, free: 4.879 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.52e-05/0.001291, allocations: 4 kB / 449.5 MB, free: 4.875 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 5.243e-05/0.001344, allocations: 1.969 kB / 449.5 MB, free: 4.875 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.417e-05/0.001358, allocations: 3.984 kB / 449.5 MB, free: 4.871 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.001358, allocations: 4 kB / 449.5 MB, free: 4.867 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.00137, allocations: 3.938 kB / 449.5 MB, free: 4.863 MB / 426.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.0002163/0.001587, allocations: 206.9 kB / 449.7 MB, free: 4.637 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.001616, allocations: 8.031 kB / 449.7 MB, free: 4.629 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.844e-05/0.001634, allocations: 4.938 kB / 449.7 MB, free: 4.625 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.826e-05/0.001703, allocations: 101.8 kB / 449.8 MB, free: 4.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.001711, allocations: 4.359 kB / 449.8 MB, free: 4.496 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-06/0.001717, allocations: 1.062 kB / 449.8 MB, free: 4.496 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.093e-05/0.001768, allocations: 32.23 kB / 449.9 MB, free: 4.461 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.001774, allocations: 1.312 kB / 449.9 MB, free: 4.461 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.789e-06/0.001779, allocations: 384 / 449.9 MB, free: 4.461 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.001782, allocations: 1.359 kB / 449.9 MB, free: 4.461 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.877e-06/0.001791, allocations: 7.938 kB / 449.9 MB, free: 4.453 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.00195, allocations: 292.3 kB / 450.2 MB, free: 4.152 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.9e-05/0.002009, allocations: 169.2 kB / 450.3 MB, free: 3.977 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.00203, allocations: 84.12 kB / 450.4 MB, free: 3.891 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.002049, allocations: 75.28 kB / 450.5 MB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.002082, allocations: 114.3 kB / 450.6 MB, free: 3.695 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 5.51e-07/0.002082, allocations: 0.7188 kB / 450.6 MB, free: 3.695 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 4.766e-05/0.00213, allocations: 29.64 kB / 450.6 MB, free: 3.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.002176, allocations: 134.4 kB / 450.7 MB, free: 3.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.445e-05/0.00223, allocations: 102.7 kB / 450.8 MB, free: 3.402 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.002238, allocations: 25.7 kB / 450.9 MB, free: 3.371 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.723e-05/0.002265, allocations: 82.2 kB / 450.9 MB, free: 3.289 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.11e-07/0.002266, allocations: 0 / 450.9 MB, free: 3.289 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/0.002283, allocations: 13.72 kB / 451 MB, free: 3.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.008e-05/0.002354, allocations: 311.4 kB / 451.3 MB, free: 2.957 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.083e-06/0.002356, allocations: 0.5938 kB / 451.3 MB, free: 2.957 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-06/0.002359, allocations: 4 kB / 451.3 MB, free: 2.953 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.948e-05/0.002378, allocations: 80.17 kB / 451.3 MB, free: 2.875 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-05/0.002395, allocations: 75.28 kB / 451.4 MB, free: 2.801 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.932e-05/0.002424, allocations: 40.66 kB / 451.5 MB, free: 2.762 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.00245, allocations: 79.28 kB / 451.5 MB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.002469, allocations: 79.28 kB / 451.6 MB, free: 2.605 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.902e-05/0.002508, allocations: 154.5 kB / 451.8 MB, free: 2.453 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.993e-05/0.002528, allocations: 79.22 kB / 451.8 MB, free: 2.375 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.565e-05/0.002564, allocations: 155.4 kB / 452 MB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4e-05/0.002604, allocations: 83.2 kB / 452.1 MB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.002626, allocations: 83.92 kB / 452.2 MB, free: 2.059 MB / 426.7 MB 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.596e-05/0.002712, allocations: 261.7 kB / 452.4 MB, free: 1.793 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.002752, allocations: 104.9 kB / 452.5 MB, free: 1.684 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.002794, allocations: 104.8 kB / 452.6 MB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.941e-05/0.002843, allocations: 180.3 kB / 452.8 MB, free: 1.391 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.156e-05/0.002895, allocations: 188.1 kB / 453 MB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.825e-05/0.002943, allocations: 181.4 kB / 453.2 MB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.003077, allocations: 322.7 kB / 453.5 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.649e-05/0.003104, allocations: 101.8 kB / 453.6 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.518e-05/0.003129, allocations: 109 kB / 453.7 MB, free: 468 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.00316, allocations: 104.9 kB / 453.8 MB, free: 356 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.24e-05/0.003202, allocations: 181.9 kB / 454 MB, free: 168 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.748e-05/0.00326, allocations: 181.4 kB / 454.1 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.246e-05/0.003302, allocations: 176.6 kB / 454.3 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.975e-05/0.003352, allocations: 192.1 kB / 454.5 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.003453, allocations: 303.9 kB / 454.8 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.64e-05/0.003499, allocations: 185.2 kB / 455 MB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.335e-05/0.003542, allocations: 105 kB / 455.1 MB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.003605, allocations: 185.1 kB / 455.3 MB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.003637, allocations: 101 kB / 455.4 MB, free: 14.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.732e-05/0.003654, allocations: 14.5 kB / 455.4 MB, free: 14.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.003654, allocations: 0 / 455.4 MB, free: 14.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001921/0.003846, allocations: 0.5938 kB / 455.4 MB, free: 14.68 MB / 442.7 MB 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.000101/0.003947, allocations: 149.1 kB / 455.5 MB, free: 14.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 3.552e-05/0.003983, allocations: 4 kB / 455.5 MB, free: 14.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.003987, allocations: 0 / 455.5 MB, free: 14.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/0.003989, allocations: 4.719 kB / 455.5 MB, free: 14.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.004243, allocations: 465.1 kB / 456 MB, free: 14.06 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001797/0.004423, allocations: 166.5 kB / 456.1 MB, free: 13.87 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.581e-05/0.004459, allocations: 52.02 kB / 456.2 MB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.024e-06/0.004461, allocations: 0 / 456.2 MB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.004488, allocations: 48.22 kB / 456.2 MB, free: 13.75 MB / 442.7 MB Notification: Performance of SimCode: time 3.81e-07/0.004488, allocations: 0 / 456.2 MB, free: 13.75 MB / 442.7 MB Notification: Performance of Templates: time 0.001383/0.005871, allocations: 174 kB / 456.4 MB, free: 13.59 MB / 442.7 MB " [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.454665245488286]