Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.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.00117/0.00117, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001971/0.003141, 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.001175/0.001175, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001611/0.002785, allocations: 475.6 kB / 11.8 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 1.036/1.036, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09932/1.135, 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/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.8444/0.8444, allocations: 154.6 MB / 398.8 MB, free: 376 kB / 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.2891/1.134, allocations: 49.05 MB / 447.8 MB, free: 6.594 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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 3.938 kB / 449.2 MB, free: 5.227 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.018e-05, allocations: 12.31 kB / 449.2 MB, free: 5.219 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001483/0.001503, allocations: 0.7133 MB / 449.9 MB, free: 4.543 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008295/0.002332, allocations: 0.8647 MB / 450.8 MB, free: 3.672 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.002357, allocations: 1.656 kB / 450.8 MB, free: 3.672 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.266e-05/0.00238, allocations: 7.938 kB / 450.8 MB, free: 3.664 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.13e-05/0.002411, allocations: 1.641 kB / 450.8 MB, free: 3.664 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.921e-05/0.002491, allocations: 12.69 kB / 450.8 MB, free: 3.652 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.973e-05/0.00256, allocations: 35.47 kB / 450.9 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7e-05/0.00263, allocations: 4 kB / 450.9 MB, free: 3.621 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.00273, allocations: 16.95 kB / 450.9 MB, free: 3.605 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.002774, allocations: 13.08 kB / 450.9 MB, free: 3.594 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.002788, allocations: 0.875 kB / 450.9 MB, free: 3.594 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.603e-05/0.002844, allocations: 8 kB / 450.9 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.002858, allocations: 2.625 kB / 450.9 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.56e-05/0.002873, allocations: 5.531 kB / 450.9 MB, free: 3.582 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.425e-05/0.002968, allocations: 21.52 kB / 450.9 MB, free: 3.562 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.196e-05/0.002979, allocations: 0 / 450.9 MB, free: 3.562 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.00298, allocations: 0 / 450.9 MB, free: 3.562 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.002993, allocations: 1.969 kB / 450.9 MB, free: 3.562 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003568/0.00335, allocations: 235.6 kB / 451.2 MB, free: 3.305 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.003382, allocations: 8.031 kB / 451.2 MB, free: 3.297 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.003512, allocations: 82.05 kB / 451.2 MB, free: 3.199 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.327e-05/0.003605, allocations: 113.7 kB / 451.4 MB, free: 3.062 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.003616, allocations: 5.031 kB / 451.4 MB, free: 3.059 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.003626, allocations: 384 / 451.4 MB, free: 3.059 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.003729, allocations: 56.08 kB / 451.4 MB, free: 2.996 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.003736, allocations: 4.594 kB / 451.4 MB, free: 2.996 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.003742, allocations: 384 / 451.4 MB, free: 2.996 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.003748, allocations: 384 / 451.4 MB, free: 2.996 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.052e-05/0.003768, allocations: 9.25 kB / 451.4 MB, free: 2.988 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.003965, allocations: 144.3 kB / 451.6 MB, free: 2.832 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.258e-05/0.004008, allocations: 18.58 kB / 451.6 MB, free: 2.805 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.422e-05/0.004022, allocations: 12.86 kB / 451.6 MB, free: 2.789 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.004037, allocations: 4.031 kB / 451.6 MB, free: 2.785 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.004059, allocations: 35.47 kB / 451.6 MB, free: 2.742 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.00406, allocations: 0 / 451.6 MB, free: 2.742 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001059/0.004166, allocations: 32.12 kB / 451.7 MB, free: 2.707 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.004198, allocations: 59.34 kB / 451.7 MB, free: 2.637 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.694e-05/0.004254, allocations: 107.9 kB / 451.8 MB, free: 2.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.188e-06/0.004264, allocations: 25.7 kB / 451.9 MB, free: 2.488 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/0.004297, allocations: 88.08 kB / 451.9 MB, free: 2.398 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.004314, allocations: 9.484 kB / 452 MB, free: 2.391 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.004341, allocations: 13.7 kB / 452 MB, free: 2.371 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.179e-05/0.004423, allocations: 324 kB / 452.3 MB, free: 2.047 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.306e-06/0.004431, allocations: 0 / 452.3 MB, free: 2.047 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-06/0.004438, allocations: 0 / 452.3 MB, free: 2.047 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.42e-05/0.004462, allocations: 13.77 kB / 452.3 MB, free: 2.031 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004464, allocations: 1.094 kB / 452.3 MB, free: 2.031 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.569e-05/0.00453, allocations: 34.69 kB / 452.3 MB, free: 1.992 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.004543, allocations: 8 kB / 452.3 MB, free: 1.984 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.004546, allocations: 1.312 kB / 452.3 MB, free: 1.984 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.004559, allocations: 0 / 452.3 MB, free: 1.984 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.421e-05/0.004624, allocations: 7.938 kB / 452.4 MB, free: 1.977 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.004626, allocations: 4.594 kB / 452.4 MB, free: 1.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.163e-05/0.004648, allocations: 7.984 kB / 452.4 MB, free: 1.965 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.004652, allocations: 1.219 kB / 452.4 MB, free: 1.965 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 (2): * Single equations (assignments): 2 * 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 5.086e-05/0.004703, allocations: 109.8 kB / 452.5 MB, free: 1.848 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.00472, allocations: 4.766 kB / 452.5 MB, free: 1.844 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.951e-05/0.004789, allocations: 38.06 kB / 452.5 MB, free: 1.801 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.004791, allocations: 0 / 452.5 MB, free: 1.801 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.004794, allocations: 9.094 kB / 452.5 MB, free: 1.793 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.004797, allocations: 0 / 452.5 MB, free: 1.793 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.004897, allocations: 69.88 kB / 452.6 MB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.0049, allocations: 4.719 kB / 452.6 MB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-05/0.004926, allocations: 5.828 kB / 452.6 MB, free: 1.699 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-06/0.004932, allocations: 5.5 kB / 452.6 MB, free: 1.695 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.004933, allocations: 0 / 452.6 MB, free: 1.695 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-06/0.004937, allocations: 0 / 452.6 MB, free: 1.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.004938, allocations: 0 / 452.6 MB, free: 1.695 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.004942, allocations: 13.36 kB / 452.6 MB, free: 1.684 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.166e-05/0.005014, allocations: 128.8 kB / 452.7 MB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-06/0.005022, allocations: 0 / 452.7 MB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.768e-05/0.00507, allocations: 8.672 kB / 452.8 MB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.005097, allocations: 0 / 452.8 MB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-06/0.005101, allocations: 5.094 kB / 452.8 MB, free: 1.531 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.598e-05/0.005117, allocations: 10.34 kB / 452.8 MB, free: 1.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005117, allocations: 0 / 452.8 MB, free: 1.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001663/0.005283, allocations: 8.516 kB / 452.8 MB, free: 1.512 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 (2): * Single equations (assignments): 2 * 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 7.997e-05/0.005363, allocations: 81.62 kB / 452.9 MB, free: 1.422 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.778e-05/0.005431, allocations: 18.09 kB / 452.9 MB, free: 1.402 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.005435, allocations: 0 / 452.9 MB, free: 1.402 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.422e-05/0.005459, allocations: 10.12 kB / 452.9 MB, free: 1.391 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.005644, allocations: 38.38 kB / 452.9 MB, free: 1.348 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006631/0.006307, allocations: 114.9 kB / 453 MB, free: 1.215 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.539e-05/0.006342, allocations: 55.97 kB / 453.1 MB, free: 1.141 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.236e-05/0.006364, allocations: 5.609 kB / 453.1 MB, free: 1.137 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.00641, allocations: 48.33 kB / 453.1 MB, free: 1.09 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.00641, allocations: 0 / 453.1 MB, free: 1.09 MB / 426.7 MB Notification: Performance of Templates: time 0.00202/0.00843, allocations: 475.3 kB / 453.6 MB, free: 0.6445 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6078110383823514]