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.0007798/0.0007798, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007741/0.0007741, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9123/0.9123, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.7104/0.7104, allocations: 154.6 MB / 413.7 MB, free: 0.8359 MB / 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: Performance of FrontEnd - loaded program: time 4.679e-06/4.679e-06, allocations: 4 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/3.041e-05, allocations: 5.891 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001944/0.001974, allocations: 0.7245 MB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000402/0.002376, allocations: 51.83 kB / 0.6189 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.00244, allocations: 7.938 kB / 0.6189 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.0026, allocations: 19.8 kB / 0.6189 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.874e-05/0.002659, allocations: 7.984 kB / 0.6189 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.002857, allocations: 30.77 kB / 0.6189 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000222/0.003079, allocations: 127.5 kB / 0.6191 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.003306, allocations: 88.89 kB / 0.6191 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.003414, allocations: 95.84 kB / 0.6192 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.003514, allocations: 71.81 kB / 0.6193 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.003558, allocations: 12 kB / 0.6193 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 2.657e-05/0.003584, allocations: 15.94 kB / 0.6193 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.612e-05/0.00365, allocations: 47.84 kB / 0.6194 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.202e-05/0.003712, allocations: 55.77 kB / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.003951, allocations: 227.3 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.003954, allocations: 0 / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003955, allocations: 3.938 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.00396, allocations: 0 / 0.6196 GB, free: 12.11 MB / 0.5886 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.0005557/0.004516, allocations: 429.7 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.004562, allocations: 17.45 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.952e-05/0.004622, allocations: 54.73 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.004667, allocations: 24.8 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.004914, allocations: 197.4 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.004932, allocations: 12.75 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.004957, allocations: 16.38 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.005411, allocations: 337.5 kB / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.005429, allocations: 192 / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.005451, allocations: 12.38 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-05/0.005486, allocations: 23.86 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/0.005743, allocations: 267.8 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000842/0.006585, allocations: 1.026 MB / 0.622 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.83e-05/0.006643, allocations: 169.1 kB / 0.6221 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.006669, allocations: 88.14 kB / 0.6222 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.006686, allocations: 75.28 kB / 0.6223 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.006717, allocations: 105.8 kB / 0.6224 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.006718, allocations: 0 / 0.6224 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 6.949e-05/0.006787, allocations: 61.39 kB / 0.6225 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.006831, allocations: 130.6 kB / 0.6226 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.007183, allocations: 0.4925 MB / 0.6231 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.00719, allocations: 29.7 kB / 0.6231 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.007278, allocations: 175.9 kB / 0.6233 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.007281, allocations: 0 / 0.6233 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.007318, allocations: 29.7 kB / 0.6233 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.625e-05/0.007405, allocations: 338.8 kB / 0.6236 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.474e-05/0.007449, allocations: 47.97 kB / 0.6237 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.032e-05/0.00751, allocations: 89.97 kB / 0.6237 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.137e-05/0.007601, allocations: 109.8 kB / 0.6238 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.007603, allocations: 0 / 0.6238 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002078/0.007811, allocations: 181.3 kB / 0.624 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.007825, allocations: 4 kB / 0.624 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.007831, allocations: 3.984 kB / 0.624 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.007846, allocations: 4.219 kB / 0.624 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.165e-05/0.007927, allocations: 27.88 kB / 0.6241 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.007934, allocations: 3.984 kB / 0.6241 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.003e-05/0.008004, allocations: 43.73 kB / 0.6241 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.008018, allocations: 8 kB / 0.6241 GB, free: 7.289 MB / 0.5886 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.0001176/0.008136, allocations: 250 kB / 0.6243 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.169e-05/0.008187, allocations: 128.8 kB / 0.6245 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/0.00824, allocations: 138.8 kB / 0.6246 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.928e-05/0.00829, allocations: 180.2 kB / 0.6248 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.584e-05/0.008335, allocations: 180.2 kB / 0.6249 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002296/0.008565, allocations: 184.3 kB / 0.6251 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.008775, allocations: 460.1 kB / 0.6256 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-05/0.008802, allocations: 101 kB / 0.6257 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.895e-05/0.008831, allocations: 113.1 kB / 0.6258 GB, free: 5.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-05/0.008875, allocations: 176.3 kB / 0.6259 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/0.008923, allocations: 180.3 kB / 0.6261 GB, free: 5.117 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.162e-05/0.008974, allocations: 188.2 kB / 0.6263 GB, free: 4.926 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-05/0.009018, allocations: 180.2 kB / 0.6265 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.009134, allocations: 331.6 kB / 0.6268 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-05/0.009201, allocations: 140.8 kB / 0.6269 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.351e-05/0.009265, allocations: 180.2 kB / 0.6271 GB, free: 4.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.572e-05/0.00933, allocations: 113 kB / 0.6272 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.009381, allocations: 192.1 kB / 0.6274 GB, free: 3.754 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.009408, allocations: 105 kB / 0.6275 GB, free: 3.645 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002394/0.009647, allocations: 363 kB / 0.6278 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.009647, allocations: 0 / 0.6278 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001741/0.009821, allocations: 24 kB / 0.6278 GB, free: 3.27 MB / 0.5886 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.0003152/0.01014, allocations: 0.832 MB / 0.6286 GB, free: 2.406 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001105/0.01025, allocations: 60.27 kB / 0.6287 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01025, allocations: 4.062 kB / 0.6287 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.81e-07/0.01025, allocations: 0 / 0.6287 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.01062, allocations: 484.8 kB / 0.6292 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.01332, allocations: 3.293 MB / 0.6324 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.01342, allocations: 172.1 kB / 0.6326 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.491e-05/0.01348, allocations: 45.62 kB / 0.6326 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.602e-05/0.01356, allocations: 60.47 kB / 0.6327 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of SimCode: time 5.31e-07/0.01356, allocations: 0 / 0.6327 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.03238, allocations: 5.347 MB / 0.6379 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.915/6.947, allocations: 4.062 kB / 0.6379 GB, free: 8.977 MB / 0.6042 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.64364562369883] Failed to read output from testmodel.py, exit status != 0: 7.031336371786892 7.04416409 7.037465657 Calling exit ...