Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 108.5 kB / 17.07 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002304/0.002304, allocations: 190.8 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 222.9 MB / 245.7 MB, free: 4.238 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.092/1.092, allocations: 147.6 MB / 445.6 MB, free: 8.418 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002786/0.002786, allocations: 68.52 kB / 0.611 GB, free: 37.78 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2135, allocations: 83.15 MB / 0.6922 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan): time 0.0028/0.2164, allocations: 0.6621 MB / 0.6928 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.2178, allocations: 0.7997 MB / 0.6936 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.119e-05/0.2178, allocations: 0 / 0.6936 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.412e-05/0.2179, allocations: 3.938 kB / 0.6936 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.218, allocations: 0 / 0.6936 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.2182, allocations: 13.7 kB / 0.6936 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.386e-05/0.2183, allocations: 33.44 kB / 0.6936 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.2184, allocations: 8.094 kB / 0.6936 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.997e-05/0.2185, allocations: 11.83 kB / 0.6936 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.2185, allocations: 11.12 kB / 0.6937 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.2185, allocations: 1.875 kB / 0.6937 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.2185, allocations: 5.594 kB / 0.6937 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.2186, allocations: 3.984 kB / 0.6937 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.2186, allocations: 10.5 kB / 0.6937 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.629e-05/0.2187, allocations: 21.33 kB / 0.6937 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2187, allocations: 0 / 0.6937 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2187, allocations: 0 / 0.6937 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2187, allocations: 0 / 0.6937 GB, free: 12.18 MB / 0.5137 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.0005669/0.2193, allocations: 337.2 kB / 0.694 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.2194, allocations: 8.844 kB / 0.694 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.024e-05/0.2194, allocations: 36.19 kB / 0.6941 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.2195, allocations: 6.328 kB / 0.6941 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.2197, allocations: 165.7 kB / 0.6942 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.2197, allocations: 384 / 0.6942 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.2197, allocations: 1.344 kB / 0.6942 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.2199, allocations: 53.83 kB / 0.6943 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.22, allocations: 3.938 kB / 0.6943 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.22, allocations: 1.219 kB / 0.6943 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.22, allocations: 3.938 kB / 0.6943 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.2202, allocations: 30.72 kB / 0.6943 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.2206, allocations: 251.7 kB / 0.6946 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.2208, allocations: 47.66 kB / 0.6946 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.807e-05/0.2209, allocations: 21.62 kB / 0.6946 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.221, allocations: 1.656 kB / 0.6946 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.221, allocations: 34.5 kB / 0.6947 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.221, allocations: 1.75 kB / 0.6947 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004055/0.2214, allocations: 87.75 kB / 0.6947 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.2215, allocations: 51.41 kB / 0.6948 GB, free: 11 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.2216, allocations: 103.5 kB / 0.6949 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.2216, allocations: 25.7 kB / 0.6949 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.2217, allocations: 81.92 kB / 0.695 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.2217, allocations: 3.953 kB / 0.695 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.2218, allocations: 17.34 kB / 0.695 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.2219, allocations: 319 kB / 0.6953 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/0.222, allocations: 16.92 kB / 0.6953 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.518e-05/0.2221, allocations: 14.77 kB / 0.6953 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.2223, allocations: 43.38 kB / 0.6954 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.2223, allocations: 3.938 kB / 0.6954 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000201/0.2225, allocations: 63.89 kB / 0.6955 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2225, allocations: 6.906 kB / 0.6955 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2225, allocations: 0 / 0.6955 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.2226, allocations: 0 / 0.6955 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.199e-05/0.2227, allocations: 10.3 kB / 0.6955 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2227, allocations: 0 / 0.6955 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.318e-05/0.2227, allocations: 12.42 kB / 0.6955 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.2227, allocations: 0 / 0.6955 GB, free: 10.33 MB / 0.5137 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 9.356e-05/0.2228, allocations: 119.9 kB / 0.6956 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.2229, allocations: 0 / 0.6956 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.2231, allocations: 75.47 kB / 0.6957 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.2231, allocations: 192 / 0.6957 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2231, allocations: 0 / 0.6957 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.2231, allocations: 9.594 kB / 0.6957 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.2233, allocations: 156.9 kB / 0.6958 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2233, allocations: 4.031 kB / 0.6958 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.989e-05/0.2234, allocations: 10.55 kB / 0.6958 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2234, allocations: 0 / 0.6958 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.2234, allocations: 5.5 kB / 0.6958 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2234, allocations: 0 / 0.6958 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2234, allocations: 0 / 0.6958 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.2237, allocations: 174.8 kB / 0.696 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.2238, allocations: 78.48 kB / 0.6961 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.2238, allocations: 1.375 kB / 0.6961 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.614e-05/0.2239, allocations: 6.734 kB / 0.6961 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.2239, allocations: 1.375 kB / 0.6961 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.2239, allocations: 5.312 kB / 0.6961 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.629e-05/0.224, allocations: 78.03 kB / 0.6962 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.224, allocations: 0 / 0.6962 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002122/0.2242, allocations: 8.125 kB / 0.6962 GB, free: 9.59 MB / 0.5137 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.0006659/0.2249, allocations: 0.7057 MB / 0.6969 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.2251, allocations: 36.62 kB / 0.6969 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2251, allocations: 1.375 kB / 0.6969 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.968e-05/0.2252, allocations: 18.97 kB / 0.6969 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.2255, allocations: 6.75 kB / 0.6969 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.226, allocations: 127 kB / 0.6971 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.2263, allocations: 0.677 MB / 0.6977 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.722e-05/0.2264, allocations: 9.312 kB / 0.6977 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.2264, allocations: 8.812 kB / 0.6977 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.2264, allocations: 0 / 0.6977 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.249, allocations: 1.251 MB / 0.699 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.974/8.223, allocations: 4.547 kB / 0.699 GB, free: 7.285 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Tan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Tan.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.224036155967042] Failed to read output from testmodel.py, exit status != 0: 8.651583499042317 8.321553743 8.098519882 Calling exit ...