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.001059/0.001059, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.001288/0.001288, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.565/1.565, allocations: 205.4 MB / 223.4 MB, free: 5.547 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.000482/0.0004821, allocations: 10.81 kB / 280.1 MB, free: 12.87 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2742, allocations: 47.58 MB / 327.7 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0008135/0.2751, allocations: 259.3 kB / 327.9 MB, free: 1.246 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.2775, allocations: 1.757 MB / 329.7 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.213e-05/0.2775, allocations: 1.25 kB / 329.7 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.2788, allocations: 82.09 kB / 329.8 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.603e-05/0.2789, allocations: 29.28 kB / 329.8 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.2791, allocations: 45.34 kB / 329.8 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.267e-05/0.2792, allocations: 32.92 kB / 329.9 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.213e-05/0.2792, allocations: 2.875 kB / 329.9 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.439e-05/0.2793, allocations: 27.88 kB / 329.9 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.843e-05/0.2794, allocations: 28.5 kB / 329.9 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.2794, allocations: 1.062 kB / 329.9 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.795e-05/0.2795, allocations: 12.19 kB / 330 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.008e-05/0.2796, allocations: 54.16 kB / 330 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.346e-05/0.2797, allocations: 40.67 kB / 330 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.2798, allocations: 83.5 kB / 330.1 MB, free: 15.58 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2798, allocations: 0 / 330.1 MB, free: 15.58 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2798, allocations: 1.094 kB / 330.1 MB, free: 15.58 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.2798, allocations: 0 / 330.1 MB, free: 15.58 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.0006718/0.2805, allocations: 465.7 kB / 330.6 MB, free: 15.12 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.2806, allocations: 13.97 kB / 330.6 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.2806, allocations: 9.5 kB / 330.6 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007298/0.2814, allocations: 374.8 kB / 331 MB, free: 14.82 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.2814, allocations: 9.016 kB / 331 MB, free: 14.81 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.2814, allocations: 1.031 kB / 331 MB, free: 14.81 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.2816, allocations: 73.16 kB / 331.1 MB, free: 14.73 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2816, allocations: 3.984 kB / 331.1 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.2816, allocations: 1.469 kB / 331.1 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2816, allocations: 4 kB / 331.1 MB, free: 14.72 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.863e-05/0.2816, allocations: 10.66 kB / 331.1 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.282, allocations: 228 kB / 331.3 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.116e-05/0.2821, allocations: 21.27 kB / 331.3 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.2821, allocations: 9.141 kB / 331.3 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.2822, allocations: 57.73 kB / 331.4 MB, free: 14.38 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.2822, allocations: 3.938 kB / 331.4 MB, free: 14.37 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001791/0.2824, allocations: 58.91 kB / 331.4 MB, free: 14.32 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.2825, allocations: 155.7 kB / 331.6 MB, free: 14.13 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/0.2829, allocations: 313.1 kB / 331.9 MB, free: 13.93 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.2829, allocations: 25.7 kB / 331.9 MB, free: 13.9 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.283, allocations: 112.8 kB / 332 MB, free: 13.8 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.283, allocations: 4.562 kB / 332 MB, free: 13.79 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.283, allocations: 0 / 332 MB, free: 13.79 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2832, allocations: 324.5 kB / 332.4 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.2832, allocations: 10.58 kB / 332.4 MB, free: 13.46 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.728e-05/0.2833, allocations: 38.36 kB / 332.4 MB, free: 13.42 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.629e-05/0.2833, allocations: 16.19 kB / 332.4 MB, free: 13.41 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2833, allocations: 1.25 kB / 332.4 MB, free: 13.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.604e-05/0.2834, allocations: 51.89 kB / 332.5 MB, free: 13.37 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.2834, allocations: 9.516 kB / 332.5 MB, free: 13.36 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2834, allocations: 5 kB / 332.5 MB, free: 13.36 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2834, allocations: 0 / 332.5 MB, free: 13.36 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.266e-05/0.2835, allocations: 3.344 kB / 332.5 MB, free: 13.36 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2835, allocations: 3.984 kB / 332.5 MB, free: 13.36 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.2836, allocations: 16.31 kB / 332.5 MB, free: 13.35 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.2836, allocations: 1.031 kB / 332.5 MB, free: 13.35 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.0001204/0.2838, allocations: 127.9 kB / 332.6 MB, free: 13.23 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.2838, allocations: 10.22 kB / 332.6 MB, free: 13.23 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.2839, allocations: 28 kB / 332.7 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-06/0.2839, allocations: 0 / 332.7 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2839, allocations: 1 kB / 332.7 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2839, allocations: 0 / 332.7 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.2841, allocations: 199 kB / 332.9 MB, free: 12.99 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2841, allocations: 1.469 kB / 332.9 MB, free: 12.99 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/0.2842, allocations: 5.188 kB / 332.9 MB, free: 12.98 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2842, allocations: 0 / 332.9 MB, free: 12.98 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.2842, allocations: 1.406 kB / 332.9 MB, free: 12.98 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.2842, allocations: 3.953 kB / 332.9 MB, free: 12.98 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2842, allocations: 0 / 332.9 MB, free: 12.98 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.2843, allocations: 83.16 kB / 333 MB, free: 12.9 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.2845, allocations: 116.6 kB / 333.1 MB, free: 12.78 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.2845, allocations: 13.33 kB / 333.1 MB, free: 12.77 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.2846, allocations: 6.562 kB / 333.1 MB, free: 12.77 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.2847, allocations: 4.984 kB / 333.1 MB, free: 12.77 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.2847, allocations: 1.375 kB / 333.1 MB, free: 12.77 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002864/0.285, allocations: 251.7 kB / 333.3 MB, free: 12.61 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.285, allocations: 5.125 kB / 333.4 MB, free: 12.61 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000233/0.2852, allocations: 21.66 kB / 333.4 MB, free: 12.6 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.0004047/0.2856, allocations: 174.1 kB / 333.5 MB, free: 12.45 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 9.574e-05/0.2857, allocations: 12.22 kB / 333.6 MB, free: 12.45 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2857, allocations: 0 / 333.6 MB, free: 12.45 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-05/0.2858, allocations: 7.031 kB / 333.6 MB, free: 12.45 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.2859, allocations: 16.48 kB / 333.6 MB, free: 12.43 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.2863, allocations: 238.1 kB / 333.8 MB, free: 12.25 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.2867, allocations: 0.7144 MB / 334.5 MB, free: 11.53 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.511e-05/0.2868, allocations: 38.25 kB / 334.6 MB, free: 11.52 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.864e-05/0.2868, allocations: 23.55 kB / 334.6 MB, free: 11.51 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2868, allocations: 0 / 334.6 MB, free: 11.51 MB / 270.1 MB Notification: Performance of Templates: time 0.004942/0.2918, allocations: 1.888 MB / 336.5 MB, free: 10.3 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: