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.0008695/0.0008695, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0009171/0.0009171, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9353/0.9353, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.5607/0.5607, allocations: 114 MB / 373.9 MB, free: 8.691 MB / 346.7 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: Performance of FrontEnd - loaded program: time 4.137e-06/4.137e-06, allocations: 0 / 0.5542 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.821e-05/3.235e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001747/0.00178, allocations: 0.6619 MB / 0.5549 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.002951, allocations: 0.8393 MB / 0.5557 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.067e-05/0.003001, allocations: 0 / 0.5557 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 4.579e-05/0.003047, allocations: 3.938 kB / 0.5557 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 9.231e-05/0.003139, allocations: 3.938 kB / 0.5557 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.003423, allocations: 19.91 kB / 0.5557 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.884e-05/0.003521, allocations: 31.92 kB / 0.5558 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.003655, allocations: 0 / 0.5558 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.003775, allocations: 11.98 kB / 0.5558 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.959e-05/0.003834, allocations: 8 kB / 0.5558 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.003858, allocations: 4 kB / 0.5558 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.566e-05/0.003934, allocations: 7.984 kB / 0.5558 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.003959, allocations: 7.875 kB / 0.5558 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.003985, allocations: 4 kB / 0.5558 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.00415, allocations: 31.94 kB / 0.5558 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.004155, allocations: 0 / 0.5558 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.074e-06/0.004157, allocations: 0 / 0.5558 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.004164, allocations: 4 kB / 0.5558 GB, free: 1.07 MB / 0.5105 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.0004893/0.004654, allocations: 266.3 kB / 0.5561 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/0.004716, allocations: 8.625 kB / 0.5561 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.372e-05/0.004759, allocations: 34.75 kB / 0.5561 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.095e-05/0.00485, allocations: 4.938 kB / 0.5561 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.758e-05/0.004938, allocations: 105.8 kB / 0.5562 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.00495, allocations: 384 / 0.5562 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.004959, allocations: 384 / 0.5562 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.005112, allocations: 50.23 kB / 0.5563 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.005121, allocations: 8.125 kB / 0.5563 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.005131, allocations: 384 / 0.5563 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.005142, allocations: 8.109 kB / 0.5563 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.292e-05/0.005234, allocations: 39.89 kB / 0.5563 GB, free: 496 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.005579, allocations: 208 kB / 0.5565 GB, free: 244 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.378e-05/0.005672, allocations: 38.59 kB / 0.5566 GB, free: 196 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.005719, allocations: 24.91 kB / 0.5566 GB, free: 168 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.005741, allocations: 4 kB / 0.5566 GB, free: 164 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.005765, allocations: 34.5 kB / 0.5566 GB, free: 120 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.005766, allocations: 0 / 0.5566 GB, free: 120 kB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002346/0.006, allocations: 85.53 kB / 0.5567 GB, free: 28 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.006053, allocations: 55.41 kB / 0.5568 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.987e-05/0.006123, allocations: 97.84 kB / 0.5569 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.006133, allocations: 33.64 kB / 0.5569 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.006172, allocations: 88.27 kB / 0.557 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.006191, allocations: 3.953 kB / 0.557 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.006219, allocations: 13.72 kB / 0.557 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.00631, allocations: 314.8 kB / 0.5573 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.751e-05/0.006357, allocations: 15.97 kB / 0.5573 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.564e-05/0.006393, allocations: 15.98 kB / 0.5573 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.78e-05/0.006481, allocations: 48.83 kB / 0.5574 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.006483, allocations: 0 / 0.5574 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001248/0.006608, allocations: 65.59 kB / 0.5574 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.006626, allocations: 9.875 kB / 0.5575 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.006632, allocations: 0 / 0.5575 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.006647, allocations: 0 / 0.5575 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.161e-05/0.006729, allocations: 7.984 kB / 0.5575 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.006734, allocations: 0 / 0.5575 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.522e-05/0.006759, allocations: 12.02 kB / 0.5575 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.006766, allocations: 4 kB / 0.5575 GB, free: 15.2 MB / 0.5261 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 6.933e-05/0.006836, allocations: 105.8 kB / 0.5576 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.006852, allocations: 3.938 kB / 0.5576 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.007023, allocations: 76.91 kB / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.007026, allocations: 0 / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.007032, allocations: 0 / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.007036, allocations: 0 / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.007151, allocations: 136.6 kB / 0.5578 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.007153, allocations: 8 kB / 0.5578 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.007188, allocations: 7.984 kB / 0.5578 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.007192, allocations: 3.938 kB / 0.5578 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.007201, allocations: 0 / 0.5578 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.007203, allocations: 0 / 0.5578 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.007206, allocations: 4 kB / 0.5578 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.007354, allocations: 167.5 kB / 0.558 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.007365, allocations: 3.938 kB / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.007376, allocations: 4.031 kB / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.808e-05/0.007414, allocations: 7.984 kB / 0.558 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.007461, allocations: 0 / 0.558 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.007466, allocations: 4 kB / 0.558 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.509e-05/0.007501, allocations: 79.27 kB / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.007501, allocations: 4 kB / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001522/0.007653, allocations: 4 kB / 0.5581 GB, free: 14.52 MB / 0.5261 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.0004461/0.008099, allocations: 0.6958 MB / 0.5587 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001511/0.00825, allocations: 35.91 kB / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.008252, allocations: 0 / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.22e-05/0.008295, allocations: 27.91 kB / 0.5588 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.008558, allocations: 4 kB / 0.5588 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.008905, allocations: 138.8 kB / 0.5589 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.381e-05/0.008949, allocations: 59.34 kB / 0.559 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.998e-05/0.008969, allocations: 4 kB / 0.559 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.009003, allocations: 8.5 kB / 0.559 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of SimCode: time 9.11e-07/0.009004, allocations: 0 / 0.559 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.02481, allocations: 1.93 MB / 0.5609 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.765/6.79, allocations: 9.422 kB / 0.5609 GB, free: 11.66 MB / 0.5261 GB " [Timeout remaining time 653] (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: 9.451638856902719] Failed to read output from testmodel.py, exit status != 0: 6.873079402372241 6.888146582 6.880856075 Calling exit ...