Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.000591/0.000591, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008597/0.001451, 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.0006403/0.0006403, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007877/0.001428, 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.9888/0.9888, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1334/1.122, 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.8175/0.8175, allocations: 154.6 MB / 398.5 MB, free: 0.5156 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.3096/1.127, allocations: 49.03 MB / 447.6 MB, free: 6.699 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.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 448.9 MB, free: 5.355 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.435e-05, allocations: 6.344 kB / 449 MB, free: 5.352 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.002043/0.002068, allocations: 0.7341 MB / 449.7 MB, free: 4.656 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.003097, allocations: 0.8562 MB / 450.5 MB, free: 3.793 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.00313, allocations: 0.6562 kB / 450.5 MB, free: 3.793 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.003156, allocations: 3.938 kB / 450.5 MB, free: 3.789 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.556e-05/0.003201, allocations: 15.91 kB / 450.6 MB, free: 3.777 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.982e-05/0.003251, allocations: 7.984 kB / 450.6 MB, free: 3.77 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.809e-05/0.003339, allocations: 44.72 kB / 450.6 MB, free: 3.734 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.202e-05/0.003401, allocations: 11.97 kB / 450.6 MB, free: 3.723 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.453e-05/0.003486, allocations: 35.25 kB / 450.7 MB, free: 3.691 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.894e-05/0.003525, allocations: 13.08 kB / 450.7 MB, free: 3.68 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.003538, allocations: 6.453 kB / 450.7 MB, free: 3.676 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.985e-06/0.003546, allocations: 4 kB / 450.7 MB, free: 3.672 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.003561, allocations: 5.859 kB / 450.7 MB, free: 3.668 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.003586, allocations: 9.203 kB / 450.7 MB, free: 3.66 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.214e-05/0.003678, allocations: 29.14 kB / 450.7 MB, free: 3.637 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.562e-05/0.003693, allocations: 0 / 450.7 MB, free: 3.637 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.003695, allocations: 0 / 450.7 MB, free: 3.637 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.003711, allocations: 0 / 450.7 MB, free: 3.637 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000448/0.004159, allocations: 258.6 kB / 451 MB, free: 3.355 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.004205, allocations: 8.938 kB / 451 MB, free: 3.348 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.00424, allocations: 5.484 kB / 451 MB, free: 3.344 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.004364, allocations: 118.8 kB / 451.1 MB, free: 3.203 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.004375, allocations: 384 / 451.1 MB, free: 3.203 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.004386, allocations: 8.375 kB / 451.1 MB, free: 3.195 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.004557, allocations: 59.66 kB / 451.2 MB, free: 3.129 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.004565, allocations: 0.8438 kB / 451.2 MB, free: 3.129 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.004572, allocations: 1.031 kB / 451.2 MB, free: 3.129 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.004579, allocations: 4.359 kB / 451.2 MB, free: 3.125 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.718e-05/0.004606, allocations: 13.22 kB / 451.2 MB, free: 3.113 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002634/0.004869, allocations: 156.2 kB / 451.3 MB, free: 2.945 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.972e-05/0.004949, allocations: 23.39 kB / 451.4 MB, free: 2.914 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.00497, allocations: 13.84 kB / 451.4 MB, free: 2.898 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.849e-06/0.004975, allocations: 1.969 kB / 451.4 MB, free: 2.898 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.005007, allocations: 30.56 kB / 451.4 MB, free: 2.859 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.005008, allocations: 0 / 451.4 MB, free: 2.859 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001406/0.005149, allocations: 51.02 kB / 451.5 MB, free: 2.805 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.00519, allocations: 51.41 kB / 451.5 MB, free: 2.742 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.103e-05/0.005271, allocations: 123.3 kB / 451.6 MB, free: 2.609 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.005286, allocations: 25.7 kB / 451.7 MB, free: 2.578 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.005335, allocations: 89.3 kB / 451.7 MB, free: 2.488 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.005361, allocations: 13.12 kB / 451.8 MB, free: 2.477 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.0054, allocations: 9.719 kB / 451.8 MB, free: 2.461 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.005526, allocations: 318.8 kB / 452.1 MB, free: 2.141 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.005544, allocations: 3.984 kB / 452.1 MB, free: 2.137 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.283e-05/0.005557, allocations: 10.27 kB / 452.1 MB, free: 2.129 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.924e-05/0.005586, allocations: 8.859 kB / 452.1 MB, free: 2.117 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.005591, allocations: 5.156 kB / 452.1 MB, free: 2.113 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.593e-05/0.005667, allocations: 43.41 kB / 452.1 MB, free: 2.066 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.005681, allocations: 4 kB / 452.2 MB, free: 2.062 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.005686, allocations: 0.5312 kB / 452.2 MB, free: 2.062 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.005697, allocations: 3.938 kB / 452.2 MB, free: 2.059 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.0058, allocations: 17.67 kB / 452.2 MB, free: 2.043 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.005807, allocations: 4 kB / 452.2 MB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.046e-05/0.005848, allocations: 7.984 kB / 452.2 MB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.005852, allocations: 0 / 452.2 MB, free: 2.031 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 (3): * Single equations (assignments): 3 * 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.429e-05/0.005926, allocations: 107.9 kB / 452.3 MB, free: 1.918 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.005949, allocations: 4 kB / 452.3 MB, free: 1.914 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.005978, allocations: 8.656 kB / 452.3 MB, free: 1.906 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.005983, allocations: 3.938 kB / 452.3 MB, free: 1.902 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.005984, allocations: 1.25 kB / 452.3 MB, free: 1.902 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.005989, allocations: 0 / 452.3 MB, free: 1.902 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.006129, allocations: 77.81 kB / 452.4 MB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.006131, allocations: 1.531 kB / 452.4 MB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.021e-05/0.006202, allocations: 16.8 kB / 452.4 MB, free: 1.793 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.006218, allocations: 7.953 kB / 452.4 MB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.006221, allocations: 0 / 452.4 MB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.006227, allocations: 0.9062 kB / 452.4 MB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.00623, allocations: 0 / 452.4 MB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.006234, allocations: 3.938 kB / 452.4 MB, free: 1.781 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.006363, allocations: 133 kB / 452.5 MB, free: 1.637 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.006374, allocations: 0 / 452.5 MB, free: 1.637 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-05/0.006437, allocations: 14.09 kB / 452.6 MB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.006467, allocations: 7.984 kB / 452.6 MB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.006473, allocations: 4.562 kB / 452.6 MB, free: 1.613 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.399e-05/0.006497, allocations: 12.86 kB / 452.6 MB, free: 1.598 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006497, allocations: 0.625 kB / 452.6 MB, free: 1.598 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001926/0.006689, allocations: 4 kB / 452.6 MB, free: 1.594 MB / 426.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 (3): * Single equations (assignments): 3 * 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.0001254/0.006815, allocations: 85.59 kB / 452.7 MB, free: 1.504 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.335e-05/0.006898, allocations: 19.16 kB / 452.7 MB, free: 1.484 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/0.006911, allocations: 4 kB / 452.7 MB, free: 1.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.585e-05/0.006937, allocations: 9.484 kB / 452.7 MB, free: 1.469 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.007168, allocations: 16.48 kB / 452.7 MB, free: 1.453 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.007607, allocations: 127.3 kB / 452.8 MB, free: 1.309 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.138e-05/0.007649, allocations: 59.34 kB / 452.9 MB, free: 1.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.288e-05/0.007681, allocations: 0 / 452.9 MB, free: 1.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.507e-05/0.007747, allocations: 56.12 kB / 453 MB, free: 1.176 MB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/0.007747, allocations: 7.938 kB / 453 MB, free: 1.168 MB / 426.7 MB Notification: Performance of Templates: time 0.002506/0.01025, allocations: 0.6889 MB / 453.7 MB, free: 0.5234 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.519909707829356]