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.0008306/0.0008306, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0009427/0.0009427, allocations: 162 kB / 22.43 MB, free: 2.141 MB / 18.57 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.8813/0.8813, allocations: 177.2 MB / 202.8 MB, free: 5.773 MB / 186.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.6908/0.6908, allocations: 155 MB / 414.2 MB, free: 496 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.001092/0.001092, allocations: 76.17 kB / 0.6187 GB, free: 13.18 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4652/0.4663, allocations: 102 MB / 0.7183 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001422/0.4677, allocations: 0.7215 MB / 0.719 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002319/0.4679, allocations: 51.39 kB / 0.7191 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.075e-05/0.468, allocations: 5.062 kB / 0.7191 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.4681, allocations: 20.31 kB / 0.7191 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.444e-05/0.4682, allocations: 11.27 kB / 0.7191 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.4683, allocations: 28.67 kB / 0.7191 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.4685, allocations: 122.2 kB / 0.7192 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.4687, allocations: 91.09 kB / 0.7193 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.885e-05/0.4688, allocations: 99.28 kB / 0.7194 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.888e-05/0.4688, allocations: 83.23 kB / 0.7195 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.4689, allocations: 11.94 kB / 0.7195 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 2.171e-05/0.4689, allocations: 14.91 kB / 0.7195 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.418e-05/0.469, allocations: 54.91 kB / 0.7196 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.51e-05/0.469, allocations: 69.22 kB / 0.7197 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.4693, allocations: 248.1 kB / 0.7199 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4693, allocations: 0 / 0.7199 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.474e-06/0.4693, allocations: 0 / 0.7199 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.4693, allocations: 1.25 kB / 0.7199 GB, free: 22.28 MB / 0.6355 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.0004173/0.4697, allocations: 432.8 kB / 0.7203 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.4697, allocations: 10.12 kB / 0.7203 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.136e-05/0.4698, allocations: 57.16 kB / 0.7204 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.4698, allocations: 24.77 kB / 0.7204 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.47, allocations: 201 kB / 0.7206 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.47, allocations: 28.88 kB / 0.7206 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.47, allocations: 15.38 kB / 0.7206 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/0.4704, allocations: 348.5 kB / 0.721 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.4704, allocations: 1.094 kB / 0.721 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.4704, allocations: 5.25 kB / 0.721 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/0.4704, allocations: 17.5 kB / 0.721 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.4707, allocations: 258.3 kB / 0.7212 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007534/0.4715, allocations: 1.031 MB / 0.7222 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.28e-05/0.4715, allocations: 166.2 kB / 0.7224 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.4715, allocations: 84.66 kB / 0.7225 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-06/0.4715, allocations: 80.34 kB / 0.7225 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.4715, allocations: 112.6 kB / 0.7227 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.4715, allocations: 0 / 0.7227 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.05e-05/0.4716, allocations: 57.03 kB / 0.7227 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.4716, allocations: 128.5 kB / 0.7228 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/0.472, allocations: 0.4956 MB / 0.7233 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-06/0.472, allocations: 25.7 kB / 0.7233 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.722e-05/0.4721, allocations: 168.8 kB / 0.7235 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-06/0.4721, allocations: 2.547 kB / 0.7235 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.4722, allocations: 31.98 kB / 0.7235 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.328e-05/0.4722, allocations: 341 kB / 0.7239 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.43e-05/0.4723, allocations: 53.23 kB / 0.7239 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.076e-05/0.4724, allocations: 99.72 kB / 0.724 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.4725, allocations: 102.3 kB / 0.7241 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4725, allocations: 2.094 kB / 0.7241 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002498/0.4727, allocations: 183.5 kB / 0.7243 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4727, allocations: 10.53 kB / 0.7243 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.4727, allocations: 5 kB / 0.7243 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.4728, allocations: 3.344 kB / 0.7243 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.547e-05/0.4729, allocations: 19.2 kB / 0.7243 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.4729, allocations: 2.375 kB / 0.7243 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.275e-05/0.4729, allocations: 42.75 kB / 0.7244 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.4729, allocations: 12.92 kB / 0.7244 GB, free: 19.14 MB / 0.6355 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 9.839e-05/0.473, allocations: 254.2 kB / 0.7246 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.4731, allocations: 129.1 kB / 0.7247 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.4731, allocations: 131.9 kB / 0.7249 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.4731, allocations: 182.2 kB / 0.725 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.4731, allocations: 178.3 kB / 0.7252 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.4732, allocations: 182.9 kB / 0.7254 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.4733, allocations: 448.8 kB / 0.7258 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.4733, allocations: 102.9 kB / 0.7259 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.314e-05/0.4733, allocations: 112.1 kB / 0.726 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.317e-05/0.4733, allocations: 182 kB / 0.7262 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.4734, allocations: 189.9 kB / 0.7264 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.457e-05/0.4734, allocations: 179.2 kB / 0.7265 GB, free: 16.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.441e-05/0.4734, allocations: 177.8 kB / 0.7267 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.345e-05/0.4735, allocations: 328.2 kB / 0.727 GB, free: 16.44 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.4735, allocations: 145.3 kB / 0.7272 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.4735, allocations: 192.4 kB / 0.7273 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.202e-05/0.4736, allocations: 105.9 kB / 0.7274 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.4736, allocations: 182.8 kB / 0.7276 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.4736, allocations: 103.2 kB / 0.7277 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002822/0.4739, allocations: 363.3 kB / 0.7281 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4739, allocations: 0 / 0.7281 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001788/0.4741, allocations: 28.72 kB / 0.7281 GB, free: 15.59 MB / 0.6355 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.00019/0.4743, allocations: 0.8362 MB / 0.7289 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.4744, allocations: 62.66 kB / 0.729 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4744, allocations: 1.219 kB / 0.729 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.92e-07/0.4744, allocations: 0 / 0.729 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.4747, allocations: 481.8 kB / 0.7294 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.4771, allocations: 3.289 MB / 0.7326 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.4772, allocations: 161.6 kB / 0.7328 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.604e-05/0.4773, allocations: 51.97 kB / 0.7328 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.098e-05/0.4774, allocations: 63.33 kB / 0.7329 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/0.4774, allocations: 5.312 kB / 0.7329 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/0.4964, allocations: 5.341 MB / 0.7381 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.431/6.928, allocations: 8.25 kB / 0.7381 GB, free: 11.12 MB / 0.6355 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.58299273904413] Failed to read output from testmodel.py, exit status != 0: 7.007896666880697 7.015853817 6.544893976 Calling exit ...