Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.0009913/0.0009913, 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.001063/0.001063, allocations: 219.2 kB / 22.26 MB, free: 3.84 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.014/1.014, allocations: 230.6 MB / 256 MB, free: 9.789 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.8152/0.8152, allocations: 203.8 MB / 0.5042 GB, free: 10.6 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.Add,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Add",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.0009856/0.0009856, allocations: 68.91 kB / 0.7183 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4853/0.4863, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001695/0.488, allocations: 0.7068 MB / 0.8186 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007463/0.4887, allocations: 0.8366 MB / 0.8194 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/0.4888, allocations: 3.781 kB / 0.8194 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.4888, allocations: 0 / 0.8194 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.322e-05/0.4889, allocations: 8.625 kB / 0.8194 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.928e-05/0.4889, allocations: 12.45 kB / 0.8194 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.58e-05/0.489, allocations: 39.27 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.4891, allocations: 9.234 kB / 0.8195 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.44e-05/0.4892, allocations: 25.83 kB / 0.8195 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.12e-05/0.4892, allocations: 21.2 kB / 0.8195 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.4892, allocations: 8.438 kB / 0.8195 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.612e-06/0.4893, allocations: 4.531 kB / 0.8195 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.4893, allocations: 6.016 kB / 0.8195 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.4893, allocations: 20.42 kB / 0.8196 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.4894, allocations: 45.72 kB / 0.8196 GB, free: 52 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.4894, allocations: 0 / 0.8196 GB, free: 52 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4894, allocations: 0 / 0.8196 GB, free: 52 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.4894, allocations: 0 / 0.8196 GB, free: 52 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005623/0.49, allocations: 294.9 kB / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.574e-05/0.4901, allocations: 9.469 kB / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.4901, allocations: 31.31 kB / 0.8199 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.4901, allocations: 7.797 kB / 0.8199 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.4903, allocations: 107.9 kB / 0.82 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.4903, allocations: 384 / 0.82 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.4903, allocations: 2.594 kB / 0.82 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.4906, allocations: 74.88 kB / 0.8201 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.4906, allocations: 3.938 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.4906, allocations: 0 / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.4906, allocations: 3.938 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.4908, allocations: 66.23 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004892/0.4913, allocations: 249.6 kB / 0.8204 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.4914, allocations: 54.88 kB / 0.8205 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.4916, allocations: 38.31 kB / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.4916, allocations: 0 / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.4916, allocations: 41.17 kB / 0.8205 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.904e-06/0.4916, allocations: 0 / 0.8205 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004404/0.492, allocations: 127.3 kB / 0.8207 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.4921, allocations: 53.97 kB / 0.8207 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.4922, allocations: 115.5 kB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.4922, allocations: 25.7 kB / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.4923, allocations: 91.89 kB / 0.8209 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.4923, allocations: 8.562 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.4923, allocations: 12.77 kB / 0.821 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.4925, allocations: 319.1 kB / 0.8213 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.4926, allocations: 30.44 kB / 0.8213 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.195e-05/0.4927, allocations: 34.92 kB / 0.8213 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.4929, allocations: 76.52 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4929, allocations: 0 / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002276/0.4931, allocations: 95.78 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.4931, allocations: 6.125 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4931, allocations: 0 / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.4932, allocations: 0.5625 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.4933, allocations: 20.36 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.4933, allocations: 4 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.4933, allocations: 13.28 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.4933, allocations: 0 / 0.8215 GB, free: 14.43 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 (3): * Single equations (assignments): 3 * 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 9.525e-05/0.4934, allocations: 128.6 kB / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.4934, allocations: 6.844 kB / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.4935, allocations: 4.562 kB / 0.8217 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4935, allocations: 0.6094 kB / 0.8217 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.4935, allocations: 2.938 kB / 0.8217 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4935, allocations: 0.6094 kB / 0.8217 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.4937, allocations: 141.5 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4937, allocations: 0 / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.708e-05/0.4937, allocations: 24.02 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4937, allocations: 0 / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.4937, allocations: 4 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-07/0.4937, allocations: 0 / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.4937, allocations: 4.5 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.494, allocations: 192.5 kB / 0.822 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.494, allocations: 5.359 kB / 0.822 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.494, allocations: 0 / 0.822 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.33e-05/0.4941, allocations: 15.88 kB / 0.822 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.4941, allocations: 10.12 kB / 0.8221 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.4941, allocations: 0 / 0.8221 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.034e-05/0.4942, allocations: 86.25 kB / 0.8221 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4942, allocations: 0 / 0.8221 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000148/0.4943, allocations: 8.156 kB / 0.8221 GB, free: 13.87 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 (3): * Single equations (assignments): 3 * 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.0005856/0.4949, allocations: 0.7249 MB / 0.8229 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000284/0.4952, allocations: 74.7 kB / 0.8229 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4952, allocations: 0 / 0.8229 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.278e-05/0.4953, allocations: 33.98 kB / 0.823 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.4956, allocations: 8.016 kB / 0.823 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005174/0.4961, allocations: 172.8 kB / 0.8231 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.4964, allocations: 0.6823 MB / 0.8238 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.076e-05/0.4964, allocations: 0 / 0.8238 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.4965, allocations: 15.66 kB / 0.8238 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/0.4965, allocations: 0 / 0.8238 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.516, allocations: 1.743 MB / 0.8255 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.439/6.955, allocations: 8.062 kB / 0.8255 GB, free: 11.85 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add_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_Add.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.086694014957175] Failed to read output from testmodel.py, exit status != 0: 7.031191210960969 7.04500459 6.55336429 Calling exit ...