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.001292/0.001292, allocations: 80.05 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001469/0.001469, allocations: 167.9 kB / 22.45 MB, free: 5.367 MB / 14.72 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.4/1.4, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.183/1.183, allocations: 154.7 MB / 413.9 MB, free: 5.121 MB / 382.1 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. " [Timeout remaining time 178] 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 2.845e-06/2.845e-06, allocations: 0 / 0.6188 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/3.016e-05, allocations: 6.219 kB / 0.6188 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001773/0.001803, allocations: 0.6479 MB / 0.6194 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.002967, allocations: 0.8392 MB / 0.6203 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/0.003006, allocations: 0 / 0.6203 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.003034, allocations: 3.938 kB / 0.6203 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.003101, allocations: 7.938 kB / 0.6203 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.003286, allocations: 7.984 kB / 0.6203 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.106e-05/0.003358, allocations: 39.84 kB / 0.6203 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.003466, allocations: 8 kB / 0.6203 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.46e-05/0.00354, allocations: 15.98 kB / 0.6203 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.398e-05/0.003574, allocations: 3.938 kB / 0.6203 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.003593, allocations: 4 kB / 0.6204 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.621e-05/0.00364, allocations: 7.984 kB / 0.6204 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.003654, allocations: 4 kB / 0.6204 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.003682, allocations: 8 kB / 0.6204 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.003784, allocations: 27.88 kB / 0.6204 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.003786, allocations: 7.938 kB / 0.6204 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003787, allocations: 0 / 0.6204 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.003793, allocations: 0 / 0.6204 GB, free: 2.852 MB / 0.5294 GB 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.0004754/0.004269, allocations: 262.3 kB / 0.6207 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.004313, allocations: 12.03 kB / 0.6207 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.961e-05/0.004392, allocations: 4.891 kB / 0.6207 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.004496, allocations: 113.7 kB / 0.6208 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.00451, allocations: 4.375 kB / 0.6208 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.00452, allocations: 4.375 kB / 0.6208 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.004701, allocations: 50.23 kB / 0.6208 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.004711, allocations: 192 / 0.6208 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.004723, allocations: 4.359 kB / 0.6208 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.004734, allocations: 8.375 kB / 0.6208 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.004908, allocations: 35.89 kB / 0.6209 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.005214, allocations: 184.6 kB / 0.6211 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.005355, allocations: 38.5 kB / 0.6211 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.752e-05/0.005453, allocations: 28.89 kB / 0.6211 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.005475, allocations: 0 / 0.6211 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.005503, allocations: 34.56 kB / 0.6212 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.005504, allocations: 0 / 0.6212 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000363/0.005867, allocations: 85.58 kB / 0.6212 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.005917, allocations: 55.34 kB / 0.6213 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.605e-05/0.006003, allocations: 97.86 kB / 0.6214 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.006021, allocations: 29.7 kB / 0.6214 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.00608, allocations: 84.12 kB / 0.6215 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.006102, allocations: 4.078 kB / 0.6215 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.006137, allocations: 17.72 kB / 0.6215 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.0063, allocations: 314.8 kB / 0.6218 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.254e-05/0.006382, allocations: 11.98 kB / 0.6218 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.739e-05/0.00646, allocations: 23.97 kB / 0.6218 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.006612, allocations: 36.83 kB / 0.6219 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.006613, allocations: 0 / 0.6219 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002036/0.006817, allocations: 73.61 kB / 0.622 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.006835, allocations: 11.94 kB / 0.622 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.006843, allocations: 7.922 kB / 0.622 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.006859, allocations: 3.938 kB / 0.622 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.725e-05/0.006956, allocations: 7.984 kB / 0.622 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.006961, allocations: 0 / 0.622 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.007007, allocations: 4 kB / 0.622 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.007015, allocations: 4 kB / 0.622 GB, free: 1.051 MB / 0.5294 GB 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 0.000114/0.007129, allocations: 118.8 kB / 0.6221 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.007153, allocations: 0 / 0.6221 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.007394, allocations: 72.91 kB / 0.6222 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.007396, allocations: 0 / 0.6222 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.007401, allocations: 0 / 0.6222 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.007403, allocations: 0 / 0.6222 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.007539, allocations: 105.3 kB / 0.6223 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.00754, allocations: 0 / 0.6223 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.246e-05/0.007603, allocations: 15.97 kB / 0.6223 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007604, allocations: 0 / 0.6223 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.007614, allocations: 0 / 0.6223 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.00762, allocations: 7.922 kB / 0.6223 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.007621, allocations: 0 / 0.6223 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.007887, allocations: 159.5 kB / 0.6224 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.172e-05/0.007898, allocations: 7.938 kB / 0.6225 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.007915, allocations: 4 kB / 0.6225 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.051e-05/0.007995, allocations: 11.97 kB / 0.6225 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.008051, allocations: 3.984 kB / 0.6225 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.008057, allocations: 4 kB / 0.6225 GB, free: 500 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.386e-05/0.00811, allocations: 79.28 kB / 0.6226 GB, free: 420 kB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.00811, allocations: 0 / 0.6226 GB, free: 420 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000219/0.008329, allocations: 4 kB / 0.6226 GB, free: 416 kB / 0.5294 GB 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 0.0001458/0.008475, allocations: 95.25 kB / 0.6226 GB, free: 308 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002351/0.00871, allocations: 47.89 kB / 0.6227 GB, free: 260 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.008713, allocations: 0 / 0.6227 GB, free: 260 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.827e-05/0.008801, allocations: 19.98 kB / 0.6227 GB, free: 240 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.009128, allocations: 0 / 0.6227 GB, free: 240 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.009463, allocations: 108.8 kB / 0.6228 GB, free: 104 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.713e-05/0.009531, allocations: 63.34 kB / 0.6229 GB, free: 20 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.403e-05/0.009555, allocations: 4.062 kB / 0.6229 GB, free: 16 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.009582, allocations: 12.5 kB / 0.6229 GB, free: 4 kB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.009583, allocations: 0 / 0.6229 GB, free: 4 kB / 0.5294 GB Notification: Performance of Templates: time 0.003302/0.01288, allocations: 477.6 kB / 0.6233 GB, free: 15.55 MB / 0.545 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.532461307942867] Failed to read output from testmodel.py, exit status != 0: 0.021947933360934258 0.036815803 0.029981935 Calling exit ...