Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0009129/0.0009129, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000912/0.000912, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9192/0.9192, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7258/0.7258, allocations: 154.6 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.511e-06/5.511e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/3.026e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001433/0.001463, allocations: 0.6414 MB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008246/0.002288, allocations: 0.8471 MB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.192e-05/0.002319, allocations: 4 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.002347, allocations: 0 / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.854e-05/0.002405, allocations: 7.938 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.002603, allocations: 15.92 kB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.86e-05/0.002692, allocations: 27.81 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.757e-05/0.002789, allocations: 7.984 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.861e-05/0.002858, allocations: 15.97 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.25e-05/0.00289, allocations: 4 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.002906, allocations: 4 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.506e-05/0.002951, allocations: 4 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.002965, allocations: 3.984 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.841e-05/0.002984, allocations: 15.94 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.969e-05/0.003083, allocations: 23.97 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003085, allocations: 0 / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.543e-06/0.003087, allocations: 0 / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.00309, allocations: 0 / 0.6197 GB, free: 12.03 MB / 0.5886 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.000335/0.003425, allocations: 258.3 kB / 0.6199 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.003465, allocations: 13.47 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.807e-05/0.003494, allocations: 30.75 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.148e-05/0.003565, allocations: 8.875 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.003715, allocations: 113.7 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.003726, allocations: 4.375 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-06/0.003735, allocations: 8.359 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.003871, allocations: 46.23 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.003878, allocations: 4.188 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.003887, allocations: 384 / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.003894, allocations: 4.125 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.88e-05/0.003982, allocations: 31.95 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.004282, allocations: 212.1 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.579e-05/0.004378, allocations: 42.5 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.959e-05/0.004427, allocations: 24.89 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.004452, allocations: 3.938 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.004485, allocations: 38.5 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.004486, allocations: 0 / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002423/0.004729, allocations: 85.62 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.004766, allocations: 55.41 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.543e-05/0.004831, allocations: 97.86 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.004843, allocations: 25.7 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.004884, allocations: 88.12 kB / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.004903, allocations: 7.953 kB / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.004932, allocations: 9.719 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.232e-05/0.005025, allocations: 310.8 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.105e-05/0.005076, allocations: 19.98 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/0.005114, allocations: 20 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.329e-05/0.005197, allocations: 40.83 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005199, allocations: 0 / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001095/0.005308, allocations: 77.47 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.005323, allocations: 6.188 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.005328, allocations: 96 / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.005341, allocations: 4 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.005424, allocations: 11.98 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.00543, allocations: 0 / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.005455, allocations: 7.938 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.00546, allocations: 0 / 0.6213 GB, free: 10.16 MB / 0.5886 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.729e-05/0.005518, allocations: 106.8 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.005532, allocations: 11.92 kB / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.005684, allocations: 72.97 kB / 0.6215 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.005687, allocations: 0 / 0.6215 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.005692, allocations: 0 / 0.6215 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.005695, allocations: 4 kB / 0.6215 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.005812, allocations: 124.8 kB / 0.6216 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.005813, allocations: 0 / 0.6216 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.012e-05/0.005843, allocations: 11.94 kB / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001729/0.006016, allocations: 11.92 kB / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.006023, allocations: 0 / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.006026, allocations: 0 / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.006027, allocations: 4.031 kB / 0.6217 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.006161, allocations: 167.4 kB / 0.6218 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-06/0.006169, allocations: 3.938 kB / 0.6218 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.00618, allocations: 4 kB / 0.6218 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.608e-05/0.006216, allocations: 0 / 0.6218 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.006252, allocations: 7.984 kB / 0.6218 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.006254, allocations: 192 / 0.6218 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.921e-05/0.006283, allocations: 83.27 kB / 0.6219 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006284, allocations: 0 / 0.6219 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001521/0.006436, allocations: 12.03 kB / 0.6219 GB, free: 9.465 MB / 0.5886 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.000363/0.006799, allocations: 0.6889 MB / 0.6226 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000133/0.006932, allocations: 39.95 kB / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.006933, allocations: 0 / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.082e-05/0.006974, allocations: 24.02 kB / 0.6227 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.007218, allocations: 7.984 kB / 0.6227 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.007584, allocations: 130.6 kB / 0.6228 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.668e-05/0.00763, allocations: 59.36 kB / 0.6229 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.232e-05/0.007653, allocations: 3.984 kB / 0.6229 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.00769, allocations: 8.5 kB / 0.6229 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of SimCode: time 7.81e-07/0.007691, allocations: 0 / 0.6229 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.02479, allocations: 1.936 MB / 0.6248 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.783/6.808, allocations: 3.562 kB / 0.6248 GB, free: 6.625 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Tan.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.663206320255995] Failed to read output from testmodel.py, exit status != 0: 6.888887634500861 6.899412301 6.894361745 Calling exit ...