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.0009016/0.0009016, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001222/0.001222, allocations: 212.1 kB / 22.25 MB, free: 3.727 MB / 13.93 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.9593/0.9593, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.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.8011/0.8011, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [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: IDEAS 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.001216/0.001216, allocations: 74.83 kB / 0.7182 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5663/0.5676, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001715/0.5693, allocations: 0.6496 MB / 0.8185 GB, free: 0.625 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008359/0.5701, allocations: 0.8432 MB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.5701, allocations: 3.594 kB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.193e-05/0.5702, allocations: 4.688 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.75e-05/0.5702, allocations: 0 / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.5705, allocations: 18.12 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.601e-05/0.5705, allocations: 24.2 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.5707, allocations: 11.47 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.986e-05/0.5707, allocations: 13.3 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.147e-05/0.5708, allocations: 9.578 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.5708, allocations: 7.656 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.557e-05/0.5708, allocations: 3.547 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.5708, allocations: 4.703 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.5709, allocations: 7.266 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.571, allocations: 30.41 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.571, allocations: 1.578 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.194e-06/0.571, allocations: 0 / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.571, allocations: 0 / 0.8194 GB, free: 15.92 MB / 0.6198 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.0003947/0.5714, allocations: 263.5 kB / 0.8197 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.5715, allocations: 9.688 kB / 0.8197 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.113e-05/0.5715, allocations: 36.28 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.838e-05/0.5716, allocations: 3.094 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.487e-05/0.5716, allocations: 110.2 kB / 0.8198 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.5717, allocations: 4.047 kB / 0.8198 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.5717, allocations: 4.312 kB / 0.8198 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.5718, allocations: 53.69 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.5718, allocations: 7.922 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.5718, allocations: 0 / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5718, allocations: 0 / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.961e-05/0.5719, allocations: 38.42 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.5723, allocations: 208.7 kB / 0.8201 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.696e-05/0.5724, allocations: 42.14 kB / 0.8202 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.369e-05/0.5724, allocations: 26.89 kB / 0.8202 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.5724, allocations: 0 / 0.8202 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.5724, allocations: 34.86 kB / 0.8202 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.5724, allocations: 0 / 0.8202 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002443/0.5727, allocations: 81.2 kB / 0.8203 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.5727, allocations: 53.91 kB / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.381e-05/0.5728, allocations: 100.1 kB / 0.8205 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.5728, allocations: 26.89 kB / 0.8205 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.5728, allocations: 82.48 kB / 0.8206 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.5729, allocations: 4.891 kB / 0.8206 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.5729, allocations: 17.27 kB / 0.8206 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.933e-05/0.573, allocations: 317.1 kB / 0.8209 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-05/0.573, allocations: 17.62 kB / 0.8209 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.918e-05/0.5731, allocations: 22.62 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.794e-05/0.5731, allocations: 38.38 kB / 0.821 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.5732, allocations: 3.938 kB / 0.821 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001166/0.5733, allocations: 72.61 kB / 0.821 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.5733, allocations: 12.06 kB / 0.8211 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5733, allocations: 0.5625 kB / 0.8211 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5733, allocations: 0 / 0.8211 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.677e-05/0.5734, allocations: 7.594 kB / 0.8211 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.5734, allocations: 4.453 kB / 0.8211 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.758e-05/0.5734, allocations: 11.91 kB / 0.8211 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.5734, allocations: 0 / 0.8211 GB, free: 14.36 MB / 0.6198 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.318e-05/0.5735, allocations: 115.2 kB / 0.8212 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.5735, allocations: 6.516 kB / 0.8212 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.5737, allocations: 72.03 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.5737, allocations: 0.6094 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5737, allocations: 3.938 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5737, allocations: 0 / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.5739, allocations: 129.1 kB / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.5739, allocations: 0.5156 kB / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.532e-05/0.5739, allocations: 10.62 kB / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.5739, allocations: 4.031 kB / 0.8214 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.5739, allocations: 4 kB / 0.8214 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5739, allocations: 0 / 0.8214 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.5739, allocations: 8.609 kB / 0.8214 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.5741, allocations: 158.2 kB / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.363e-05/0.5741, allocations: 8.641 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.5741, allocations: 0.6094 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.918e-05/0.5742, allocations: 3.453 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.5742, allocations: 12.88 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.5742, allocations: 0.6562 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.282e-05/0.5743, allocations: 78.64 kB / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5743, allocations: 3.281 kB / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001497/0.5744, allocations: 3.5 kB / 0.8217 GB, free: 13.8 MB / 0.6198 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.0004912/0.5749, allocations: 0.6908 MB / 0.8223 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001873/0.5751, allocations: 38.05 kB / 0.8224 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5751, allocations: 0 / 0.8224 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.678e-05/0.5752, allocations: 20.95 kB / 0.8224 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.5755, allocations: 3.391 kB / 0.8224 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/0.5761, allocations: 136.4 kB / 0.8225 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.363e-05/0.5761, allocations: 64.17 kB / 0.8226 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.386e-05/0.5762, allocations: 6.141 kB / 0.8226 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.5762, allocations: 11.45 kB / 0.8226 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of SimCode: time 5.81e-07/0.5762, allocations: 3.938 kB / 0.8226 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.5931, allocations: 1.802 MB / 0.8244 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.483/7.076, allocations: 10.11 kB / 0.8244 GB, free: 12.03 MB / 0.6198 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: 10.137955947779119] Failed to read output from testmodel.py, exit status != 0: 7.155558526050299 7.172347841 6.598272126 Calling exit ...