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.0007869/0.0007869, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.0007928/0.0007928, allocations: 216.2 kB / 23 MB, free: 2.98 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.9067/0.9067, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.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-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 0.7543/0.7543, allocations: 203.5 MB / 0.5046 GB, free: 10.66 MB / 410.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009016/0.0009016, allocations: 63.56 kB / 0.7191 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.468/0.4689, allocations: 102 MB / 0.8186 GB, free: 1.535 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.00135/0.4703, allocations: 0.6611 MB / 0.8193 GB, free: 1.121 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005932/0.4708, allocations: 0.8439 MB / 0.8201 GB, free: 500 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/0.4709, allocations: 0 / 0.8201 GB, free: 500 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.4709, allocations: 0 / 0.8201 GB, free: 500 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.755e-05/0.471, allocations: 5.438 kB / 0.8201 GB, free: 496 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.4711, allocations: 18.52 kB / 0.8201 GB, free: 484 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.479e-05/0.4712, allocations: 24.59 kB / 0.8202 GB, free: 472 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.075e-05/0.4713, allocations: 4.109 kB / 0.8202 GB, free: 472 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.45e-05/0.4713, allocations: 13.83 kB / 0.8202 GB, free: 464 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.27e-05/0.4714, allocations: 9.266 kB / 0.8202 GB, free: 460 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.4714, allocations: 0 / 0.8202 GB, free: 460 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.007e-05/0.4714, allocations: 5.594 kB / 0.8202 GB, free: 460 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.4714, allocations: 8.562 kB / 0.8202 GB, free: 456 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.691e-05/0.4715, allocations: 12.53 kB / 0.8202 GB, free: 444 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.522e-05/0.4716, allocations: 31.88 kB / 0.8202 GB, free: 432 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4716, allocations: 0 / 0.8202 GB, free: 432 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4716, allocations: 0 / 0.8202 GB, free: 432 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.4716, allocations: 0.875 kB / 0.8202 GB, free: 432 kB / 0.6042 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.0002925/0.4719, allocations: 267.8 kB / 0.8205 GB, free: 156 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.4719, allocations: 9.312 kB / 0.8205 GB, free: 156 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.109e-05/0.472, allocations: 5.188 kB / 0.8205 GB, free: 156 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.333e-05/0.472, allocations: 111.8 kB / 0.8206 GB, free: 24 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.472, allocations: 384 / 0.8206 GB, free: 24 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.472, allocations: 384 / 0.8206 GB, free: 24 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.4722, allocations: 48.41 kB / 0.8207 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.4722, allocations: 192 / 0.8207 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.4722, allocations: 6.031 kB / 0.8207 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.4722, allocations: 0 / 0.8207 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.199e-05/0.4723, allocations: 40.03 kB / 0.8207 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002471/0.4725, allocations: 190.9 kB / 0.8209 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8e-05/0.4726, allocations: 37.41 kB / 0.8209 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.257e-05/0.4727, allocations: 22.59 kB / 0.8209 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.4727, allocations: 3.938 kB / 0.821 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.4727, allocations: 37.39 kB / 0.821 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.4727, allocations: 0 / 0.821 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000218/0.4729, allocations: 84.56 kB / 0.8211 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.4729, allocations: 55.97 kB / 0.8211 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.061e-05/0.473, allocations: 100.8 kB / 0.8212 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.473, allocations: 28.33 kB / 0.8212 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.4731, allocations: 84.84 kB / 0.8213 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.4731, allocations: 4.609 kB / 0.8213 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.4731, allocations: 14.23 kB / 0.8213 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.743e-05/0.4732, allocations: 322 kB / 0.8217 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.194e-05/0.4732, allocations: 13.23 kB / 0.8217 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.101e-05/0.4733, allocations: 17.34 kB / 0.8217 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.298e-05/0.4733, allocations: 41.41 kB / 0.8217 GB, free: 15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.4734, allocations: 0.9062 kB / 0.8217 GB, free: 15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000103/0.4735, allocations: 80.41 kB / 0.8218 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.4735, allocations: 3.969 kB / 0.8218 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.4735, allocations: 0 / 0.8218 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.4735, allocations: 2.438 kB / 0.8218 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.883e-05/0.4735, allocations: 8.078 kB / 0.8218 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.4735, allocations: 0 / 0.8218 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.783e-05/0.4736, allocations: 7.094 kB / 0.8218 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-06/0.4736, allocations: 0 / 0.8218 GB, free: 14.95 MB / 0.6198 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 5.361e-05/0.4736, allocations: 109.3 kB / 0.8219 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.4736, allocations: 13.38 kB / 0.8219 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.4738, allocations: 75.69 kB / 0.822 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4738, allocations: 0.75 kB / 0.822 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4738, allocations: 0 / 0.822 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.4738, allocations: 0 / 0.822 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.051e-05/0.4739, allocations: 106.8 kB / 0.8221 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.4739, allocations: 0 / 0.8221 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.812e-05/0.4739, allocations: 13.95 kB / 0.8221 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4739, allocations: 7.969 kB / 0.8221 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.4739, allocations: 0.9375 kB / 0.8221 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.4739, allocations: 0 / 0.8221 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4739, allocations: 0 / 0.8221 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.474, allocations: 167.4 kB / 0.8223 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-06/0.474, allocations: 12.53 kB / 0.8223 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.474, allocations: 0.5625 kB / 0.8223 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.668e-05/0.4741, allocations: 5.672 kB / 0.8223 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.4741, allocations: 8.016 kB / 0.8223 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.4741, allocations: 0 / 0.8223 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.006e-05/0.4741, allocations: 86.33 kB / 0.8224 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.4741, allocations: 3.938 kB / 0.8224 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001338/0.4743, allocations: 2.781 kB / 0.8224 GB, free: 14.4 MB / 0.6198 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 8.223e-05/0.4744, allocations: 92.11 kB / 0.8225 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.4745, allocations: 34.77 kB / 0.8225 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.4745, allocations: 7.469 kB / 0.8225 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.66e-05/0.4745, allocations: 22.72 kB / 0.8226 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.4747, allocations: 4.016 kB / 0.8226 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.475, allocations: 137.2 kB / 0.8227 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.924e-05/0.475, allocations: 64.27 kB / 0.8228 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.475, allocations: 11.19 kB / 0.8228 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.475, allocations: 0 / 0.8228 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of Templates: time 0.001374/0.4764, allocations: 0.5479 MB / 0.8233 GB, free: 14.04 MB / 0.6198 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.473341308068484] Failed to read output from testmodel.py, exit status != 0: 0.48136999271810055 0.491670747 0.018137658 Calling exit ...