Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007942/0.0007942, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008769/0.0008769, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.008/1.008, allocations: 230.6 MB / 256 MB, free: 9.789 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7966/0.7966, allocations: 203.8 MB / 0.5042 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="IDEAS_dev_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.001629/0.001629, allocations: 73.81 kB / 0.7183 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5383/0.5399, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001463/0.5414, allocations: 0.6574 MB / 0.8185 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007132/0.5421, allocations: 0.861 MB / 0.8194 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.5421, allocations: 0 / 0.8194 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.336e-05/0.5421, allocations: 3.938 kB / 0.8194 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.986e-05/0.5422, allocations: 4.734 kB / 0.8194 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.5424, allocations: 10.38 kB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.951e-05/0.5424, allocations: 28.05 kB / 0.8194 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.588e-05/0.5425, allocations: 3.625 kB / 0.8194 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.003e-05/0.5426, allocations: 9.922 kB / 0.8194 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.405e-05/0.5426, allocations: 11.81 kB / 0.8195 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.5426, allocations: 2.812 kB / 0.8195 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.099e-05/0.5427, allocations: 13.42 kB / 0.8195 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.5427, allocations: 4.609 kB / 0.8195 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.5427, allocations: 12.91 kB / 0.8195 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.626e-05/0.5428, allocations: 30.55 kB / 0.8195 GB, free: 128 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5428, allocations: 0 / 0.8195 GB, free: 128 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5428, allocations: 0 / 0.8195 GB, free: 128 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.5428, allocations: 0.7969 kB / 0.8195 GB, free: 128 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.0003432/0.5432, allocations: 266.4 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.5432, allocations: 9.875 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.945e-05/0.5432, allocations: 35.45 kB / 0.8198 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.5433, allocations: 3.109 kB / 0.8198 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.776e-05/0.5434, allocations: 111 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.5434, allocations: 1.344 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.5434, allocations: 6.156 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.5435, allocations: 47.69 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.5435, allocations: 5.062 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.5435, allocations: 4 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.5436, allocations: 2.75 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.59e-05/0.5436, allocations: 35.14 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.5439, allocations: 217.6 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.305e-05/0.544, allocations: 38.91 kB / 0.8203 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.562e-05/0.544, allocations: 21.14 kB / 0.8203 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.5441, allocations: 4 kB / 0.8203 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.5441, allocations: 31.17 kB / 0.8203 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.5441, allocations: 0 / 0.8203 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002242/0.5443, allocations: 84.33 kB / 0.8204 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.5443, allocations: 52.2 kB / 0.8204 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.184e-05/0.5444, allocations: 106.4 kB / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.5444, allocations: 25.7 kB / 0.8206 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.5444, allocations: 80.84 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.5445, allocations: 14.83 kB / 0.8207 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.5445, allocations: 11.95 kB / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.585e-05/0.5446, allocations: 312.8 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.638e-05/0.5446, allocations: 18.88 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.76e-05/0.5446, allocations: 22.2 kB / 0.821 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.077e-05/0.5447, allocations: 38.56 kB / 0.8211 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5447, allocations: 3.938 kB / 0.8211 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001081/0.5448, allocations: 70.06 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.5448, allocations: 4.531 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.5448, allocations: 8.594 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.5449, allocations: 0 / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.5449, allocations: 11.05 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.5449, allocations: 0 / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.487e-05/0.545, allocations: 10.11 kB / 0.8212 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.545, allocations: 3.781 kB / 0.8212 GB, free: 14.56 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.717e-05/0.545, allocations: 110.4 kB / 0.8213 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.545, allocations: 4.656 kB / 0.8213 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.5452, allocations: 82.92 kB / 0.8213 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.5452, allocations: 3.719 kB / 0.8214 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5452, allocations: 0 / 0.8214 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.5452, allocations: 0.5625 kB / 0.8214 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.5453, allocations: 128.9 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5453, allocations: 0 / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-05/0.5453, allocations: 8.609 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5453, allocations: 2.266 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.5453, allocations: 4.031 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.5453, allocations: 0 / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5453, allocations: 1.922 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.5455, allocations: 165.6 kB / 0.8216 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.5455, allocations: 8.5 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.5455, allocations: 2.469 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.834e-05/0.5455, allocations: 9 kB / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.5456, allocations: 4.609 kB / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-06/0.5456, allocations: 0 / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.9e-05/0.5456, allocations: 86.8 kB / 0.8218 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5456, allocations: 0 / 0.8218 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001416/0.5457, allocations: 9.344 kB / 0.8218 GB, free: 13.99 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.0003362/0.5461, allocations: 0.6904 MB / 0.8224 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.5462, allocations: 39.62 kB / 0.8225 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.5462, allocations: 0 / 0.8225 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.29e-05/0.5463, allocations: 20 kB / 0.8225 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.5465, allocations: 10.3 kB / 0.8225 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.5468, allocations: 135.7 kB / 0.8226 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.547, allocations: 0.6755 MB / 0.8233 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.197e-05/0.547, allocations: 1.328 kB / 0.8233 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.5471, allocations: 8.688 kB / 0.8233 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of SimCode: time 4.4e-07/0.5471, allocations: 4.062 kB / 0.8233 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.5661, allocations: 1.391 MB / 0.8247 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.465/7.031, allocations: 8.812 kB / 0.8247 GB, free: 12.02 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Tan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Tan.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.052592918975279] Failed to read output from testmodel.py, exit status != 0: 7.109349954873323 7.1230522469999995 6.57734836 Calling exit ...