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.001376/0.001376, allocations: 80.77 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001495/0.001495, allocations: 164.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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.417/1.417, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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 1.171/1.171, allocations: 154.6 MB / 413.8 MB, free: 5.219 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 178] 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6187 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.248e-05, allocations: 3.969 kB / 0.6187 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001663/0.001696, allocations: 0.7102 MB / 0.6193 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002231/0.001919, allocations: 51.83 kB / 0.6194 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.793e-05/0.001967, allocations: 7.938 kB / 0.6194 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.002109, allocations: 27.78 kB / 0.6194 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.717e-05/0.002156, allocations: 7.984 kB / 0.6194 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.002301, allocations: 31.91 kB / 0.6195 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.002497, allocations: 131.6 kB / 0.6196 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.002682, allocations: 76.91 kB / 0.6197 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.002792, allocations: 95.84 kB / 0.6198 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.002907, allocations: 75.75 kB / 0.6198 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.002947, allocations: 12 kB / 0.6198 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.059e-05/0.002977, allocations: 12 kB / 0.6199 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.767e-05/0.003055, allocations: 51.84 kB / 0.6199 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.624e-05/0.003131, allocations: 51.84 kB / 0.62 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.003399, allocations: 239.1 kB / 0.6202 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003401, allocations: 0 / 0.6202 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003402, allocations: 0 / 0.6202 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.003406, allocations: 4 kB / 0.6202 GB, free: 2.906 MB / 0.5294 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.0005422/0.003948, allocations: 429.6 kB / 0.6206 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.00398, allocations: 8.031 kB / 0.6206 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/0.004037, allocations: 24.8 kB / 0.6206 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.004313, allocations: 198.7 kB / 0.6208 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.004332, allocations: 16.75 kB / 0.6208 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.00437, allocations: 16.38 kB / 0.6208 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.004849, allocations: 337.6 kB / 0.6212 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.004859, allocations: 4.188 kB / 0.6212 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.00488, allocations: 4.375 kB / 0.6212 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.756e-05/0.004918, allocations: 24.12 kB / 0.6212 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.005263, allocations: 255.8 kB / 0.6214 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.006378, allocations: 0.9139 MB / 0.6223 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.00648, allocations: 173.1 kB / 0.6225 GB, free: 424 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.894e-05/0.006519, allocations: 80.14 kB / 0.6226 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.006556, allocations: 75.28 kB / 0.6226 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.305e-05/0.006619, allocations: 113.8 kB / 0.6228 GB, free: 140 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.00662, allocations: 0 / 0.6228 GB, free: 140 kB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.964e-05/0.00671, allocations: 45.55 kB / 0.6228 GB, free: 88 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.565e-05/0.006806, allocations: 134.6 kB / 0.6229 GB, free: 15.94 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.007102, allocations: 264.8 kB / 0.6232 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.007117, allocations: 25.7 kB / 0.6232 GB, free: 15.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.007249, allocations: 184 kB / 0.6234 GB, free: 15.46 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.007251, allocations: 0 / 0.6234 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.007309, allocations: 33.66 kB / 0.6234 GB, free: 15.42 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.007468, allocations: 322.8 kB / 0.6237 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.925e-05/0.007538, allocations: 47.97 kB / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.007639, allocations: 93.97 kB / 0.6239 GB, free: 14.94 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.007787, allocations: 109.8 kB / 0.624 GB, free: 14.81 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.007788, allocations: 0 / 0.624 GB, free: 14.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002879/0.008076, allocations: 165.6 kB / 0.6241 GB, free: 14.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.008093, allocations: 12.03 kB / 0.6241 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.008097, allocations: 0 / 0.6241 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.008115, allocations: 7.984 kB / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.636e-05/0.008212, allocations: 19.94 kB / 0.6242 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.00822, allocations: 7.922 kB / 0.6242 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.204e-05/0.008302, allocations: 27.83 kB / 0.6242 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.008317, allocations: 4 kB / 0.6242 GB, free: 14.56 MB / 0.545 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.0001789/0.008496, allocations: 246.9 kB / 0.6244 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.519e-05/0.008581, allocations: 121 kB / 0.6245 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.448e-05/0.008646, allocations: 121.4 kB / 0.6247 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.916e-05/0.008725, allocations: 180.3 kB / 0.6248 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-05/0.008811, allocations: 188.2 kB / 0.625 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.662e-05/0.008888, allocations: 184.2 kB / 0.6252 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.00919, allocations: 420.8 kB / 0.6256 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.103e-05/0.009241, allocations: 105.1 kB / 0.6257 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.624e-05/0.009288, allocations: 113 kB / 0.6258 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.203e-05/0.00937, allocations: 180.2 kB / 0.626 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.877e-05/0.009448, allocations: 176.3 kB / 0.6261 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.309e-05/0.009521, allocations: 184.3 kB / 0.6263 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.033e-05/0.009602, allocations: 180.2 kB / 0.6265 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.009786, allocations: 323.6 kB / 0.6268 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/0.009844, allocations: 112.9 kB / 0.6269 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.745e-05/0.009941, allocations: 184.3 kB / 0.6271 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.01005, allocations: 120.8 kB / 0.6272 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.862e-05/0.01014, allocations: 180.3 kB / 0.6274 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.388e-05/0.01019, allocations: 108.9 kB / 0.6275 GB, free: 11.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001823/0.01037, allocations: 196 kB / 0.6277 GB, free: 10.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01037, allocations: 0 / 0.6277 GB, free: 10.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003071/0.01068, allocations: 47.72 kB / 0.6277 GB, free: 10.79 MB / 0.545 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.0001367/0.01082, allocations: 174.5 kB / 0.6279 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.01097, allocations: 63.89 kB / 0.6279 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01097, allocations: 0 / 0.6279 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.01097, allocations: 0 / 0.6279 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.01153, allocations: 469.9 kB / 0.6284 GB, free: 10.08 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005715/0.0121, allocations: 438.6 kB / 0.6288 GB, free: 9.625 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.01226, allocations: 172 kB / 0.629 GB, free: 9.441 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.637e-05/0.01233, allocations: 28.47 kB / 0.629 GB, free: 9.414 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.01236, allocations: 16.44 kB / 0.629 GB, free: 9.398 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.01236, allocations: 0 / 0.629 GB, free: 9.398 MB / 0.545 GB Notification: Performance of Templates: time 0.003579/0.01594, allocations: 0.9731 MB / 0.63 GB, free: 8.461 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5580298490822315] Failed to read output from testmodel.py, exit status != 0: 0.024193175137043 0.038786309000000005 0.032387908 Calling exit ...