Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.001244/0.001244, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.001506/0.001506, allocations: 216.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 1.008/1.008, allocations: 230.6 MB / 256 MB, free: 9.617 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.7814/0.7814, allocations: 203.5 MB / 0.5039 GB, free: 10.73 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.MatrixMax,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax",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.0008805/0.0008805, allocations: 62.22 kB / 0.7178 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5316/0.5325, allocations: 102 MB / 0.8174 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001333/0.5338, allocations: 0.7233 MB / 0.8181 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002012/0.534, allocations: 51.97 kB / 0.8182 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.128e-05/0.5341, allocations: 5.031 kB / 0.8182 GB, free: 0.7656 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.5342, allocations: 25.73 kB / 0.8182 GB, free: 0.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.986e-05/0.5342, allocations: 7.438 kB / 0.8182 GB, free: 0.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001368/0.5344, allocations: 26.77 kB / 0.8182 GB, free: 0.7383 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.5345, allocations: 126.6 kB / 0.8184 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.5347, allocations: 87.53 kB / 0.8184 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.034e-05/0.5347, allocations: 69.08 kB / 0.8185 GB, free: 0.625 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.883e-05/0.5348, allocations: 86.67 kB / 0.8186 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.5348, allocations: 13.53 kB / 0.8186 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.786e-05/0.5348, allocations: 12.09 kB / 0.8186 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.399e-05/0.5349, allocations: 53.62 kB / 0.8187 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.843e-05/0.5349, allocations: 60.52 kB / 0.8187 GB, free: 0.5195 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.5351, allocations: 236.2 kB / 0.819 GB, free: 448 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5351, allocations: 2.094 kB / 0.819 GB, free: 448 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.565e-06/0.5351, allocations: 11.88 kB / 0.819 GB, free: 436 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.5351, allocations: 0 / 0.819 GB, free: 436 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0003372/0.5355, allocations: 430.2 kB / 0.8194 GB, free: 68 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.5355, allocations: 8.719 kB / 0.8194 GB, free: 68 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.181e-05/0.5355, allocations: 58.83 kB / 0.8194 GB, free: 12 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.5356, allocations: 24.69 kB / 0.8195 GB, free: 0 / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.5358, allocations: 195.4 kB / 0.8197 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.5358, allocations: 19.84 kB / 0.8197 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.5358, allocations: 15.38 kB / 0.8197 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.5361, allocations: 348.9 kB / 0.82 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.5362, allocations: 0 / 0.82 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.5362, allocations: 11.89 kB / 0.82 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.5362, allocations: 16.05 kB / 0.82 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.5364, allocations: 258 kB / 0.8203 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008068/0.5372, allocations: 1.031 MB / 0.8213 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.614e-05/0.5373, allocations: 173.1 kB / 0.8215 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.295e-05/0.5373, allocations: 82.34 kB / 0.8215 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.5373, allocations: 79.28 kB / 0.8216 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.5374, allocations: 109 kB / 0.8217 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.5374, allocations: 0 / 0.8217 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.137e-05/0.5374, allocations: 53.02 kB / 0.8218 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.5375, allocations: 134.6 kB / 0.8219 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000415/0.5379, allocations: 0.4964 MB / 0.8224 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.335e-06/0.5379, allocations: 25.7 kB / 0.8224 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.423e-05/0.538, allocations: 169.7 kB / 0.8226 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.538, allocations: 0 / 0.8226 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.538, allocations: 36.23 kB / 0.8226 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.698e-05/0.5381, allocations: 339.5 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.57e-05/0.5382, allocations: 49.64 kB / 0.823 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.407e-05/0.5382, allocations: 90.88 kB / 0.8231 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.299e-05/0.5383, allocations: 111.3 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5383, allocations: 1.156 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002196/0.5386, allocations: 179.3 kB / 0.8233 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.5386, allocations: 9.844 kB / 0.8234 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.5386, allocations: 6.156 kB / 0.8234 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.5386, allocations: 3.547 kB / 0.8234 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.055e-05/0.5387, allocations: 18.23 kB / 0.8234 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.5387, allocations: 6.375 kB / 0.8234 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.112e-05/0.5387, allocations: 39.62 kB / 0.8234 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.5388, allocations: 8.875 kB / 0.8234 GB, free: 13.31 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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 0.0001196/0.5389, allocations: 245.2 kB / 0.8237 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.5389, allocations: 138.2 kB / 0.8238 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.356e-05/0.539, allocations: 138.1 kB / 0.8239 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.704e-05/0.539, allocations: 177.5 kB / 0.8241 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.134e-05/0.5391, allocations: 186.8 kB / 0.8243 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.112e-05/0.5391, allocations: 185.4 kB / 0.8245 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.5393, allocations: 448.7 kB / 0.8249 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/0.5393, allocations: 106.5 kB / 0.825 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.118e-05/0.5393, allocations: 103.9 kB / 0.8251 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.813e-05/0.5394, allocations: 191 kB / 0.8253 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/0.5394, allocations: 181.6 kB / 0.8254 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.792e-05/0.5395, allocations: 182.4 kB / 0.8256 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.16e-05/0.5395, allocations: 182.2 kB / 0.8258 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.5396, allocations: 324.2 kB / 0.8261 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.491e-05/0.5397, allocations: 146.9 kB / 0.8262 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.298e-05/0.5397, allocations: 181.7 kB / 0.8264 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.292e-05/0.5398, allocations: 114.4 kB / 0.8265 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.5398, allocations: 179.2 kB / 0.8267 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.5399, allocations: 107.2 kB / 0.8268 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002658/0.5401, allocations: 362.8 kB / 0.8271 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5401, allocations: 0 / 0.8271 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001732/0.5403, allocations: 24.41 kB / 0.8272 GB, free: 9.746 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 (0): * Single equations (assignments): 0 * 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.0002901/0.5406, allocations: 0.8286 MB / 0.828 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.5407, allocations: 70.83 kB / 0.828 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5407, allocations: 5.5 kB / 0.828 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.5407, allocations: 0 / 0.828 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.5411, allocations: 482.3 kB / 0.8285 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.5435, allocations: 3.276 MB / 0.8317 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.5436, allocations: 170.2 kB / 0.8319 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.493e-05/0.5437, allocations: 47.95 kB / 0.8319 GB, free: 6.465 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.932e-05/0.5438, allocations: 58.5 kB / 0.832 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.5438, allocations: 0 / 0.832 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.5641, allocations: 5.226 MB / 0.8371 GB, free: 5.332 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.498/7.062, allocations: 12.72 kB / 0.8371 GB, free: 5.324 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax_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_MatrixMax.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.175027715973556] Failed to read output from testmodel.py, exit status != 0: 7.1448321542702615 7.15884162 6.621576387 Calling exit ...