Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.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.0009569/0.0009569, allocations: 109.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.001041/0.001041, allocations: 214.2 kB / 22.25 MB, free: 3.578 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.002/1.002, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8134/0.8134, allocations: 203.5 MB / 0.5039 GB, free: 10.72 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.Log,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Log",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.00106/0.00106, allocations: 62.16 kB / 0.7178 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5195/0.5205, allocations: 102 MB / 0.8174 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Log): time 0.001521/0.522, allocations: 0.651 MB / 0.8181 GB, free: 0.8359 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007723/0.5228, allocations: 0.841 MB / 0.8189 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.5228, allocations: 3.938 kB / 0.8189 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.691e-05/0.5229, allocations: 2.094 kB / 0.8189 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.609e-05/0.5229, allocations: 3.938 kB / 0.8189 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.5231, allocations: 14.27 kB / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.334e-05/0.5232, allocations: 24.59 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.5233, allocations: 3.219 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.755e-05/0.5233, allocations: 15.14 kB / 0.8189 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.474e-05/0.5234, allocations: 7.531 kB / 0.819 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.5234, allocations: 2.969 kB / 0.819 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.209e-05/0.5234, allocations: 10.94 kB / 0.819 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.5235, allocations: 4.75 kB / 0.819 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.719e-05/0.5235, allocations: 8.5 kB / 0.819 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.938e-05/0.5236, allocations: 24.11 kB / 0.819 GB, free: 148 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.5236, allocations: 3.938 kB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5236, allocations: 0 / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.5236, allocations: 3.938 kB / 0.819 GB, free: 140 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.000331/0.5239, allocations: 269.3 kB / 0.8193 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.5239, allocations: 8.172 kB / 0.8193 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.843e-05/0.524, allocations: 30.75 kB / 0.8193 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.163e-05/0.524, allocations: 8.719 kB / 0.8193 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.805e-05/0.5241, allocations: 114.5 kB / 0.8194 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.5241, allocations: 4.375 kB / 0.8194 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.5241, allocations: 2.406 kB / 0.8194 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.5243, allocations: 48.73 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.5243, allocations: 3.938 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.5243, allocations: 0.6562 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.5243, allocations: 1.906 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.416e-05/0.5244, allocations: 39.55 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.5247, allocations: 213.5 kB / 0.8197 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.584e-05/0.5248, allocations: 39.14 kB / 0.8198 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.5248, allocations: 19.39 kB / 0.8198 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.5248, allocations: 0 / 0.8198 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.5248, allocations: 33.33 kB / 0.8198 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.5248, allocations: 0 / 0.8198 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002141/0.5251, allocations: 88.45 kB / 0.8199 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.5251, allocations: 51.41 kB / 0.8199 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.279e-05/0.5251, allocations: 101.8 kB / 0.82 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.5252, allocations: 25.7 kB / 0.8201 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.5252, allocations: 81.61 kB / 0.8201 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.5252, allocations: 7.891 kB / 0.8202 GB, free: 15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.5252, allocations: 14.38 kB / 0.8202 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.267e-05/0.5253, allocations: 314.4 kB / 0.8205 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.824e-05/0.5254, allocations: 22.19 kB / 0.8205 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.682e-05/0.5254, allocations: 13.09 kB / 0.8205 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.356e-05/0.5255, allocations: 42.55 kB / 0.8205 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5255, allocations: 3.938 kB / 0.8205 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001069/0.5256, allocations: 66.45 kB / 0.8206 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.5256, allocations: 10.19 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.5256, allocations: 3.938 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.5256, allocations: 3.656 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.5257, allocations: 5.484 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.5257, allocations: 2.156 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.482e-05/0.5257, allocations: 9.016 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.5257, allocations: 1.562 kB / 0.8206 GB, free: 14.59 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 5.341e-05/0.5258, allocations: 114.8 kB / 0.8208 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.5258, allocations: 192 / 0.8208 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.5259, allocations: 86.19 kB / 0.8208 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.5259, allocations: 0.9062 kB / 0.8208 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5259, allocations: 4.547 kB / 0.8208 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.5259, allocations: 1.312 kB / 0.8208 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.855e-05/0.526, allocations: 131.3 kB / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.526, allocations: 7.047 kB / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.463e-05/0.5261, allocations: 7.797 kB / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.5261, allocations: 0.6094 kB / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.393e-06/0.5261, allocations: 4.031 kB / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.5261, allocations: 1.375 kB / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.5261, allocations: 0 / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.5262, allocations: 168 kB / 0.8211 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-06/0.5262, allocations: 8.562 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.5262, allocations: 0.6094 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.702e-05/0.5263, allocations: 6.078 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.5263, allocations: 4.719 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.5263, allocations: 4.031 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.659e-05/0.5263, allocations: 78.97 kB / 0.8212 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5263, allocations: 0 / 0.8212 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001405/0.5265, allocations: 5.688 kB / 0.8212 GB, free: 14.01 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.0004612/0.5269, allocations: 0.6875 MB / 0.8219 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001429/0.5271, allocations: 45.81 kB / 0.822 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5271, allocations: 0.9688 kB / 0.822 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.14e-05/0.5271, allocations: 16.27 kB / 0.822 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.5273, allocations: 4.438 kB / 0.822 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.5277, allocations: 131.6 kB / 0.8221 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.274e-05/0.5277, allocations: 64.61 kB / 0.8222 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.947e-05/0.5277, allocations: 128 / 0.8222 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.5278, allocations: 14.02 kB / 0.8222 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of SimCode: time 3.6e-07/0.5278, allocations: 0 / 0.8222 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.5442, allocations: 1.81 MB / 0.824 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.657/7.201, allocations: 6.688 kB / 0.824 GB, free: 12.25 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Log.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.284882893320173] Failed to read output from testmodel.py, exit status != 0: 7.280113044660538 7.290668741 6.764972848 Calling exit ...