Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.0008801/0.0008799, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009486/0.0009487, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.4 MB / 222.1 MB, free: 5.461 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.0004735/0.0004736, allocations: 12 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2949, allocations: 47.59 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0006797/0.2956, allocations: 258.5 kB / 326.7 MB, free: 1.223 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.2979, allocations: 1.762 MB / 328.5 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.298, allocations: 3.906 kB / 328.5 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000701/0.2987, allocations: 86.14 kB / 328.6 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.731e-05/0.2988, allocations: 30.41 kB / 328.6 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.299, allocations: 48.31 kB / 328.6 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.757e-05/0.2991, allocations: 33.16 kB / 328.7 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.641e-05/0.2992, allocations: 2.094 kB / 328.7 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.823e-05/0.2992, allocations: 29.22 kB / 328.7 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.2994, allocations: 34.61 kB / 328.7 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.2994, allocations: 5.281 kB / 328.7 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.598e-05/0.2995, allocations: 13.34 kB / 328.8 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.2996, allocations: 52.36 kB / 328.8 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.2996, allocations: 32.3 kB / 328.8 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.2997, allocations: 47.28 kB / 328.9 MB, free: 15.57 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2998, allocations: 0 / 328.9 MB, free: 15.57 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2998, allocations: 1.25 kB / 328.9 MB, free: 15.57 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.2998, allocations: 0 / 328.9 MB, free: 15.57 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.0004623/0.3002, allocations: 381.2 kB / 329.3 MB, free: 15.16 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3003, allocations: 13.44 kB / 329.3 MB, free: 15.15 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.3003, allocations: 11.28 kB / 329.3 MB, free: 15.14 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005137/0.3009, allocations: 321.9 kB / 329.6 MB, free: 14.85 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3009, allocations: 3.953 kB / 329.6 MB, free: 14.85 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.3009, allocations: 1.125 kB / 329.6 MB, free: 14.85 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.3011, allocations: 69.58 kB / 329.7 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3011, allocations: 4 kB / 329.7 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.3011, allocations: 9.297 kB / 329.7 MB, free: 14.76 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.3012, allocations: 0 / 329.7 MB, free: 14.76 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.878e-05/0.3012, allocations: 2.125 kB / 329.7 MB, free: 14.76 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.3015, allocations: 175.5 kB / 329.9 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.226e-05/0.3016, allocations: 17.8 kB / 329.9 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.997e-05/0.3016, allocations: 14.36 kB / 329.9 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.3016, allocations: 0 / 329.9 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.3017, allocations: 61.8 kB / 330 MB, free: 14.44 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3017, allocations: 0 / 330 MB, free: 14.44 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001545/0.3018, allocations: 49.33 kB / 330 MB, free: 14.4 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.345e-05/0.3019, allocations: 159.4 kB / 330.2 MB, free: 14.21 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.3021, allocations: 163.8 kB / 330.3 MB, free: 14.08 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3021, allocations: 27.2 kB / 330.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.3022, allocations: 92.17 kB / 330.4 MB, free: 13.96 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.3022, allocations: 4.125 kB / 330.4 MB, free: 13.96 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.3022, allocations: 1.25 kB / 330.4 MB, free: 13.96 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3024, allocations: 319.9 kB / 330.7 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.317e-05/0.3024, allocations: 3.812 kB / 330.8 MB, free: 13.64 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.134e-05/0.3024, allocations: 42.25 kB / 330.8 MB, free: 13.59 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.287e-05/0.3025, allocations: 16.8 kB / 330.8 MB, free: 13.58 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3025, allocations: 0 / 330.8 MB, free: 13.58 MB / 270.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.188e-05/0.3026, allocations: 54.2 kB / 330.9 MB, free: 13.53 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3026, allocations: 5.156 kB / 330.9 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3026, allocations: 0 / 330.9 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3026, allocations: 1.219 kB / 330.9 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.716e-05/0.3026, allocations: 2.719 kB / 330.9 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3027, allocations: 0 / 330.9 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.395e-05/0.3027, allocations: 2.719 kB / 330.9 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.3027, allocations: 1.406 kB / 330.9 MB, free: 13.53 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.0001073/0.3029, allocations: 132.4 kB / 331 MB, free: 13.41 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.3029, allocations: 12.05 kB / 331 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.3029, allocations: 10.06 kB / 331 MB, free: 13.39 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3029, allocations: 3.938 kB / 331 MB, free: 13.39 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.3029, allocations: 5.016 kB / 331 MB, free: 13.38 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3029, allocations: 0 / 331 MB, free: 13.38 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.3031, allocations: 172.8 kB / 331.2 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3031, allocations: 3.938 kB / 331.2 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.579e-05/0.3032, allocations: 1.25 kB / 331.2 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3032, allocations: 9.281 kB / 331.2 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.3032, allocations: 3.953 kB / 331.2 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3032, allocations: 1.344 kB / 331.2 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3032, allocations: 0 / 331.2 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.3033, allocations: 72.25 kB / 331.3 MB, free: 13.09 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.421e-05/0.3034, allocations: 94.22 kB / 331.4 MB, free: 12.98 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.3034, allocations: 1.969 kB / 331.4 MB, free: 12.98 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.057e-05/0.3035, allocations: 18.41 kB / 331.4 MB, free: 12.97 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.3035, allocations: 0 / 331.4 MB, free: 12.97 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.3035, allocations: 1.031 kB / 331.4 MB, free: 12.97 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.3036, allocations: 130.8 kB / 331.5 MB, free: 12.88 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3036, allocations: 3.938 kB / 331.5 MB, free: 12.87 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002108/0.3039, allocations: 19.03 kB / 331.6 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.0003759/0.3042, allocations: 168.3 kB / 331.7 MB, free: 12.72 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 9.546e-05/0.3043, allocations: 8.656 kB / 331.7 MB, free: 12.72 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3044, allocations: 0 / 331.7 MB, free: 12.72 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.021e-05/0.3044, allocations: 2.781 kB / 331.7 MB, free: 12.72 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.3045, allocations: 16.45 kB / 331.7 MB, free: 12.71 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.305, allocations: 257.5 kB / 332 MB, free: 12.5 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.3053, allocations: 0.713 MB / 332.7 MB, free: 11.79 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.551e-05/0.3053, allocations: 7.312 kB / 332.7 MB, free: 11.79 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.3054, allocations: 16.55 kB / 332.7 MB, free: 11.78 MB / 270.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3054, allocations: 0 / 332.7 MB, free: 11.78 MB / 270.1 MB Notification: Performance of Templates: time 0.003964/0.3094, allocations: 1.152 MB / 333.9 MB, free: 11.17 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile (rm -f Modelica_3.2.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_3.2.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_3.2.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_3.2.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1)