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.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.001348/0.001348, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.001582/0.001582, allocations: 212.1 kB / 22.99 MB, free: 4.605 MB / 14.72 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.569/1.569, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.993/0.993, allocations: 149.9 MB / 463.1 MB, free: 10.37 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(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: IBPSA 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.002127/0.002127, allocations: 63.5 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2137, allocations: 89.17 MB / 0.7282 GB, free: 1.008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002126/0.2159, allocations: 0.6528 MB / 0.7288 GB, free: 364 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.217, allocations: 0.8393 MB / 0.7297 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.569e-05/0.2171, allocations: 0 / 0.7297 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.2171, allocations: 0 / 0.7297 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.925e-05/0.2172, allocations: 15.91 kB / 0.7297 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.2174, allocations: 4 kB / 0.7297 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.2174, allocations: 31.86 kB / 0.7297 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.286e-05/0.2175, allocations: 0 / 0.7297 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.002e-05/0.2176, allocations: 11.98 kB / 0.7297 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.137e-05/0.2176, allocations: 11.94 kB / 0.7297 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.2177, allocations: 4 kB / 0.7297 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.179e-05/0.2177, allocations: 7.984 kB / 0.7297 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.2177, allocations: 7.984 kB / 0.7298 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.2178, allocations: 0 / 0.7298 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.2179, allocations: 36.06 kB / 0.7298 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2179, allocations: 0 / 0.7298 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2179, allocations: 0 / 0.7298 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.2179, allocations: 3.938 kB / 0.7298 GB, free: 15.37 MB / 0.5606 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.0004642/0.2184, allocations: 262.3 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.2184, allocations: 12.03 kB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.643e-05/0.2185, allocations: 38.73 kB / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.668e-05/0.2185, allocations: 0.9375 kB / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.2186, allocations: 110.5 kB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.2187, allocations: 384 / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.2187, allocations: 384 / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.2188, allocations: 54.17 kB / 0.7302 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.2188, allocations: 3.938 kB / 0.7303 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.2189, allocations: 0 / 0.7303 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2189, allocations: 0 / 0.7303 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.219, allocations: 43.89 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.2194, allocations: 208.1 kB / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.2195, allocations: 42.48 kB / 0.7305 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.905e-05/0.2196, allocations: 24.91 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.2196, allocations: 0 / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.2197, allocations: 30.56 kB / 0.7306 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.2197, allocations: 4 kB / 0.7306 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003533/0.22, allocations: 85.58 kB / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.2201, allocations: 51.41 kB / 0.7307 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.389e-05/0.2201, allocations: 97.86 kB / 0.7308 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.2202, allocations: 29.7 kB / 0.7308 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.2202, allocations: 88.06 kB / 0.7309 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.2202, allocations: 3.953 kB / 0.7309 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.2203, allocations: 17.72 kB / 0.7309 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2204, allocations: 315 kB / 0.7312 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.448e-05/0.2205, allocations: 11.98 kB / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.721e-05/0.2206, allocations: 23.97 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.2207, allocations: 40.77 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2207, allocations: 3.938 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001985/0.2209, allocations: 65.72 kB / 0.7314 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.2209, allocations: 8 kB / 0.7314 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2209, allocations: 0 / 0.7314 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.221, allocations: 0 / 0.7314 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.711e-05/0.221, allocations: 7.984 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2211, allocations: 0 / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.086e-05/0.2211, allocations: 8 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.2211, allocations: 4 kB / 0.7314 GB, free: 13.51 MB / 0.5606 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.909e-05/0.2212, allocations: 121.8 kB / 0.7315 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.2212, allocations: 3.953 kB / 0.7315 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.2215, allocations: 72.91 kB / 0.7316 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2215, allocations: 3.938 kB / 0.7316 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/0.2215, allocations: 192 / 0.7316 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.2215, allocations: 3.938 kB / 0.7316 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.2217, allocations: 136.7 kB / 0.7317 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2217, allocations: 0 / 0.7317 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.8e-05/0.2217, allocations: 11.98 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2217, allocations: 4.031 kB / 0.7318 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.2217, allocations: 0 / 0.7318 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2217, allocations: 0 / 0.7318 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2217, allocations: 0 / 0.7318 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.222, allocations: 171.4 kB / 0.7319 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-06/0.222, allocations: 0 / 0.7319 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.222, allocations: 0 / 0.7319 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.683e-05/0.2221, allocations: 7.984 kB / 0.7319 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.2221, allocations: 8.031 kB / 0.7319 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.2221, allocations: 4 kB / 0.7319 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.462e-05/0.2222, allocations: 75.28 kB / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2222, allocations: 4 kB / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002128/0.2224, allocations: 0 / 0.732 GB, free: 12.82 MB / 0.5606 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.0005965/0.223, allocations: 0.7007 MB / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002122/0.2232, allocations: 39.94 kB / 0.7327 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2232, allocations: 0 / 0.7327 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.408e-05/0.2233, allocations: 19.98 kB / 0.7328 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.2236, allocations: 10.17 kB / 0.7328 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004565/0.224, allocations: 139.8 kB / 0.7329 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.019e-05/0.2241, allocations: 59.34 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.337e-05/0.2241, allocations: 4.125 kB / 0.733 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.2242, allocations: 15.44 kB / 0.733 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.2242, allocations: 0 / 0.733 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.2541, allocations: 1.808 MB / 0.7347 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.36, allocations: 4.766 kB / 0.7347 GB, free: 10.08 MB / 0.5606 GB " [Timeout remaining time 649] (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: 15.401933087036014] Failed to read output from testmodel.py, exit status != 0: 11.474092322867364 11.505045181 11.281159271 Calling exit ...