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.001019/0.001019, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.00197/0.00197, allocations: 177 kB / 23.36 MB, free: 1.133 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.9549/0.9549, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.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-545:108: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-545:116: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.7518/0.7518, allocations: 154.6 MB / 414.8 MB, free: 0.5156 MB / 378.7 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 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: 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.744e-06/1.744e-06, allocations: 0 / 480.1 MB, free: 6.867 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.225e-05, allocations: 4.281 kB / 480.1 MB, free: 6.863 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001492/0.001514, allocations: 0.7334 MB / 480.8 MB, free: 6.156 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002376/0.001752, allocations: 61.73 kB / 480.9 MB, free: 6.098 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.001802, allocations: 3.938 kB / 480.9 MB, free: 6.094 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.001951, allocations: 18.92 kB / 480.9 MB, free: 6.078 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.37e-05/0.001995, allocations: 8.531 kB / 480.9 MB, free: 6.07 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.002118, allocations: 31.05 kB / 480.9 MB, free: 6.043 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.00228, allocations: 123.6 kB / 481 MB, free: 5.941 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.002426, allocations: 93.27 kB / 481.1 MB, free: 5.852 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.311e-05/0.00251, allocations: 94.2 kB / 481.2 MB, free: 5.762 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.461e-05/0.002584, allocations: 71.81 kB / 481.3 MB, free: 5.691 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.002615, allocations: 12 kB / 481.3 MB, free: 5.68 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.748e-05/0.002632, allocations: 12 kB / 481.3 MB, free: 5.668 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.607e-05/0.002689, allocations: 51.83 kB / 481.4 MB, free: 5.617 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.002735, allocations: 51.78 kB / 481.4 MB, free: 5.566 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.002889, allocations: 167.4 kB / 481.6 MB, free: 5.402 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.122e-06/0.002891, allocations: 0.6875 kB / 481.6 MB, free: 5.402 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.002891, allocations: 0 / 481.6 MB, free: 5.402 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.002894, allocations: 0.9062 kB / 481.6 MB, free: 5.402 MB / 442.7 MB 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.0003446/0.003239, allocations: 403.3 kB / 482 MB, free: 4.984 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.003269, allocations: 9.906 kB / 482 MB, free: 4.977 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.003309, allocations: 28.92 kB / 482 MB, free: 4.949 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.003457, allocations: 166.9 kB / 482.2 MB, free: 4.762 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.003471, allocations: 12.75 kB / 482.2 MB, free: 4.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.003493, allocations: 16.38 kB / 482.2 MB, free: 4.734 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.003696, allocations: 201.9 kB / 482.4 MB, free: 4.523 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.003705, allocations: 192 / 482.4 MB, free: 4.523 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.003718, allocations: 12.38 kB / 482.4 MB, free: 4.512 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/0.003741, allocations: 17.12 kB / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.86e-05/0.003819, allocations: 71.91 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/0.004345, allocations: 0.7068 MB / 483.2 MB, free: 3.691 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.878e-05/0.004414, allocations: 174.1 kB / 483.4 MB, free: 3.512 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.004437, allocations: 81.45 kB / 483.5 MB, free: 3.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.004459, allocations: 79.27 kB / 483.5 MB, free: 3.352 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.004495, allocations: 109.8 kB / 483.6 MB, free: 3.234 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.004497, allocations: 4.5 kB / 483.6 MB, free: 3.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 5.117e-05/0.004548, allocations: 33.64 kB / 483.7 MB, free: 3.191 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.004601, allocations: 128.1 kB / 483.8 MB, free: 3.055 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.004722, allocations: 186.5 kB / 484 MB, free: 2.859 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.004732, allocations: 25.7 kB / 484 MB, free: 2.828 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.004809, allocations: 173 kB / 484.2 MB, free: 2.656 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.00481, allocations: 0 / 484.2 MB, free: 2.656 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.004849, allocations: 29.66 kB / 484.2 MB, free: 2.621 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.681e-05/0.004936, allocations: 331.5 kB / 484.5 MB, free: 2.289 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.004949, allocations: 0 / 484.5 MB, free: 2.289 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.733e-05/0.004986, allocations: 50.89 kB / 484.6 MB, free: 2.219 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.919e-05/0.005055, allocations: 78.81 kB / 484.7 MB, free: 2.121 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.005057, allocations: 0.7812 kB / 484.7 MB, free: 2.121 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001052/0.005163, allocations: 74.92 kB / 484.7 MB, free: 2.043 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.005173, allocations: 4.844 kB / 484.7 MB, free: 2.039 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.005178, allocations: 4 kB / 484.7 MB, free: 2.035 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.005188, allocations: 0 / 484.7 MB, free: 2.035 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.822e-05/0.005247, allocations: 20.7 kB / 484.8 MB, free: 2.016 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.00525, allocations: 4 kB / 484.8 MB, free: 2.012 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.269e-05/0.005293, allocations: 16.89 kB / 484.8 MB, free: 1.996 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.005302, allocations: 4 kB / 484.8 MB, free: 1.992 MB / 442.7 MB 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 7.355e-05/0.005375, allocations: 205 kB / 485 MB, free: 1.781 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.005415, allocations: 109.7 kB / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.005455, allocations: 117.5 kB / 485.2 MB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-05/0.005497, allocations: 184.8 kB / 485.4 MB, free: 1.359 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.785e-05/0.005535, allocations: 176.9 kB / 485.6 MB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.337e-05/0.005579, allocations: 184.2 kB / 485.7 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.005732, allocations: 358 kB / 486.1 MB, free: 0.6172 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.529e-05/0.005757, allocations: 109 kB / 486.2 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/0.005783, allocations: 106.3 kB / 486.3 MB, free: 404 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.933e-05/0.005822, allocations: 180.8 kB / 486.5 MB, free: 216 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.955e-05/0.005862, allocations: 184.8 kB / 486.7 MB, free: 24 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.664e-05/0.005908, allocations: 176.3 kB / 486.8 MB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.664e-05/0.005945, allocations: 181.1 kB / 487 MB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.006055, allocations: 307.7 kB / 487.3 MB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.00609, allocations: 126 kB / 487.4 MB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/0.006134, allocations: 180.3 kB / 487.6 MB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.091e-05/0.006185, allocations: 109 kB / 487.7 MB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-05/0.006263, allocations: 184.9 kB / 487.9 MB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.006286, allocations: 109 kB / 488 MB, free: 14.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.524e-05/0.006331, allocations: 55.83 kB / 488.1 MB, free: 14.56 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006331, allocations: 0 / 488.1 MB, free: 14.56 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001449/0.006476, allocations: 35.89 kB / 488.1 MB, free: 14.52 MB / 458.7 MB 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 7.927e-05/0.006555, allocations: 152.4 kB / 488.2 MB, free: 14.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.164e-05/0.006617, allocations: 31.28 kB / 488.3 MB, free: 14.33 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.00662, allocations: 0 / 488.3 MB, free: 14.33 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.006621, allocations: 0 / 488.3 MB, free: 14.33 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.006951, allocations: 487.5 kB / 488.7 MB, free: 13.85 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.007277, allocations: 415.5 kB / 489.2 MB, free: 13.42 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.588e-05/0.007323, allocations: 91.3 kB / 489.2 MB, free: 13.31 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.699e-05/0.00735, allocations: 14.73 kB / 489.3 MB, free: 13.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.007405, allocations: 63.36 kB / 489.3 MB, free: 13.24 MB / 458.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007405, allocations: 0 / 489.3 MB, free: 13.24 MB / 458.7 MB Notification: Performance of Templates: time 0.002679/0.01008, allocations: 1.046 MB / 490.4 MB, free: 12.27 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.490174248814583]