Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 99.41 kB / 16.5 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 193.2 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.1 MB / 223.3 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 52.36 kB / 279.3 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1032, allocations: 46.64 MB / 325.9 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.002185/0.1054, allocations: 0.5944 MB / 326.5 MB, free: 4.305 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.108, allocations: 1.813 MB / 328.4 MB, free: 2.469 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.108, allocations: 0 / 328.4 MB, free: 2.469 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001638/0.1097, allocations: 118.3 kB / 328.5 MB, free: 2.363 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.1e-05/0.1098, allocations: 27.91 kB / 328.5 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.11, allocations: 51.95 kB / 328.5 MB, free: 2.285 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.859e-05/0.11, allocations: 39.89 kB / 328.6 MB, free: 2.246 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.1101, allocations: 4 kB / 328.6 MB, free: 2.242 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.536e-05/0.1101, allocations: 27.86 kB / 328.6 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.1102, allocations: 39.83 kB / 328.7 MB, free: 2.176 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.1103, allocations: 0 / 328.7 MB, free: 2.176 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.013e-05/0.1103, allocations: 16 kB / 328.7 MB, free: 2.16 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.082e-05/0.1104, allocations: 51.88 kB / 328.7 MB, free: 2.109 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/0.1105, allocations: 31.8 kB / 328.8 MB, free: 2.078 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.1106, allocations: 51.88 kB / 328.8 MB, free: 2.027 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1106, allocations: 4 kB / 328.8 MB, free: 2.023 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1106, allocations: 0 / 328.8 MB, free: 2.023 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1106, allocations: 3.938 kB / 328.8 MB, free: 2.02 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000438/0.1111, allocations: 393.2 kB / 329.2 MB, free: 1.582 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1111, allocations: 12.03 kB / 329.2 MB, free: 1.57 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.1112, allocations: 8.844 kB / 329.2 MB, free: 1.562 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.1116, allocations: 316.1 kB / 329.5 MB, free: 1.215 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-06/0.1117, allocations: 384 / 329.5 MB, free: 1.215 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.1117, allocations: 4.312 kB / 329.5 MB, free: 1.211 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.1118, allocations: 82.23 kB / 329.6 MB, free: 1.109 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1118, allocations: 0 / 329.6 MB, free: 1.109 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1118, allocations: 0 / 329.6 MB, free: 1.109 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1118, allocations: 0 / 329.6 MB, free: 1.109 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.944e-05/0.1119, allocations: 4 kB / 329.6 MB, free: 1.105 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.1122, allocations: 181.7 kB / 329.8 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.479e-05/0.1122, allocations: 18.58 kB / 329.8 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.795e-05/0.1122, allocations: 4.859 kB / 329.8 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-06/0.1123, allocations: 3.938 kB / 329.8 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.351e-05/0.1123, allocations: 72.27 kB / 329.9 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.1123, allocations: 0 / 329.9 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001509/0.1125, allocations: 45.59 kB / 329.9 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/0.1126, allocations: 158.3 kB / 330.1 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.1128, allocations: 164.9 kB / 330.3 MB, free: 352 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1128, allocations: 29.7 kB / 330.3 MB, free: 316 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.1129, allocations: 92.12 kB / 330.4 MB, free: 220 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.1129, allocations: 7.844 kB / 330.4 MB, free: 212 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.1129, allocations: 21.72 kB / 330.4 MB, free: 184 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1131, allocations: 318.8 kB / 330.7 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.1131, allocations: 4 kB / 330.7 MB, free: 15.86 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.918e-05/0.1132, allocations: 52.22 kB / 330.8 MB, free: 15.79 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.306e-05/0.1132, allocations: 8.859 kB / 330.8 MB, free: 15.78 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1132, allocations: 0 / 330.8 MB, free: 15.78 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.964e-05/0.1133, allocations: 57.53 kB / 330.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1133, allocations: 4 kB / 330.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1133, allocations: 96 / 330.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1134, allocations: 4 kB / 330.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.124e-05/0.1134, allocations: 4 kB / 330.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.1134, allocations: 3.938 kB / 330.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.848e-05/0.1135, allocations: 4 kB / 330.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.1135, allocations: 0 / 330.8 MB, free: 15.7 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001029/0.1136, allocations: 125.8 kB / 331 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.1136, allocations: 7.844 kB / 331 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.1137, allocations: 15.83 kB / 331 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1137, allocations: 0 / 331 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1137, allocations: 15.91 kB / 331 MB, free: 15.52 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1137, allocations: 3.984 kB / 331 MB, free: 15.52 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.1139, allocations: 169.7 kB / 331.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1139, allocations: 0 / 331.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.78e-05/0.114, allocations: 7.938 kB / 331.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.114, allocations: 0 / 331.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.944e-06/0.114, allocations: 0 / 331.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.114, allocations: 0 / 331.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.114, allocations: 0 / 331.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.1141, allocations: 77.06 kB / 331.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.077e-05/0.1142, allocations: 96.97 kB / 331.4 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.1143, allocations: 0 / 331.4 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.884e-05/0.1143, allocations: 4 kB / 331.4 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.1144, allocations: 0 / 331.4 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.1144, allocations: 0 / 331.4 MB, free: 15.09 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.1145, allocations: 131.2 kB / 331.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1145, allocations: 4 kB / 331.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002271/0.1147, allocations: 20.09 kB / 331.5 MB, free: 14.93 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (1): * Single equations (assignments): 1 * 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.0004742/0.1152, allocations: 174.6 kB / 331.7 MB, free: 14.76 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.925e-05/0.1153, allocations: 11.98 kB / 331.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1153, allocations: 0 / 331.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.191e-05/0.1154, allocations: 4 kB / 331.7 MB, free: 14.74 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.1156, allocations: 11.94 kB / 331.7 MB, free: 14.73 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/0.116, allocations: 275.5 kB / 332 MB, free: 14.43 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.1163, allocations: 0.7082 MB / 332.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.364e-05/0.1163, allocations: 8 kB / 332.7 MB, free: 13.69 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.1164, allocations: 15.42 kB / 332.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1164, allocations: 4 kB / 332.7 MB, free: 13.67 MB / 286.1 MB Notification: Performance of Templates: time 0.004046/0.1204, allocations: 1.195 MB / 333.9 MB, free: 12.48 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile (rm -f Modelica_3.2.2_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_3.2.2_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_3.2.2_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_3.2.2_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1)