Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.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.001259/0.001259, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001868/0.003127, 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.001243/0.001243, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001541/0.002784, 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 1.035/1.035, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.102/1.137, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.7969/0.7969, allocations: 154.6 MB / 398.5 MB, free: 0.5195 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.2812/1.078, allocations: 49.04 MB / 447.6 MB, free: 6.691 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.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 448.9 MB, free: 5.348 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.849e-05, allocations: 4.562 kB / 448.9 MB, free: 5.344 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001638/0.001657, allocations: 0.7073 MB / 449.6 MB, free: 4.676 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009619/0.002619, allocations: 0.8733 MB / 450.5 MB, free: 3.797 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.002649, allocations: 0 / 450.5 MB, free: 3.797 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.296e-05/0.002671, allocations: 4.719 kB / 450.5 MB, free: 3.793 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.372e-05/0.002705, allocations: 1.094 kB / 450.5 MB, free: 3.793 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.887e-05/0.002794, allocations: 18.05 kB / 450.5 MB, free: 3.777 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.215e-05/0.002866, allocations: 20.27 kB / 450.6 MB, free: 3.762 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.181e-05/0.002948, allocations: 16.56 kB / 450.6 MB, free: 3.746 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.037e-05/0.003038, allocations: 18.33 kB / 450.6 MB, free: 3.73 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.366e-05/0.003082, allocations: 5.094 kB / 450.6 MB, free: 3.727 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.003099, allocations: 0.9062 kB / 450.6 MB, free: 3.727 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.01e-05/0.003179, allocations: 11.98 kB / 450.6 MB, free: 3.715 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.003195, allocations: 6.219 kB / 450.6 MB, free: 3.711 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.779e-05/0.003213, allocations: 8.516 kB / 450.6 MB, free: 3.707 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.003325, allocations: 10.19 kB / 450.6 MB, free: 3.699 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.577e-05/0.003341, allocations: 0.9688 kB / 450.6 MB, free: 3.699 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003341, allocations: 4 kB / 450.6 MB, free: 3.695 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.003359, allocations: 0.5938 kB / 450.6 MB, free: 3.695 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.0004088/0.003768, allocations: 242.7 kB / 450.9 MB, free: 3.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.003813, allocations: 10.3 kB / 450.9 MB, free: 3.422 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.003976, allocations: 82.05 kB / 451 MB, free: 3.324 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.004083, allocations: 113.7 kB / 451.1 MB, free: 3.188 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.004094, allocations: 1 kB / 451.1 MB, free: 3.188 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.004102, allocations: 384 / 451.1 MB, free: 3.188 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.004239, allocations: 60.86 kB / 451.1 MB, free: 3.121 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.004249, allocations: 3.562 kB / 451.1 MB, free: 3.121 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.004258, allocations: 384 / 451.1 MB, free: 3.121 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.004264, allocations: 384 / 451.1 MB, free: 3.121 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.845e-05/0.004293, allocations: 8.594 kB / 451.2 MB, free: 3.113 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002489/0.004542, allocations: 140.9 kB / 451.3 MB, free: 2.961 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.045e-05/0.004592, allocations: 19.2 kB / 451.3 MB, free: 2.934 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.82e-05/0.00461, allocations: 14.58 kB / 451.3 MB, free: 2.918 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.004631, allocations: 0 / 451.3 MB, free: 2.918 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.004659, allocations: 38.59 kB / 451.4 MB, free: 2.871 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.00466, allocations: 1.094 kB / 451.4 MB, free: 2.871 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001345/0.004795, allocations: 35.64 kB / 451.4 MB, free: 2.832 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.004831, allocations: 55.34 kB / 451.5 MB, free: 2.766 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.853e-05/0.0049, allocations: 110.7 kB / 451.6 MB, free: 2.645 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.00491, allocations: 25.7 kB / 451.6 MB, free: 2.613 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.004943, allocations: 84.08 kB / 451.7 MB, free: 2.527 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.004959, allocations: 5.047 kB / 451.7 MB, free: 2.523 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.004994, allocations: 17.7 kB / 451.7 MB, free: 2.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.636e-05/0.00508, allocations: 318.8 kB / 452 MB, free: 2.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/0.005092, allocations: 8.469 kB / 452 MB, free: 2.172 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-06/0.0051, allocations: 1.422 kB / 452 MB, free: 2.172 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.896e-05/0.005129, allocations: 10.11 kB / 452 MB, free: 2.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.005131, allocations: 0 / 452 MB, free: 2.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.173e-05/0.005183, allocations: 37.69 kB / 452.1 MB, free: 2.117 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.005194, allocations: 5.5 kB / 452.1 MB, free: 2.113 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.0052, allocations: 4 kB / 452.1 MB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.537e-06/0.005209, allocations: 0 / 452.1 MB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.086e-05/0.00528, allocations: 14.69 kB / 452.1 MB, free: 2.098 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.005282, allocations: 0 / 452.1 MB, free: 2.098 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.005303, allocations: 11.92 kB / 452.1 MB, free: 2.086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.005306, allocations: 0 / 452.1 MB, free: 2.086 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.362e-05/0.00536, allocations: 105.8 kB / 452.2 MB, free: 1.973 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.00538, allocations: 4.875 kB / 452.2 MB, free: 1.969 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.875e-05/0.005449, allocations: 42.2 kB / 452.2 MB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.00545, allocations: 0.9062 kB / 452.2 MB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.005454, allocations: 3.938 kB / 452.2 MB, free: 1.918 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005457, allocations: 0 / 452.2 MB, free: 1.918 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.00557, allocations: 74.5 kB / 452.3 MB, free: 1.828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.005571, allocations: 0.625 kB / 452.3 MB, free: 1.828 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.803e-05/0.005599, allocations: 4 kB / 452.3 MB, free: 1.824 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-06/0.005605, allocations: 0.625 kB / 452.3 MB, free: 1.824 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.005607, allocations: 0.625 kB / 452.3 MB, free: 1.824 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.005613, allocations: 4 kB / 452.3 MB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.005613, allocations: 0.625 kB / 452.3 MB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.005616, allocations: 4.703 kB / 452.3 MB, free: 1.816 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.168e-05/0.005698, allocations: 132.9 kB / 452.5 MB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.599e-06/0.005707, allocations: 0.5 kB / 452.5 MB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.05e-05/0.005758, allocations: 8.797 kB / 452.5 MB, free: 1.664 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.005787, allocations: 4 kB / 452.5 MB, free: 1.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.00579, allocations: 1.781 kB / 452.5 MB, free: 1.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.265e-05/0.005802, allocations: 12.8 kB / 452.5 MB, free: 1.645 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005802, allocations: 0.6562 kB / 452.5 MB, free: 1.645 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001735/0.005976, allocations: 7.953 kB / 452.5 MB, free: 1.637 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 8.967e-05/0.006066, allocations: 79.44 kB / 452.6 MB, free: 1.551 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.594e-05/0.006131, allocations: 17.8 kB / 452.6 MB, free: 1.531 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.006136, allocations: 0 / 452.6 MB, free: 1.531 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.428e-05/0.00615, allocations: 9.547 kB / 452.6 MB, free: 1.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.00631, allocations: 5.453 kB / 452.6 MB, free: 1.516 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007197/0.00703, allocations: 118.8 kB / 452.7 MB, free: 1.379 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.00707, allocations: 55.92 kB / 452.8 MB, free: 1.305 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.732e-05/0.007087, allocations: 1 kB / 452.8 MB, free: 1.305 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.007136, allocations: 55.36 kB / 452.8 MB, free: 1.25 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/0.007136, allocations: 1.156 kB / 452.8 MB, free: 1.25 MB / 426.7 MB Notification: Performance of Templates: time 0.002314/0.00945, allocations: 457.9 kB / 453.3 MB, free: 0.8203 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5207827277481556]