Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.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.0008003/0.0008003, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009379/0.0009379, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9549/0.9549, allocations: 230.6 MB / 256 MB, free: 9.605 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.7664/0.7664, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.Round,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Round",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.001445/0.001445, allocations: 66.78 kB / 0.7182 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4887/0.4901, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Round): time 0.001504/0.4916, allocations: 0.7294 MB / 0.8186 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008316/0.4924, allocations: 0.8651 MB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.4925, allocations: 0 / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.207e-05/0.4925, allocations: 6.438 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.034e-05/0.4926, allocations: 17.14 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.4928, allocations: 30.48 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.707e-05/0.4929, allocations: 66.62 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.493, allocations: 24.88 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.543e-05/0.4931, allocations: 32.92 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.448e-05/0.4931, allocations: 36.8 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.4932, allocations: 4.625 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.098e-05/0.4932, allocations: 9 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.4932, allocations: 20.23 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.4932, allocations: 25.14 kB / 0.8197 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.4934, allocations: 79.8 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.4934, allocations: 0 / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4934, allocations: 0 / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.4934, allocations: 0 / 0.8197 GB, free: 15.75 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004357/0.4938, allocations: 305.3 kB / 0.82 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.4938, allocations: 8.906 kB / 0.82 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/0.4939, allocations: 38.28 kB / 0.8201 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.4939, allocations: 8.281 kB / 0.8201 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.327e-05/0.494, allocations: 119 kB / 0.8202 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.494, allocations: 10.34 kB / 0.8202 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.494, allocations: 4.438 kB / 0.8202 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.4942, allocations: 81.92 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.4942, allocations: 3.938 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4942, allocations: 7.938 kB / 0.8203 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4942, allocations: 2.75 kB / 0.8203 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.4944, allocations: 69.67 kB / 0.8204 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.4947, allocations: 280.9 kB / 0.8206 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.4949, allocations: 84.69 kB / 0.8207 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.495, allocations: 37.56 kB / 0.8208 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.495, allocations: 5.312 kB / 0.8208 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.495, allocations: 36.7 kB / 0.8208 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.495, allocations: 0 / 0.8208 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0003353/0.4954, allocations: 131.3 kB / 0.8209 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.4954, allocations: 57.58 kB / 0.821 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/0.4955, allocations: 121.7 kB / 0.8211 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.4955, allocations: 30.8 kB / 0.8211 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.4955, allocations: 92.64 kB / 0.8212 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.4956, allocations: 24.55 kB / 0.8212 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.4956, allocations: 20.3 kB / 0.8212 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.4957, allocations: 326 kB / 0.8216 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.4958, allocations: 28.2 kB / 0.8216 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.162e-05/0.4959, allocations: 31.39 kB / 0.8216 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.4961, allocations: 73.69 kB / 0.8217 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4961, allocations: 1.406 kB / 0.8217 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002317/0.4963, allocations: 102.6 kB / 0.8218 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4963, allocations: 8.875 kB / 0.8218 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.4963, allocations: 3.609 kB / 0.8218 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.4964, allocations: 112 / 0.8218 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.4965, allocations: 17.52 kB / 0.8218 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.4965, allocations: 4 kB / 0.8218 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.474e-05/0.4965, allocations: 11.67 kB / 0.8218 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.4965, allocations: 1.281 kB / 0.8218 GB, free: 14 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 (6): * Single equations (assignments): 6 * 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.384e-05/0.4966, allocations: 117.6 kB / 0.8219 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.4967, allocations: 8.953 kB / 0.822 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.4967, allocations: 11.12 kB / 0.822 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.4967, allocations: 0 / 0.822 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.4967, allocations: 4.75 kB / 0.822 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.4967, allocations: 3.984 kB / 0.822 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.4969, allocations: 158.8 kB / 0.8221 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4969, allocations: 0 / 0.8221 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.906e-05/0.497, allocations: 20.36 kB / 0.8221 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.497, allocations: 0 / 0.8221 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.497, allocations: 2.484 kB / 0.8221 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.497, allocations: 0.6562 kB / 0.8221 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.497, allocations: 1.312 kB / 0.8221 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.4973, allocations: 206.4 kB / 0.8223 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.927e-05/0.4973, allocations: 10.92 kB / 0.8224 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.4973, allocations: 6.062 kB / 0.8224 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.911e-05/0.4974, allocations: 6.5 kB / 0.8224 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.4975, allocations: 17.19 kB / 0.8224 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.4975, allocations: 2.469 kB / 0.8224 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.672e-05/0.4976, allocations: 93.23 kB / 0.8225 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.4976, allocations: 1.031 kB / 0.8225 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002474/0.4978, allocations: 9.406 kB / 0.8225 GB, free: 13.43 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 (6): * Single equations (assignments): 6 * 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.0004023/0.4982, allocations: 0.7418 MB / 0.8232 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001862/0.4984, allocations: 72.8 kB / 0.8233 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4984, allocations: 0 / 0.8233 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.436e-05/0.4985, allocations: 38.98 kB / 0.8233 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.4987, allocations: 8.938 kB / 0.8233 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.5002, allocations: 1.457 MB / 0.8247 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.822e-05/0.5003, allocations: 76.41 kB / 0.8248 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.287e-05/0.5003, allocations: 8.125 kB / 0.8248 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.591e-05/0.5004, allocations: 29.16 kB / 0.8249 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of SimCode: time 8.91e-07/0.5004, allocations: 0 / 0.8249 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.519, allocations: 2.939 MB / 0.8277 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.677/7.196, allocations: 3.469 kB / 0.8277 GB, free: 10.42 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round_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_Round.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.13907888205722] Failed to read output from testmodel.py, exit status != 0: 7.275571382604539 7.286505335 6.791067996 Calling exit ...