Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007999/0.0007999, 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.0008782/0.0008782, allocations: 213.9 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 0.9873/0.9873, allocations: 230.6 MB / 256 MB, free: 9.578 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.806/0.806, allocations: 203.8 MB / 0.5042 GB, free: 10.39 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.MatrixMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="IDEAS_dev_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.0009072/0.0009072, allocations: 67.66 kB / 0.7182 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4827/0.4836, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.00154/0.4851, allocations: 0.7189 MB / 0.8186 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002703/0.4854, allocations: 54.75 kB / 0.8186 GB, free: 0.5391 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.092e-05/0.4854, allocations: 5.688 kB / 0.8186 GB, free: 0.5352 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.4856, allocations: 15.53 kB / 0.8186 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.319e-05/0.4857, allocations: 17.27 kB / 0.8186 GB, free: 0.5195 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.4858, allocations: 22.77 kB / 0.8187 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.486, allocations: 122.9 kB / 0.8188 GB, free: 476 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.4863, allocations: 91.81 kB / 0.8189 GB, free: 436 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.985e-05/0.4864, allocations: 73.34 kB / 0.8189 GB, free: 404 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.573e-05/0.4865, allocations: 82.05 kB / 0.819 GB, free: 364 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.4865, allocations: 11.47 kB / 0.819 GB, free: 364 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.471e-05/0.4865, allocations: 11.72 kB / 0.819 GB, free: 364 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.84e-05/0.4866, allocations: 54.61 kB / 0.8191 GB, free: 336 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.962e-05/0.4867, allocations: 68.16 kB / 0.8192 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.4869, allocations: 234 kB / 0.8194 GB, free: 212 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.4869, allocations: 0 / 0.8194 GB, free: 212 kB / 0.6042 GB Notification: Performance of FrontEnd: time 3.287e-06/0.4869, allocations: 4 kB / 0.8194 GB, free: 208 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.4869, allocations: 0 / 0.8194 GB, free: 208 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.0005386/0.4875, allocations: 438.3 kB / 0.8198 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.4875, allocations: 8.281 kB / 0.8198 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.63e-05/0.4876, allocations: 56.66 kB / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.4876, allocations: 25.14 kB / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.4879, allocations: 202.5 kB / 0.8201 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.4879, allocations: 11.89 kB / 0.8201 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.4879, allocations: 15.97 kB / 0.8201 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/0.4883, allocations: 341.5 kB / 0.8204 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4883, allocations: 0 / 0.8204 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.4883, allocations: 12 kB / 0.8204 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.4884, allocations: 13.86 kB / 0.8205 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.4886, allocations: 269.8 kB / 0.8207 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.4896, allocations: 1.034 MB / 0.8217 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.663e-05/0.4897, allocations: 174.7 kB / 0.8219 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/0.4897, allocations: 84.55 kB / 0.822 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.4898, allocations: 75.28 kB / 0.822 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.4898, allocations: 106.8 kB / 0.8221 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.4898, allocations: 0 / 0.8221 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.726e-05/0.4899, allocations: 57.94 kB / 0.8222 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.4899, allocations: 130.7 kB / 0.8223 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004216/0.4904, allocations: 0.4953 MB / 0.8228 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.4904, allocations: 27.08 kB / 0.8228 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.453e-05/0.4905, allocations: 169.9 kB / 0.823 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-06/0.4905, allocations: 1.5 kB / 0.823 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.4905, allocations: 31.67 kB / 0.823 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.4906, allocations: 342 kB / 0.8234 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.386e-05/0.4906, allocations: 47.11 kB / 0.8234 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.578e-05/0.4907, allocations: 88.98 kB / 0.8235 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.269e-05/0.4908, allocations: 114.7 kB / 0.8236 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4908, allocations: 0 / 0.8236 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002333/0.491, allocations: 180.8 kB / 0.8238 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4911, allocations: 10.25 kB / 0.8238 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4911, allocations: 5.688 kB / 0.8238 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4911, allocations: 2.25 kB / 0.8238 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.4912, allocations: 31.61 kB / 0.8238 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.4912, allocations: 2.406 kB / 0.8238 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.751e-05/0.4913, allocations: 35.22 kB / 0.8238 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.4913, allocations: 8.453 kB / 0.8239 GB, free: 13.08 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.0001338/0.4914, allocations: 249 kB / 0.8241 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.4915, allocations: 139.6 kB / 0.8242 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/0.4915, allocations: 132.9 kB / 0.8244 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.647e-05/0.4916, allocations: 190.1 kB / 0.8245 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-05/0.4916, allocations: 178.5 kB / 0.8247 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.201e-05/0.4917, allocations: 178.2 kB / 0.8249 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.4919, allocations: 449.5 kB / 0.8253 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.468e-05/0.4919, allocations: 102 kB / 0.8254 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.847e-05/0.4919, allocations: 107.2 kB / 0.8255 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-05/0.492, allocations: 186.1 kB / 0.8257 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/0.492, allocations: 182.4 kB / 0.8259 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.317e-05/0.4921, allocations: 182.2 kB / 0.826 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.491e-05/0.4921, allocations: 178.6 kB / 0.8262 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.4922, allocations: 326.9 kB / 0.8265 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.4923, allocations: 146.5 kB / 0.8266 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.294e-05/0.4924, allocations: 186.7 kB / 0.8268 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.552e-05/0.4924, allocations: 111.1 kB / 0.8269 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.4925, allocations: 182.2 kB / 0.8271 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.4925, allocations: 102.5 kB / 0.8272 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002828/0.4928, allocations: 365.2 kB / 0.8276 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4928, allocations: 0 / 0.8276 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001661/0.4929, allocations: 22.97 kB / 0.8276 GB, free: 9.523 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.0002942/0.4932, allocations: 0.8333 MB / 0.8284 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.4934, allocations: 77.2 kB / 0.8285 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.4934, allocations: 0 / 0.8285 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.01e-07/0.4934, allocations: 0 / 0.8285 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.4937, allocations: 484 kB / 0.8289 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.4962, allocations: 3.281 MB / 0.8321 GB, free: 6.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.4963, allocations: 166 kB / 0.8323 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.548e-05/0.4964, allocations: 48.27 kB / 0.8323 GB, free: 6.234 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.664e-05/0.4965, allocations: 66.31 kB / 0.8324 GB, free: 6.184 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.4965, allocations: 0 / 0.8324 GB, free: 6.184 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.5161, allocations: 5.215 MB / 0.8375 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.606/7.122, allocations: 16.11 kB / 0.8375 GB, free: 5.09 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.19020137609914] Failed to read output from testmodel.py, exit status != 0: 7.20254841633141 7.216297316 6.727078939 Calling exit ...