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.000916/0.000916, allocations: 91.62 kB / 16.65 MB, free: 6.59 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.001177/0.001177, allocations: 181.5 kB / 17.56 MB, free: 6.203 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.536/1.536, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004582/0.0004579, allocations: 8 kB / 280.7 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08809/0.08856, allocations: 47.59 MB / 328.3 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0006074/0.0892, allocations: 265.7 kB / 328.6 MB, free: 3.512 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.0913, allocations: 1.801 MB / 330.4 MB, free: 1.688 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.137e-05/0.09135, allocations: 0 / 330.4 MB, free: 1.688 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.09308, allocations: 126 kB / 330.5 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.09316, allocations: 35.89 kB / 330.5 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.09334, allocations: 35.95 kB / 330.6 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.95e-05/0.09343, allocations: 55.83 kB / 330.6 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.153e-05/0.09347, allocations: 3.938 kB / 330.6 MB, free: 1.445 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.09352, allocations: 15.94 kB / 330.6 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.09364, allocations: 39.83 kB / 330.7 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.09366, allocations: 0 / 330.7 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.62e-05/0.09372, allocations: 19.94 kB / 330.7 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.241e-05/0.09382, allocations: 51.94 kB / 330.7 MB, free: 1.32 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.81e-05/0.09389, allocations: 45.56 kB / 330.8 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.09403, allocations: 55.81 kB / 330.8 MB, free: 1.215 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.09404, allocations: 0 / 330.8 MB, free: 1.215 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09405, allocations: 4 kB / 330.8 MB, free: 1.211 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.09406, allocations: 0 / 330.8 MB, free: 1.211 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.0003959/0.09446, allocations: 385.1 kB / 331.2 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.09451, allocations: 8.031 kB / 331.2 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.09455, allocations: 8.844 kB / 331.2 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.09502, allocations: 324.1 kB / 331.6 MB, free: 420 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.09504, allocations: 384 / 331.6 MB, free: 420 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.09506, allocations: 384 / 331.6 MB, free: 420 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.09518, allocations: 86.17 kB / 331.6 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.0952, allocations: 0 / 331.6 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.09521, allocations: 0 / 331.6 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.09522, allocations: 4 kB / 331.6 MB, free: 308 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.536e-05/0.09524, allocations: 0 / 331.6 MB, free: 308 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.09554, allocations: 181.6 kB / 331.8 MB, free: 76 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.797e-05/0.09559, allocations: 26.52 kB / 331.9 MB, free: 40 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.705e-05/0.09561, allocations: 8.922 kB / 331.9 MB, free: 28 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-06/0.09562, allocations: 0 / 331.9 MB, free: 28 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.646e-05/0.09568, allocations: 64.2 kB / 331.9 MB, free: 15.95 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.09569, allocations: 0 / 331.9 MB, free: 15.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001243/0.09582, allocations: 41.69 kB / 332 MB, free: 15.9 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.0959, allocations: 154.2 kB / 332.1 MB, free: 15.71 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.09605, allocations: 169.9 kB / 332.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.09608, allocations: 29.7 kB / 332.3 MB, free: 15.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.09613, allocations: 92.12 kB / 332.4 MB, free: 15.41 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.09615, allocations: 11.78 kB / 332.4 MB, free: 15.4 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/0.09618, allocations: 13.72 kB / 332.4 MB, free: 15.38 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.09628, allocations: 310.8 kB / 332.7 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/0.0963, allocations: 11.98 kB / 332.7 MB, free: 15.05 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.71e-05/0.09635, allocations: 40.3 kB / 332.8 MB, free: 15 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.35e-05/0.09639, allocations: 16.84 kB / 332.8 MB, free: 14.98 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.0964, allocations: 4 kB / 332.8 MB, free: 14.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.847e-05/0.09648, allocations: 45.55 kB / 332.8 MB, free: 14.93 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.0965, allocations: 7.125 kB / 332.8 MB, free: 14.92 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.09651, allocations: 7.875 kB / 332.9 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.09653, allocations: 0 / 332.9 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.18e-05/0.09656, allocations: 7.984 kB / 332.9 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.09658, allocations: 4.094 kB / 332.9 MB, free: 14.9 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.505e-05/0.09666, allocations: 8 kB / 332.9 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.09667, allocations: 0 / 332.9 MB, free: 14.89 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 8.931e-05/0.09676, allocations: 125.8 kB / 333 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.09679, allocations: 11.84 kB / 333 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.09682, allocations: 11.83 kB / 333 MB, free: 14.74 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.09682, allocations: 0 / 333 MB, free: 14.74 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/0.09685, allocations: 4 kB / 333 MB, free: 14.73 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.09686, allocations: 3.938 kB / 333 MB, free: 14.73 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.09703, allocations: 169.7 kB / 333.2 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.09705, allocations: 3.984 kB / 333.2 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.09708, allocations: 11.92 kB / 333.2 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.09709, allocations: 0 / 333.2 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.0971, allocations: 0 / 333.2 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.09711, allocations: 0 / 333.2 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.09711, allocations: 0 / 333.2 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.09723, allocations: 80.97 kB / 333.3 MB, free: 14.4 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.0973, allocations: 93.06 kB / 333.4 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.09733, allocations: 0 / 333.4 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.166e-05/0.0974, allocations: 4 kB / 333.4 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.09742, allocations: 8 kB / 333.4 MB, free: 14.28 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.09742, allocations: 0 / 333.4 MB, free: 14.28 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.153e-05/0.09752, allocations: 135.1 kB / 333.5 MB, free: 14.15 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09753, allocations: 0 / 333.5 MB, free: 14.15 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002082/0.09774, allocations: 16 kB / 333.5 MB, free: 14.13 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.0003477/0.09809, allocations: 162.8 kB / 333.7 MB, free: 13.97 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.259e-05/0.09819, allocations: 19.98 kB / 333.7 MB, free: 13.95 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.0982, allocations: 0 / 333.7 MB, free: 13.95 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.239e-05/0.09822, allocations: 7.938 kB / 333.7 MB, free: 13.94 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.09838, allocations: 15.94 kB / 333.7 MB, free: 13.93 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.09875, allocations: 269.1 kB / 334 MB, free: 13.63 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.099, allocations: 0.7082 MB / 334.7 MB, free: 12.89 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.049e-05/0.09904, allocations: 8 kB / 334.7 MB, free: 12.89 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.09908, allocations: 15.44 kB / 334.7 MB, free: 12.87 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09908, allocations: 0 / 334.7 MB, free: 12.87 MB / 286.1 MB Notification: Performance of Templates: time 0.003915/0.103, allocations: 1.19 MB / 335.9 MB, free: 11.68 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)