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.001396/0.001396, allocations: 107.5 kB / 17.08 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.001346/0.001346, allocations: 194.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.497/1.497, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.5 MB, free: 8.316 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.2823/0.2823, allocations: 61.58 kB / 0.6109 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.4687, allocations: 83.15 MB / 0.6921 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001849/0.4706, allocations: 0.6539 MB / 0.6928 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.4716, allocations: 0.8004 MB / 0.6936 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.3e-05/0.4717, allocations: 5.031 kB / 0.6936 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.4717, allocations: 3.938 kB / 0.6936 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-05/0.4718, allocations: 5.25 kB / 0.6936 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.4719, allocations: 17 kB / 0.6936 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.276e-05/0.472, allocations: 25.3 kB / 0.6936 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.62e-05/0.4721, allocations: 7.781 kB / 0.6936 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.69e-05/0.4722, allocations: 12.2 kB / 0.6936 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.316e-05/0.4722, allocations: 10.75 kB / 0.6937 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.4722, allocations: 1.438 kB / 0.6937 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.4723, allocations: 2.719 kB / 0.6937 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.4723, allocations: 3.984 kB / 0.6937 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.4723, allocations: 14.59 kB / 0.6937 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.999e-05/0.4724, allocations: 19.8 kB / 0.6937 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4724, allocations: 1.406 kB / 0.6937 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4724, allocations: 0 / 0.6937 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.4724, allocations: 0 / 0.6937 GB, free: 12.21 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.0004911/0.4729, allocations: 331.2 kB / 0.694 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.473, allocations: 10.12 kB / 0.694 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.473, allocations: 31.88 kB / 0.6941 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/0.4731, allocations: 10.14 kB / 0.6941 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.4732, allocations: 177.5 kB / 0.6942 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.4732, allocations: 384 / 0.6942 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.4733, allocations: 2.625 kB / 0.6942 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.4734, allocations: 52.92 kB / 0.6943 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.4735, allocations: 3.938 kB / 0.6943 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.4735, allocations: 5.328 kB / 0.6943 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.4735, allocations: 0 / 0.6943 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.4737, allocations: 30.16 kB / 0.6943 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.474, allocations: 249.5 kB / 0.6946 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.4742, allocations: 47.84 kB / 0.6946 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.776e-05/0.4743, allocations: 18.62 kB / 0.6946 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.4743, allocations: 0 / 0.6946 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.4743, allocations: 40.44 kB / 0.6947 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.4743, allocations: 0 / 0.6947 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003747/0.4747, allocations: 79.81 kB / 0.6947 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.4748, allocations: 51.41 kB / 0.6948 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.062e-05/0.4749, allocations: 103.1 kB / 0.6949 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.4749, allocations: 29.64 kB / 0.6949 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.4749, allocations: 85.89 kB / 0.695 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.475, allocations: 9.547 kB / 0.695 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.475, allocations: 11.34 kB / 0.695 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4752, allocations: 316.2 kB / 0.6953 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.259e-05/0.4752, allocations: 21.02 kB / 0.6953 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.14e-05/0.4753, allocations: 12.86 kB / 0.6953 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.4755, allocations: 44.25 kB / 0.6954 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4755, allocations: 3.938 kB / 0.6954 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001955/0.4757, allocations: 64.73 kB / 0.6955 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.4757, allocations: 4.844 kB / 0.6955 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4757, allocations: 0 / 0.6955 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.4757, allocations: 1.469 kB / 0.6955 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.406e-05/0.4758, allocations: 17.61 kB / 0.6955 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.4759, allocations: 3.984 kB / 0.6955 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.788e-05/0.4759, allocations: 7.516 kB / 0.6955 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.4759, allocations: 1.156 kB / 0.6955 GB, free: 10.34 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 8.576e-05/0.476, allocations: 111.4 kB / 0.6956 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.476, allocations: 5.406 kB / 0.6956 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.4763, allocations: 73.84 kB / 0.6957 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4763, allocations: 1.594 kB / 0.6957 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4763, allocations: 0 / 0.6957 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.4763, allocations: 3.984 kB / 0.6957 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.4765, allocations: 159 kB / 0.6958 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4765, allocations: 0 / 0.6958 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.09e-05/0.4766, allocations: 13.42 kB / 0.6958 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.4766, allocations: 1.844 kB / 0.6958 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.4766, allocations: 3.938 kB / 0.6958 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4766, allocations: 0 / 0.6958 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4766, allocations: 4.031 kB / 0.6959 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.4769, allocations: 166.9 kB / 0.696 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.4769, allocations: 78.92 kB / 0.6961 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.4769, allocations: 0 / 0.6961 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.477, allocations: 7.578 kB / 0.6961 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.4771, allocations: 5.812 kB / 0.6961 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.4771, allocations: 1.781 kB / 0.6961 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.4771, allocations: 81.06 kB / 0.6962 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4771, allocations: 1.812 kB / 0.6962 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002098/0.4773, allocations: 3.594 kB / 0.6962 GB, free: 9.613 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.000636/0.478, allocations: 0.7017 MB / 0.6969 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.4782, allocations: 32.09 kB / 0.6969 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4782, allocations: 0 / 0.6969 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.341e-05/0.4783, allocations: 16.36 kB / 0.6969 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.4787, allocations: 17.45 kB / 0.6969 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.4791, allocations: 140.9 kB / 0.6971 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.4795, allocations: 0.6772 MB / 0.6977 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.491e-05/0.4795, allocations: 1.375 kB / 0.6977 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.4795, allocations: 7.438 kB / 0.6977 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.4796, allocations: 1.375 kB / 0.6977 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.5005, allocations: 1.26 MB / 0.699 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/8.33, allocations: 7.812 kB / 0.699 GB, free: 7.289 MB / 0.5137 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 11.955459743971005] Failed to read output from testmodel.py, exit status != 0: 8.400564944837242 8.416225726 7.940824905 Calling exit ...