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.0009355/0.0009356, allocations: 85.08 kB / 16.31 MB, free: 6.465 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.001138/0.001138, allocations: 176.8 kB / 17.21 MB, free: 6.34 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.573/1.573, allocations: 205.4 MB / 223.4 MB, free: 5.562 MB / 174.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.0004481/0.0004484, allocations: 8 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2979, allocations: 47.6 MB / 327.7 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0007009/0.2986, allocations: 252.7 kB / 328 MB, free: 1.227 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.301, allocations: 1.764 MB / 329.7 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.668e-05/0.3011, allocations: 1.219 kB / 329.7 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008781/0.302, allocations: 93.56 kB / 329.8 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.386e-05/0.3021, allocations: 25.2 kB / 329.8 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.3024, allocations: 62.41 kB / 329.9 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.3025, allocations: 31.38 kB / 329.9 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.174e-05/0.3026, allocations: 6.109 kB / 329.9 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.743e-05/0.3026, allocations: 25.84 kB / 330 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.3028, allocations: 36.33 kB / 330 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.3028, allocations: 7.938 kB / 330 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.051e-05/0.3029, allocations: 12.06 kB / 330 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.356e-05/0.303, allocations: 53.42 kB / 330.1 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.321e-05/0.303, allocations: 33.23 kB / 330.1 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.3031, allocations: 42.09 kB / 330.2 MB, free: 15.55 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3031, allocations: 0 / 330.2 MB, free: 15.55 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3032, allocations: 0 / 330.2 MB, free: 15.55 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.3032, allocations: 0 / 330.2 MB, free: 15.55 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.0004293/0.3036, allocations: 389.6 kB / 330.5 MB, free: 15.14 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3037, allocations: 12.88 kB / 330.5 MB, free: 15.13 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.3037, allocations: 8.188 kB / 330.6 MB, free: 15.13 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004805/0.3042, allocations: 314.4 kB / 330.9 MB, free: 14.84 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3042, allocations: 3.953 kB / 330.9 MB, free: 14.84 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.3042, allocations: 1.031 kB / 330.9 MB, free: 14.84 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.3044, allocations: 73.2 kB / 330.9 MB, free: 14.76 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3044, allocations: 4 kB / 330.9 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3044, allocations: 1.125 kB / 330.9 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3044, allocations: 0 / 330.9 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.3045, allocations: 2.531 kB / 330.9 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.3048, allocations: 175.3 kB / 331.1 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.406e-05/0.3049, allocations: 20.77 kB / 331.1 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/0.3049, allocations: 11.03 kB / 331.1 MB, free: 14.51 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.3049, allocations: 1.188 kB / 331.1 MB, free: 14.51 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/0.305, allocations: 65.23 kB / 331.2 MB, free: 14.43 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.305, allocations: 3.938 kB / 331.2 MB, free: 14.43 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001597/0.3052, allocations: 48.72 kB / 331.3 MB, free: 14.39 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.461e-05/0.3053, allocations: 156.8 kB / 331.4 MB, free: 14.2 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.3055, allocations: 163.5 kB / 331.6 MB, free: 14.07 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.3055, allocations: 26.73 kB / 331.6 MB, free: 14.04 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.373e-05/0.3055, allocations: 95.75 kB / 331.7 MB, free: 13.95 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.3056, allocations: 4.125 kB / 331.7 MB, free: 13.95 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-06/0.3056, allocations: 1.094 kB / 331.7 MB, free: 13.95 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3057, allocations: 319.9 kB / 332 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.3058, allocations: 2.531 kB / 332 MB, free: 13.62 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.467e-05/0.3058, allocations: 47.75 kB / 332.1 MB, free: 13.57 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.703e-05/0.3058, allocations: 11.77 kB / 332.1 MB, free: 13.57 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3059, allocations: 1.156 kB / 332.1 MB, free: 13.57 MB / 270.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.868e-05/0.3059, allocations: 53.98 kB / 332.1 MB, free: 13.52 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.306, allocations: 4.969 kB / 332.1 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.306, allocations: 0 / 332.1 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.306, allocations: 0.875 kB / 332.1 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.151e-05/0.3061, allocations: 3.25 kB / 332.1 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.3061, allocations: 7.922 kB / 332.1 MB, free: 13.51 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.688e-05/0.3061, allocations: 6.141 kB / 332.1 MB, free: 13.51 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.3062, allocations: 1.031 kB / 332.1 MB, free: 13.51 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.3063, allocations: 125.4 kB / 332.3 MB, free: 13.39 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.3063, allocations: 12.02 kB / 332.3 MB, free: 13.38 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.3064, allocations: 14.42 kB / 332.3 MB, free: 13.37 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3064, allocations: 0 / 332.3 MB, free: 13.37 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3064, allocations: 0 / 332.3 MB, free: 13.37 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3064, allocations: 1.438 kB / 332.3 MB, free: 13.37 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.3066, allocations: 172.4 kB / 332.5 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3066, allocations: 0 / 332.5 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.659e-05/0.3067, allocations: 1.344 kB / 332.5 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3067, allocations: 4 kB / 332.5 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.3067, allocations: 5.359 kB / 332.5 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.3067, allocations: 7.984 kB / 332.5 MB, free: 13.15 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3067, allocations: 0 / 332.5 MB, free: 13.15 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.3068, allocations: 72.75 kB / 332.6 MB, free: 13.08 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.899e-05/0.3069, allocations: 98.53 kB / 332.7 MB, free: 12.97 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.307, allocations: 1.188 kB / 332.7 MB, free: 12.97 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.712e-05/0.307, allocations: 10.55 kB / 332.7 MB, free: 12.96 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.307, allocations: 0.875 kB / 332.7 MB, free: 12.96 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.3071, allocations: 0 / 332.7 MB, free: 12.96 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.3072, allocations: 131 kB / 332.8 MB, free: 12.87 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3072, allocations: 1.312 kB / 332.8 MB, free: 12.87 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000221/0.3074, allocations: 22.92 kB / 332.8 MB, free: 12.86 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003795/0.3078, allocations: 168 kB / 333 MB, free: 12.71 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 9.023e-05/0.3079, allocations: 11.45 kB / 333 MB, free: 12.71 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3079, allocations: 1.062 kB / 333 MB, free: 12.71 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.099e-05/0.3079, allocations: 2.812 kB / 333 MB, free: 12.71 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.3081, allocations: 12.75 kB / 333 MB, free: 12.7 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.3086, allocations: 256.3 kB / 333.3 MB, free: 12.5 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.3089, allocations: 0.7169 MB / 334 MB, free: 11.78 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.552e-05/0.3089, allocations: 15.83 kB / 334 MB, free: 11.77 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.309, allocations: 12.91 kB / 334 MB, free: 11.76 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.309, allocations: 0 / 334 MB, free: 11.76 MB / 270.1 MB Notification: Performance of Templates: time 0.004471/0.3135, allocations: 1.141 MB / 335.1 MB, free: 11.17 MB / 270.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)