Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.0007198/0.0007198, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009447/0.001664, 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.000694/0.000694, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008955/0.00159, 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.9929/0.9929, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09343/1.086, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.9089/0.9089, allocations: 155.3 MB / 399.2 MB, free: 15.93 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.3371/1.246, allocations: 49.13 MB / 448.4 MB, free: 6.039 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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 449.7 MB, free: 4.727 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/2.039e-05, allocations: 2.312 kB / 449.7 MB, free: 4.723 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001384/0.001404, allocations: 0.6247 MB / 450.3 MB, free: 4.129 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 1.871e-05/0.001423, allocations: 0 / 450.3 MB, free: 4.129 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.162e-05/0.001445, allocations: 0 / 450.3 MB, free: 4.129 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.001464, allocations: 2.125 kB / 450.3 MB, free: 4.129 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.213e-05/0.001476, allocations: 0 / 450.3 MB, free: 4.129 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.538e-05/0.001491, allocations: 8.766 kB / 450.4 MB, free: 4.121 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.496e-05/0.001536, allocations: 0.9844 kB / 450.4 MB, free: 4.121 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.746e-05/0.001574, allocations: 0 / 450.4 MB, free: 4.121 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.134e-05/0.001615, allocations: 4.766 kB / 450.4 MB, free: 4.117 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.617e-05/0.001641, allocations: 0.6562 kB / 450.4 MB, free: 4.117 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.001658, allocations: 1.203 kB / 450.4 MB, free: 4.117 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.127e-06/0.001663, allocations: 1.969 kB / 450.4 MB, free: 4.117 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.001673, allocations: 0 / 450.4 MB, free: 4.117 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.792e-05/0.001691, allocations: 5.203 kB / 450.4 MB, free: 4.113 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 5.36e-05/0.001744, allocations: 3.984 kB / 450.4 MB, free: 4.109 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.349e-05/0.001758, allocations: 0.6562 kB / 450.4 MB, free: 4.109 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.001758, allocations: 5.344 kB / 450.4 MB, free: 4.105 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.001774, allocations: 0 / 450.4 MB, free: 4.105 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.0002419/0.002016, allocations: 208.8 kB / 450.6 MB, free: 3.875 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.805e-05/0.002044, allocations: 12.03 kB / 450.6 MB, free: 3.863 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.949e-05/0.002064, allocations: 1.531 kB / 450.6 MB, free: 3.863 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.556e-05/0.002139, allocations: 111.3 kB / 450.7 MB, free: 3.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.002148, allocations: 2.281 kB / 450.7 MB, free: 3.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-06/0.002154, allocations: 384 / 450.7 MB, free: 3.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.072e-05/0.002214, allocations: 31.33 kB / 450.7 MB, free: 3.695 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.002221, allocations: 192 / 450.7 MB, free: 3.695 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-06/0.002225, allocations: 384 / 450.7 MB, free: 3.695 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.002231, allocations: 5.281 kB / 450.7 MB, free: 3.691 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.024e-05/0.002241, allocations: 3.938 kB / 450.7 MB, free: 3.688 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.002416, allocations: 288.5 kB / 451 MB, free: 3.391 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.236e-05/0.002478, allocations: 169.2 kB / 451.2 MB, free: 3.215 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.002497, allocations: 84.17 kB / 451.3 MB, free: 3.125 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.002515, allocations: 76.16 kB / 451.3 MB, free: 3.051 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.002552, allocations: 119.3 kB / 451.5 MB, free: 2.926 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.002553, allocations: 0.5 kB / 451.5 MB, free: 2.926 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 4.612e-05/0.002599, allocations: 34.8 kB / 451.5 MB, free: 2.887 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.002646, allocations: 130.6 kB / 451.6 MB, free: 2.746 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.404e-05/0.0027, allocations: 96 kB / 451.7 MB, free: 2.641 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.002707, allocations: 25.7 kB / 451.7 MB, free: 2.609 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/0.002734, allocations: 84.83 kB / 451.8 MB, free: 2.523 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.71e-07/0.002735, allocations: 0 / 451.8 MB, free: 2.523 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/0.002749, allocations: 12.78 kB / 451.8 MB, free: 2.508 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.887e-05/0.002818, allocations: 310.8 kB / 452.1 MB, free: 2.195 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.865e-06/0.002821, allocations: 0 / 452.1 MB, free: 2.195 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-06/0.002826, allocations: 7.5 kB / 452.2 MB, free: 2.191 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.797e-05/0.002844, allocations: 75.28 kB / 452.2 MB, free: 2.117 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/0.002861, allocations: 79.27 kB / 452.3 MB, free: 2.039 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.292e-05/0.002893, allocations: 30.95 kB / 452.3 MB, free: 2.004 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.002922, allocations: 83.28 kB / 452.4 MB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.00294, allocations: 75.28 kB / 452.5 MB, free: 1.848 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.939e-05/0.00298, allocations: 155 kB / 452.6 MB, free: 1.695 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.188e-05/0.003001, allocations: 89.36 kB / 452.7 MB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.233e-05/0.003034, allocations: 150.6 kB / 452.9 MB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.003074, allocations: 79.22 kB / 453 MB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.003093, allocations: 83.27 kB / 453 MB, free: 1.301 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 7.777e-05/0.003171, allocations: 261.5 kB / 453.3 MB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.003217, allocations: 108.9 kB / 453.4 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.003251, allocations: 107.1 kB / 453.5 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.943e-05/0.003291, allocations: 177.1 kB / 453.7 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.585e-05/0.003337, allocations: 197 kB / 453.9 MB, free: 444 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.776e-05/0.003375, allocations: 180.3 kB / 454 MB, free: 256 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.003512, allocations: 325.7 kB / 454.4 MB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.388e-05/0.003536, allocations: 101 kB / 454.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.333e-05/0.003559, allocations: 102.4 kB / 454.6 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.299e-05/0.003592, allocations: 115 kB / 454.7 MB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.106e-05/0.003633, allocations: 177.3 kB / 454.8 MB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/0.003677, allocations: 181.2 kB / 455 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.175e-05/0.003718, allocations: 181.4 kB / 455.2 MB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.951e-05/0.003768, allocations: 188.1 kB / 455.4 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.003868, allocations: 305.3 kB / 455.7 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.003918, allocations: 184.2 kB / 455.9 MB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.439e-05/0.003963, allocations: 101 kB / 456 MB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.00401, allocations: 184.2 kB / 456.1 MB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.004036, allocations: 105.8 kB / 456.2 MB, free: 13.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.463e-05/0.00405, allocations: 9.453 kB / 456.2 MB, free: 13.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00405, allocations: 0.6562 kB / 456.2 MB, free: 13.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001334/0.004184, allocations: 4.781 kB / 456.3 MB, free: 13.92 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.171e-05/0.004275, allocations: 160.3 kB / 456.4 MB, free: 13.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 3.377e-05/0.004309, allocations: 1.5 kB / 456.4 MB, free: 13.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.004313, allocations: 0 / 456.4 MB, free: 13.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.855e-06/0.004316, allocations: 7.938 kB / 456.4 MB, free: 13.74 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.004509, allocations: 452.2 kB / 456.9 MB, free: 13.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001749/0.004684, allocations: 164.3 kB / 457 MB, free: 13.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.946e-05/0.004714, allocations: 55.22 kB / 457.1 MB, free: 13.04 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.613e-06/0.004715, allocations: 0 / 457.1 MB, free: 13.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.004737, allocations: 52.25 kB / 457.1 MB, free: 12.99 MB / 442.7 MB Notification: Performance of SimCode: time 6.82e-07/0.004738, allocations: 0 / 457.1 MB, free: 12.99 MB / 442.7 MB Notification: Performance of Templates: time 0.001295/0.006032, allocations: 172.4 kB / 457.3 MB, free: 12.82 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7567111421376467]