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.00102/0.00102, allocations: 76.17 kB / 9.906 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001194/0.002214, allocations: 439.8 kB / 10.34 MB, free: 360 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.0007345/0.0007345, allocations: 157.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008903/0.001625, 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 0.9702/0.9702, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08924/1.059, allocations: 53.67 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7695/0.7695, allocations: 155.3 MB / 399.2 MB, free: 15.92 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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.2723/1.042, allocations: 49.14 MB / 448.4 MB, free: 5.996 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-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.835e-06/2.835e-06, allocations: 0 / 449.7 MB, free: 4.727 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.526e-05/1.809e-05, allocations: 7.812 kB / 449.7 MB, free: 4.723 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001102/0.001121, allocations: 0.5938 MB / 450.3 MB, free: 4.16 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 1.405e-05/0.001135, allocations: 0.5312 kB / 450.3 MB, free: 4.16 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.727e-05/0.001152, allocations: 1.203 kB / 450.3 MB, free: 4.16 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.001171, allocations: 1.094 kB / 450.3 MB, free: 4.16 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.078e-05/0.001182, allocations: 0 / 450.3 MB, free: 4.16 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.452e-05/0.001196, allocations: 4 kB / 450.3 MB, free: 4.156 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.937e-05/0.001245, allocations: 5.953 kB / 450.3 MB, free: 4.152 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.001287, allocations: 0.6875 kB / 450.3 MB, free: 4.152 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.296e-05/0.00133, allocations: 4.766 kB / 450.3 MB, free: 4.148 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.621e-05/0.001356, allocations: 0.9062 kB / 450.3 MB, free: 4.148 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.001375, allocations: 0 / 450.3 MB, free: 4.148 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.971e-06/0.001381, allocations: 4.703 kB / 450.3 MB, free: 4.145 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.001394, allocations: 1.156 kB / 450.3 MB, free: 4.145 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.971e-05/0.001414, allocations: 0.6562 kB / 450.3 MB, free: 4.145 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 6.464e-05/0.001478, allocations: 4.984 kB / 450.3 MB, free: 4.141 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-05/0.001496, allocations: 1.656 kB / 450.3 MB, free: 4.141 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.001497, allocations: 0 / 450.3 MB, free: 4.141 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.001517, allocations: 0.5469 kB / 450.3 MB, free: 4.141 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.0003028/0.00182, allocations: 208.8 kB / 450.5 MB, free: 3.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.001855, allocations: 12.91 kB / 450.5 MB, free: 3.898 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.462e-05/0.001879, allocations: 0.9375 kB / 450.5 MB, free: 3.898 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.533e-05/0.001975, allocations: 106.4 kB / 450.6 MB, free: 3.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.001986, allocations: 1.359 kB / 450.6 MB, free: 3.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.393e-06/0.001993, allocations: 5.031 kB / 450.6 MB, free: 3.766 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.204e-05/0.002065, allocations: 32.23 kB / 450.7 MB, free: 3.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.002072, allocations: 192 / 450.7 MB, free: 3.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.002078, allocations: 384 / 450.7 MB, free: 3.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.002083, allocations: 2.344 kB / 450.7 MB, free: 3.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.423e-05/0.002098, allocations: 11.88 kB / 450.7 MB, free: 3.719 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.00228, allocations: 286.9 kB / 451 MB, free: 3.422 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.585e-05/0.002346, allocations: 169.2 kB / 451.1 MB, free: 3.246 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.449e-05/0.002371, allocations: 80.91 kB / 451.2 MB, free: 3.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.002391, allocations: 81 kB / 451.3 MB, free: 3.082 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.002428, allocations: 114.4 kB / 451.4 MB, free: 2.961 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.002429, allocations: 0 / 451.4 MB, free: 2.961 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 4.969e-05/0.002478, allocations: 30.72 kB / 451.4 MB, free: 2.926 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.002533, allocations: 134.6 kB / 451.6 MB, free: 2.781 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.888e-05/0.002592, allocations: 95.53 kB / 451.7 MB, free: 2.676 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.0026, allocations: 26.36 kB / 451.7 MB, free: 2.645 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.208e-05/0.002632, allocations: 83.67 kB / 451.8 MB, free: 2.562 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.91e-07/0.002633, allocations: 0 / 451.8 MB, free: 2.562 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/0.002652, allocations: 13.72 kB / 451.8 MB, free: 2.543 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.146e-05/0.002743, allocations: 314.8 kB / 452.1 MB, free: 2.227 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-06/0.002746, allocations: 0.6875 kB / 452.1 MB, free: 2.227 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.977e-06/0.00275, allocations: 4.484 kB / 452.1 MB, free: 2.227 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.997e-05/0.00277, allocations: 80.44 kB / 452.2 MB, free: 2.148 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.981e-05/0.00279, allocations: 79.22 kB / 452.2 MB, free: 2.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.198e-05/0.002822, allocations: 29.69 kB / 452.3 MB, free: 2.035 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.002852, allocations: 83.91 kB / 452.4 MB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.002871, allocations: 77.59 kB / 452.4 MB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-05/0.002917, allocations: 154.5 kB / 452.6 MB, free: 1.727 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.034e-05/0.002947, allocations: 87.22 kB / 452.7 MB, free: 1.641 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.936e-05/0.002987, allocations: 154.5 kB / 452.8 MB, free: 1.488 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.205e-05/0.003029, allocations: 75.94 kB / 452.9 MB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.003049, allocations: 83.27 kB / 453 MB, free: 1.332 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.602e-05/0.003135, allocations: 257.8 kB / 453.2 MB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.003175, allocations: 104.9 kB / 453.3 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.09e-05/0.003216, allocations: 110.4 kB / 453.4 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.614e-05/0.003262, allocations: 182.7 kB / 453.6 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.737e-05/0.003309, allocations: 185.1 kB / 453.8 MB, free: 488 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.835e-05/0.003357, allocations: 184.2 kB / 454 MB, free: 296 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.003517, allocations: 321.1 kB / 454.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.172e-05/0.003548, allocations: 109.7 kB / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.00358, allocations: 104.9 kB / 454.5 MB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.003617, allocations: 109.5 kB / 454.6 MB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.467e-05/0.003671, allocations: 181 kB / 454.8 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.445e-05/0.003726, allocations: 180.2 kB / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.379e-05/0.00378, allocations: 185.9 kB / 455.1 MB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.354e-05/0.003833, allocations: 184.7 kB / 455.3 MB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.003947, allocations: 307.8 kB / 455.6 MB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.966e-05/0.004007, allocations: 180.9 kB / 455.8 MB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.773e-05/0.004055, allocations: 101.6 kB / 455.9 MB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.004107, allocations: 184.2 kB / 456.1 MB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.004135, allocations: 106.8 kB / 456.2 MB, free: 13.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.51e-05/0.00415, allocations: 12.8 kB / 456.2 MB, free: 13.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00415, allocations: 1.656 kB / 456.2 MB, free: 13.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001303/0.004281, allocations: 0 / 456.2 MB, free: 13.95 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 9.552e-05/0.004376, allocations: 151.7 kB / 456.3 MB, free: 13.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.178e-05/0.004418, allocations: 4.844 kB / 456.3 MB, free: 13.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.004421, allocations: 0 / 456.3 MB, free: 13.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.004422, allocations: 1 kB / 456.3 MB, free: 13.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.004649, allocations: 460.2 kB / 456.8 MB, free: 13.33 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000179/0.004828, allocations: 163.6 kB / 457 MB, free: 13.15 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.037e-05/0.004858, allocations: 55.22 kB / 457 MB, free: 13.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.893e-06/0.00486, allocations: 0 / 457 MB, free: 13.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.004883, allocations: 48.14 kB / 457.1 MB, free: 13.03 MB / 442.7 MB Notification: Performance of SimCode: time 3.31e-07/0.004883, allocations: 0.6562 kB / 457.1 MB, free: 13.03 MB / 442.7 MB Notification: Performance of Templates: time 0.001306/0.006189, allocations: 176.7 kB / 457.2 MB, free: 12.86 MB / 442.7 MB " [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: 3.470606324262917]