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.001411/0.001411, allocations: 71.75 kB / 19.02 MB, free: 1.23 MB / 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.001502/0.001502, allocations: 157.3 kB / 22.28 MB, free: 3.617 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.44/1.44, allocations: 177.2 MB / 202.7 MB, free: 4.793 MB / 186.7 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.186/1.186, allocations: 154.7 MB / 413.8 MB, free: 3.168 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. " [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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) [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.001992/0.001992, allocations: 63.52 kB / 0.6181 GB, free: 1.004 MB / 0.5105 GB [/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 FrontEnd - Absyn->SCode: time 0.2061/0.2081, allocations: 102 MB / 0.7177 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001915/0.21, allocations: 0.6547 MB / 0.7183 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.2111, allocations: 0.8475 MB / 0.7192 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.2112, allocations: 0 / 0.7192 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.2112, allocations: 0 / 0.7192 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.21e-05/0.2113, allocations: 7.938 kB / 0.7192 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.2114, allocations: 15.98 kB / 0.7192 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.208e-05/0.2115, allocations: 19.92 kB / 0.7192 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.726e-05/0.2116, allocations: 4 kB / 0.7192 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.905e-05/0.2117, allocations: 23.91 kB / 0.7192 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.058e-05/0.2117, allocations: 4 kB / 0.7192 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.2117, allocations: 7.938 kB / 0.7193 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.234e-05/0.2117, allocations: 8 kB / 0.7193 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.2118, allocations: 3.984 kB / 0.7193 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.2118, allocations: 11.94 kB / 0.7193 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.2119, allocations: 24.12 kB / 0.7193 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2119, allocations: 4 kB / 0.7193 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2119, allocations: 0 / 0.7193 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.2119, allocations: 0 / 0.7193 GB, free: 9.492 MB / 0.6198 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.0004608/0.2124, allocations: 258.3 kB / 0.7195 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.2124, allocations: 16.03 kB / 0.7196 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.2124, allocations: 30.75 kB / 0.7196 GB, free: 9.152 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.373e-05/0.2125, allocations: 8.875 kB / 0.7196 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.2126, allocations: 118.5 kB / 0.7197 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.2126, allocations: 384 / 0.7197 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.2127, allocations: 8.312 kB / 0.7197 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.2128, allocations: 46.23 kB / 0.7198 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2128, allocations: 3.938 kB / 0.7198 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.2128, allocations: 7.938 kB / 0.7198 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.2128, allocations: 4 kB / 0.7198 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.213, allocations: 27.97 kB / 0.7198 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.2133, allocations: 216.1 kB / 0.72 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.2135, allocations: 38.5 kB / 0.7201 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.286e-05/0.2136, allocations: 20.89 kB / 0.7201 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.2136, allocations: 0 / 0.7201 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.2136, allocations: 38.5 kB / 0.7201 GB, free: 8.531 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.2136, allocations: 4 kB / 0.7201 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003615/0.214, allocations: 77.64 kB / 0.7202 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.214, allocations: 55.41 kB / 0.7202 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.368e-05/0.2141, allocations: 97.86 kB / 0.7203 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.2141, allocations: 29.64 kB / 0.7204 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.2142, allocations: 80.14 kB / 0.7204 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.2142, allocations: 15.94 kB / 0.7205 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.2142, allocations: 13.84 kB / 0.7205 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2144, allocations: 310.8 kB / 0.7208 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.443e-05/0.2145, allocations: 19.98 kB / 0.7208 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.104e-05/0.2146, allocations: 19.91 kB / 0.7208 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.2148, allocations: 36.83 kB / 0.7208 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.2148, allocations: 3.938 kB / 0.7208 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000258/0.215, allocations: 77.67 kB / 0.7209 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2151, allocations: 4 kB / 0.7209 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2151, allocations: 0 / 0.7209 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2151, allocations: 0 / 0.7209 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.2152, allocations: 11.98 kB / 0.7209 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2152, allocations: 0 / 0.7209 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.2152, allocations: 4 kB / 0.7209 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.2152, allocations: 0 / 0.7209 GB, free: 7.625 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 8.716e-05/0.2153, allocations: 113.8 kB / 0.721 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.2154, allocations: 11.94 kB / 0.7211 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.2156, allocations: 72.95 kB / 0.7211 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2156, allocations: 0 / 0.7211 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2156, allocations: 192 / 0.7211 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2156, allocations: 4 kB / 0.7211 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.2158, allocations: 132.7 kB / 0.7213 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2158, allocations: 0 / 0.7213 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/0.2158, allocations: 8.031 kB / 0.7213 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2158, allocations: 0 / 0.7213 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.2158, allocations: 11.92 kB / 0.7213 GB, free: 7.223 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2158, allocations: 0 / 0.7213 GB, free: 7.223 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2158, allocations: 0 / 0.7213 GB, free: 7.223 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.2161, allocations: 167.4 kB / 0.7214 GB, free: 7.043 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.759e-06/0.2161, allocations: 3.953 kB / 0.7214 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.2161, allocations: 4 kB / 0.7214 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.2162, allocations: 32 / 0.7214 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.2163, allocations: 11.98 kB / 0.7215 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.2163, allocations: 0 / 0.7215 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.699e-05/0.2163, allocations: 83.22 kB / 0.7215 GB, free: 6.941 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.2163, allocations: 0 / 0.7215 GB, free: 6.941 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002146/0.2165, allocations: 8 kB / 0.7215 GB, free: 6.934 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 0.0006298/0.2171, allocations: 0.6889 MB / 0.7222 GB, free: 6.215 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.2174, allocations: 43.98 kB / 0.7223 GB, free: 6.172 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2174, allocations: 0 / 0.7223 GB, free: 6.172 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.667e-05/0.2175, allocations: 11.98 kB / 0.7223 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.2178, allocations: 8 kB / 0.7223 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/0.2182, allocations: 143.7 kB / 0.7224 GB, free: 5.969 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.411e-05/0.2183, allocations: 59.36 kB / 0.7225 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.053e-05/0.2183, allocations: 8.062 kB / 0.7225 GB, free: 5.883 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.2184, allocations: 12.48 kB / 0.7225 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/0.2184, allocations: 0 / 0.7225 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03548/0.2538, allocations: 1.921 MB / 0.7244 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.46, allocations: 6.75 kB / 0.7244 GB, free: 4.051 MB / 0.6198 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Tan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Tan.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.469096266999259] Failed to read output from testmodel.py, exit status != 0: 11.564371464992291 11.59171539 11.374119422 Calling exit ...