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.0006766/0.0006766, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008962/0.001573, allocations: 440 kB / 10.41 MB, free: 284 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.0006743/0.0006743, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000853/0.001527, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9887/0.9887, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09381/1.083, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.8241/0.8241, allocations: 155.3 MB / 399.5 MB, free: 15.8 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.2818/1.106, allocations: 49.13 MB / 448.6 MB, free: 5.93 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.284e-06/2.284e-06, allocations: 0.5469 kB / 449.9 MB, free: 4.637 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.571e-05, allocations: 5.703 kB / 449.9 MB, free: 4.633 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002013/0.002038, allocations: 0.601 MB / 450.5 MB, free: 4.066 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 1.344e-05/0.002052, allocations: 0 / 450.5 MB, free: 4.066 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.595e-05/0.002068, allocations: 2.125 kB / 450.5 MB, free: 4.066 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.805e-05/0.002086, allocations: 3.938 kB / 450.6 MB, free: 4.062 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.28e-05/0.002099, allocations: 0.6562 kB / 450.6 MB, free: 4.062 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.172e-05/0.00211, allocations: 0 / 450.6 MB, free: 4.062 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.487e-05/0.002165, allocations: 12.86 kB / 450.6 MB, free: 4.051 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.002205, allocations: 0.625 kB / 450.6 MB, free: 4.051 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.139e-05/0.002246, allocations: 4.859 kB / 450.6 MB, free: 4.051 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.675e-05/0.002273, allocations: 6.516 kB / 450.6 MB, free: 4.047 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.002289, allocations: 0 / 450.6 MB, free: 4.047 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.619e-06/0.002294, allocations: 0 / 450.6 MB, free: 4.047 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.00231, allocations: 0.875 kB / 450.6 MB, free: 4.047 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.596e-05/0.002326, allocations: 0.7656 kB / 450.6 MB, free: 4.047 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 6.81e-05/0.002394, allocations: 2.172 kB / 450.6 MB, free: 4.047 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.256e-05/0.002406, allocations: 4 kB / 450.6 MB, free: 4.043 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.002407, allocations: 0 / 450.6 MB, free: 4.043 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.002416, allocations: 0 / 450.6 MB, free: 4.043 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.0002524/0.002669, allocations: 209.4 kB / 450.8 MB, free: 3.812 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.002706, allocations: 9.125 kB / 450.8 MB, free: 3.805 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.002733, allocations: 9.531 kB / 450.8 MB, free: 3.797 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.409e-05/0.002827, allocations: 103.7 kB / 450.9 MB, free: 3.672 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.002836, allocations: 384 / 450.9 MB, free: 3.672 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.002845, allocations: 384 / 450.9 MB, free: 3.672 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.961e-05/0.002914, allocations: 38.19 kB / 450.9 MB, free: 3.629 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.002922, allocations: 192 / 450.9 MB, free: 3.629 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-06/0.002928, allocations: 1.281 kB / 450.9 MB, free: 3.629 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.002934, allocations: 384 / 450.9 MB, free: 3.629 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.896e-06/0.002943, allocations: 8.969 kB / 451 MB, free: 3.621 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.003151, allocations: 291.6 kB / 451.2 MB, free: 3.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.865e-05/0.00323, allocations: 173.1 kB / 451.4 MB, free: 3.137 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.697e-05/0.003257, allocations: 80.98 kB / 451.5 MB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.003284, allocations: 75.28 kB / 451.6 MB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.003328, allocations: 114.4 kB / 451.7 MB, free: 2.859 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.003329, allocations: 1.281 kB / 451.7 MB, free: 2.859 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 6.075e-05/0.00339, allocations: 27.02 kB / 451.7 MB, free: 2.828 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.003444, allocations: 134.6 kB / 451.8 MB, free: 2.684 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.941e-05/0.003513, allocations: 103.4 kB / 451.9 MB, free: 2.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.003524, allocations: 25.7 kB / 452 MB, free: 2.539 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.003562, allocations: 84.17 kB / 452 MB, free: 2.457 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/0.003564, allocations: 3.5 kB / 452 MB, free: 2.457 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.003589, allocations: 13.72 kB / 452.1 MB, free: 2.438 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.051e-05/0.003679, allocations: 310.8 kB / 452.4 MB, free: 2.125 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-06/0.003684, allocations: 0 / 452.4 MB, free: 2.125 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-06/0.003689, allocations: 1.312 kB / 452.4 MB, free: 2.125 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.341e-05/0.003712, allocations: 75.28 kB / 452.4 MB, free: 2.051 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-05/0.003735, allocations: 83.27 kB / 452.5 MB, free: 1.969 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.041e-05/0.003785, allocations: 27.3 kB / 452.5 MB, free: 1.938 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.00382, allocations: 83.28 kB / 452.6 MB, free: 1.855 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.881e-05/0.003849, allocations: 84.58 kB / 452.7 MB, free: 1.773 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.454e-05/0.003904, allocations: 150.6 kB / 452.9 MB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.69e-05/0.00393, allocations: 83.16 kB / 452.9 MB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-05/0.003974, allocations: 155.6 kB / 453.1 MB, free: 1.391 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.31e-05/0.004037, allocations: 75.28 kB / 453.2 MB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.004063, allocations: 87.2 kB / 453.2 MB, free: 1.23 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 0.000103/0.004166, allocations: 261.2 kB / 453.5 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.004215, allocations: 101.9 kB / 453.6 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.004265, allocations: 112.9 kB / 453.7 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.285e-05/0.004318, allocations: 180.3 kB / 453.9 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.185e-05/0.00437, allocations: 184.8 kB / 454.1 MB, free: 380 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.363e-05/0.004423, allocations: 185.6 kB / 454.3 MB, free: 188 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.004616, allocations: 317.5 kB / 454.6 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.173e-05/0.004658, allocations: 108.9 kB / 454.7 MB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.844e-05/0.004696, allocations: 101 kB / 454.8 MB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.004731, allocations: 105.8 kB / 454.9 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.258e-05/0.004784, allocations: 184.2 kB / 455 MB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/0.004833, allocations: 177.7 kB / 455.2 MB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-05/0.004887, allocations: 181.3 kB / 455.4 MB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.173e-05/0.004948, allocations: 192.2 kB / 455.6 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.005072, allocations: 311.8 kB / 455.9 MB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.019e-05/0.005142, allocations: 177.1 kB / 456.1 MB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.005217, allocations: 108.9 kB / 456.2 MB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.00528, allocations: 180.9 kB / 456.3 MB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.005317, allocations: 104.9 kB / 456.4 MB, free: 13.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.02e-05/0.005337, allocations: 14.48 kB / 456.5 MB, free: 13.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005337, allocations: 0.625 kB / 456.5 MB, free: 13.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002171/0.005554, allocations: 0 / 456.5 MB, free: 13.84 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.0001424/0.005696, allocations: 153.2 kB / 456.6 MB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.485e-05/0.005741, allocations: 0 / 456.6 MB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.005747, allocations: 2.641 kB / 456.6 MB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.998e-06/0.005751, allocations: 0 / 456.6 MB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.006079, allocations: 472.3 kB / 457.1 MB, free: 13.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.006347, allocations: 154.2 kB / 457.2 MB, free: 13.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.252e-05/0.006399, allocations: 55.22 kB / 457.3 MB, free: 12.97 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.017e-06/0.006403, allocations: 0 / 457.3 MB, free: 12.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.006437, allocations: 55.97 kB / 457.3 MB, free: 12.91 MB / 442.7 MB Notification: Performance of SimCode: time 1.353e-06/0.006438, allocations: 1.594 kB / 457.3 MB, free: 12.91 MB / 442.7 MB Notification: Performance of Templates: time 0.001843/0.008282, allocations: 177.8 kB / 457.5 MB, free: 12.75 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.476204843260348]