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.0007878/0.0007878, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001062/0.001062, allocations: 213.8 kB / 22.26 MB, free: 3.703 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 1.016/1.016, allocations: 230.6 MB / 256 MB, free: 9.816 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.8307/0.8307, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.001513/0.001513, allocations: 66.95 kB / 0.7183 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5097/0.5112, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001933/0.5132, allocations: 0.6602 MB / 0.8185 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000949/0.5141, allocations: 0.8584 MB / 0.8194 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.77e-05/0.5142, allocations: 3.938 kB / 0.8194 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.5142, allocations: 3.938 kB / 0.8194 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.871e-05/0.5143, allocations: 1.922 kB / 0.8194 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.5145, allocations: 13.8 kB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.11e-05/0.5146, allocations: 25.81 kB / 0.8194 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.5147, allocations: 3.484 kB / 0.8194 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.229e-05/0.5147, allocations: 7.297 kB / 0.8194 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.482e-05/0.5148, allocations: 14.45 kB / 0.8195 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.5148, allocations: 6.984 kB / 0.8195 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.799e-05/0.5149, allocations: 8.516 kB / 0.8195 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.5149, allocations: 8.516 kB / 0.8195 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.5149, allocations: 12.08 kB / 0.8195 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.515, allocations: 27.59 kB / 0.8195 GB, free: 132 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.5151, allocations: 0 / 0.8195 GB, free: 132 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.474e-06/0.5151, allocations: 0 / 0.8195 GB, free: 132 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.5151, allocations: 0 / 0.8195 GB, free: 132 kB / 0.6042 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.000385/0.5154, allocations: 263.1 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5155, allocations: 9.312 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/0.5155, allocations: 34.06 kB / 0.8198 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.194e-05/0.5156, allocations: 8.203 kB / 0.8198 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.647e-05/0.5157, allocations: 110.7 kB / 0.8199 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.5157, allocations: 8.297 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.5157, allocations: 384 / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.5159, allocations: 53.5 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.5159, allocations: 3.938 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.5159, allocations: 0 / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.5159, allocations: 1 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.921e-05/0.516, allocations: 38.58 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.5163, allocations: 215.8 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.031e-05/0.5164, allocations: 43.94 kB / 0.8203 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.771e-05/0.5164, allocations: 19.02 kB / 0.8203 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.5164, allocations: 8.594 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.5165, allocations: 33.72 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.5165, allocations: 0 / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002254/0.5167, allocations: 78.03 kB / 0.8204 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.5167, allocations: 56.62 kB / 0.8205 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.358e-05/0.5168, allocations: 105 kB / 0.8206 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.5168, allocations: 27.33 kB / 0.8206 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.5168, allocations: 81.45 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.5169, allocations: 4.828 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.5169, allocations: 17.19 kB / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.517, allocations: 318.6 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.758e-05/0.517, allocations: 16.73 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.174e-05/0.5171, allocations: 20.66 kB / 0.821 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.656e-05/0.5172, allocations: 34 kB / 0.8211 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5172, allocations: 6.234 kB / 0.8211 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001246/0.5173, allocations: 66.05 kB / 0.8211 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.5173, allocations: 8.625 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5173, allocations: 1.719 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.5173, allocations: 4.656 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.5174, allocations: 11.89 kB / 0.8212 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.5174, allocations: 2 kB / 0.8212 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.125e-05/0.5175, allocations: 13.59 kB / 0.8212 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.5175, allocations: 0 / 0.8212 GB, free: 14.56 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 7.195e-05/0.5175, allocations: 113.7 kB / 0.8213 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/0.5175, allocations: 0.5625 kB / 0.8213 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.5177, allocations: 79.78 kB / 0.8214 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5177, allocations: 0 / 0.8214 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.5177, allocations: 2.625 kB / 0.8214 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.5177, allocations: 0.6094 kB / 0.8214 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.5179, allocations: 130 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5179, allocations: 0 / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.945e-05/0.5179, allocations: 14.22 kB / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5179, allocations: 0 / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.5179, allocations: 32 / 0.8215 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.5179, allocations: 8.453 kB / 0.8215 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5179, allocations: 3.969 kB / 0.8215 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.5181, allocations: 163 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.132e-05/0.5181, allocations: 4.797 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.5181, allocations: 1.625 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.489e-05/0.5182, allocations: 10.56 kB / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.5182, allocations: 4.641 kB / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.5182, allocations: 3.984 kB / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.653e-05/0.5183, allocations: 78.3 kB / 0.8218 GB, free: 14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5183, allocations: 0 / 0.8218 GB, free: 14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001527/0.5184, allocations: 9.031 kB / 0.8218 GB, free: 13.99 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.0004659/0.5189, allocations: 0.6931 MB / 0.8224 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001745/0.5191, allocations: 40.03 kB / 0.8225 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5191, allocations: 0 / 0.8225 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.896e-05/0.5191, allocations: 25.38 kB / 0.8225 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.5194, allocations: 6.375 kB / 0.8225 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.5198, allocations: 132.8 kB / 0.8226 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.5201, allocations: 0.6754 MB / 0.8233 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.381e-05/0.5201, allocations: 2 kB / 0.8233 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.5201, allocations: 8 kB / 0.8233 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.5201, allocations: 3.781 kB / 0.8233 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.5385, allocations: 1.382 MB / 0.8247 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.527/7.065, allocations: 10.88 kB / 0.8247 GB, free: 12.02 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.29180124308914] Failed to read output from testmodel.py, exit status != 0: 7.145946658914909 7.163541345 6.645411005 Calling exit ...