Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0009878/0.0009878, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.001012/0.001012, allocations: 213.2 kB / 22.25 MB, free: 3.574 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.004/1.004, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03864/0.03864, allocations: 12.18 MB / 324.6 MB, free: 6.109 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0006719/0.0006719, allocations: 27.94 kB / 384.1 MB, free: 10.53 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.714/1.714, allocations: 353.9 MB / 0.7787 GB, free: 4.551 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001427/0.001427, allocations: 119 kB / 1.06 GB, free: 24.75 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2162, allocations: 134.9 MB / 1.192 GB, free: 7.469 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001469/0.2177, allocations: 0.6517 MB / 1.192 GB, free: 6.816 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007778/0.2185, allocations: 0.8397 MB / 1.193 GB, free: 5.965 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.393e-05/0.2185, allocations: 3.938 kB / 1.193 GB, free: 5.961 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.2186, allocations: 7.875 kB / 1.193 GB, free: 5.953 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.573e-05/0.2186, allocations: 7.984 kB / 1.193 GB, free: 5.945 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.2188, allocations: 11.92 kB / 1.193 GB, free: 5.934 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.632e-05/0.2189, allocations: 23.98 kB / 1.193 GB, free: 5.91 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.714e-05/0.219, allocations: 8 kB / 1.193 GB, free: 5.902 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.565e-05/0.219, allocations: 7.938 kB / 1.193 GB, free: 5.895 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.662e-05/0.2191, allocations: 15.92 kB / 1.193 GB, free: 5.879 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.2191, allocations: 4 kB / 1.193 GB, free: 5.875 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.238e-05/0.2191, allocations: 4 kB / 1.193 GB, free: 5.871 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.2191, allocations: 7.984 kB / 1.193 GB, free: 5.863 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.2192, allocations: 7.922 kB / 1.193 GB, free: 5.855 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.2193, allocations: 28.19 kB / 1.193 GB, free: 5.828 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2193, allocations: 3.938 kB / 1.193 GB, free: 5.824 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2193, allocations: 0 / 1.193 GB, free: 5.824 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.2193, allocations: 0 / 1.193 GB, free: 5.824 MB / 0.823 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.000347/0.2196, allocations: 262.4 kB / 1.194 GB, free: 5.535 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2197, allocations: 8.031 kB / 1.194 GB, free: 5.527 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.813e-05/0.2197, allocations: 34.75 kB / 1.194 GB, free: 5.484 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.813e-05/0.2198, allocations: 8.891 kB / 1.194 GB, free: 5.477 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.727e-05/0.2198, allocations: 110.5 kB / 1.194 GB, free: 5.344 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.2198, allocations: 384 / 1.194 GB, free: 5.344 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-06/0.2198, allocations: 384 / 1.194 GB, free: 5.344 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.22, allocations: 54.17 kB / 1.194 GB, free: 5.285 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.22, allocations: 3.938 kB / 1.194 GB, free: 5.281 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.22, allocations: 4 kB / 1.194 GB, free: 5.277 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.22, allocations: 0 / 1.194 GB, free: 5.277 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.751e-05/0.2201, allocations: 31.97 kB / 1.194 GB, free: 5.246 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.2204, allocations: 212.1 kB / 1.194 GB, free: 4.996 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.287e-05/0.2205, allocations: 38.5 kB / 1.194 GB, free: 4.949 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.907e-05/0.2205, allocations: 28.84 kB / 1.194 GB, free: 4.918 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.2205, allocations: 0 / 1.194 GB, free: 4.918 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.2205, allocations: 38.55 kB / 1.194 GB, free: 4.871 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.2205, allocations: 0 / 1.194 GB, free: 4.871 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.000219/0.2208, allocations: 81.61 kB / 1.194 GB, free: 4.785 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.2208, allocations: 51.41 kB / 1.194 GB, free: 4.723 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.199e-05/0.2209, allocations: 101.8 kB / 1.194 GB, free: 4.613 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.2209, allocations: 25.7 kB / 1.194 GB, free: 4.582 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.2209, allocations: 88.08 kB / 1.194 GB, free: 4.492 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.2209, allocations: 8.078 kB / 1.194 GB, free: 4.484 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.2209, allocations: 17.7 kB / 1.194 GB, free: 4.461 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.474e-05/0.221, allocations: 314.8 kB / 1.195 GB, free: 4.145 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-05/0.2211, allocations: 15.92 kB / 1.195 GB, free: 4.129 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.549e-05/0.2211, allocations: 23.92 kB / 1.195 GB, free: 4.105 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.778e-05/0.2212, allocations: 40.81 kB / 1.195 GB, free: 4.062 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2212, allocations: 4 kB / 1.195 GB, free: 4.059 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001042/0.2213, allocations: 61.67 kB / 1.195 GB, free: 3.992 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2213, allocations: 8 kB / 1.195 GB, free: 3.984 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.2213, allocations: 7.922 kB / 1.195 GB, free: 3.977 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.2213, allocations: 192 / 1.195 GB, free: 3.977 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.276e-05/0.2214, allocations: 4 kB / 1.195 GB, free: 3.973 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.2214, allocations: 0 / 1.195 GB, free: 3.973 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.343e-05/0.2214, allocations: 11.92 kB / 1.195 GB, free: 3.961 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.2214, allocations: 12.02 kB / 1.195 GB, free: 3.949 MB / 0.823 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.979e-05/0.2215, allocations: 113.8 kB / 1.195 GB, free: 3.828 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.2215, allocations: 0 / 1.195 GB, free: 3.828 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.2216, allocations: 68.97 kB / 1.195 GB, free: 3.754 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2216, allocations: 0 / 1.195 GB, free: 3.754 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.2216, allocations: 3.984 kB / 1.195 GB, free: 3.75 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2216, allocations: 0 / 1.195 GB, free: 3.75 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.2218, allocations: 128.7 kB / 1.195 GB, free: 3.582 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2218, allocations: 4.031 kB / 1.195 GB, free: 3.578 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.083e-05/0.2218, allocations: 11.98 kB / 1.195 GB, free: 3.566 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2218, allocations: 0 / 1.195 GB, free: 3.566 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.2218, allocations: 0 / 1.195 GB, free: 3.566 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2218, allocations: 0 / 1.195 GB, free: 3.566 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2218, allocations: 8 kB / 1.195 GB, free: 3.559 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.2219, allocations: 171.3 kB / 1.195 GB, free: 3.375 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.2219, allocations: 0 / 1.195 GB, free: 3.375 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.2219, allocations: 3.984 kB / 1.195 GB, free: 3.371 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.441e-05/0.222, allocations: 8.031 kB / 1.195 GB, free: 3.363 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.222, allocations: 0 / 1.195 GB, free: 3.363 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.222, allocations: 7.984 kB / 1.195 GB, free: 3.355 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.653e-05/0.222, allocations: 83.28 kB / 1.196 GB, free: 3.273 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.222, allocations: 0 / 1.196 GB, free: 3.273 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001377/0.2222, allocations: 4 kB / 1.196 GB, free: 3.27 MB / 0.823 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.0003199/0.2225, allocations: 0.6929 MB / 1.196 GB, free: 2.547 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.2226, allocations: 35.95 kB / 1.196 GB, free: 2.512 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2226, allocations: 0 / 1.196 GB, free: 2.512 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.011e-05/0.2227, allocations: 19.98 kB / 1.196 GB, free: 2.492 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.2229, allocations: 4 kB / 1.196 GB, free: 2.488 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.2232, allocations: 147.7 kB / 1.196 GB, free: 2.305 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.989e-05/0.2233, allocations: 67.41 kB / 1.196 GB, free: 2.219 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.08e-05/0.2233, allocations: 4 kB / 1.196 GB, free: 2.215 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.2233, allocations: 11.44 kB / 1.196 GB, free: 2.203 MB / 0.823 GB Notification: Performance of SimCode: time 5.51e-07/0.2233, allocations: 0 / 1.196 GB, free: 2.203 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01617/0.2395, allocations: 1.819 MB / 1.198 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.571/6.81, allocations: 5.156 kB / 1.198 GB, free: 0.5156 MB / 0.823 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Tan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Tan.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.296761425212026] Failed to read output from testmodel.py, exit status != 0: 6.887601440772414 6.900184943 6.677716609 Calling exit ...