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.001165/0.001165, allocations: 101.1 kB / 16.62 MB, free: 6.812 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.001252/0.001252, allocations: 189.9 kB / 17.55 MB, free: 5.953 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.236/1.236, allocations: 205.1 MB / 223.4 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.001036/0.001036, allocations: 51.92 kB / 279.5 MB, free: 3.52 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07075/0.07179, allocations: 46.63 MB / 326.1 MB, free: 4.824 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001673/0.07351, allocations: 0.6022 MB / 326.7 MB, free: 4.219 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.07532, allocations: 1.813 MB / 328.5 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.102e-05/0.07536, allocations: 0 / 328.5 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.07689, allocations: 134.1 kB / 328.7 MB, free: 2.262 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.254e-05/0.07696, allocations: 27.91 kB / 328.7 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.07711, allocations: 43.88 kB / 328.7 MB, free: 2.191 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.181e-05/0.07719, allocations: 43.91 kB / 328.8 MB, free: 2.148 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.746e-05/0.07722, allocations: 4 kB / 328.8 MB, free: 2.145 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.419e-05/0.07727, allocations: 27.91 kB / 328.8 MB, free: 2.117 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.111e-05/0.07737, allocations: 43.7 kB / 328.9 MB, free: 2.074 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.07739, allocations: 0 / 328.9 MB, free: 2.074 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.361e-05/0.07744, allocations: 20 kB / 328.9 MB, free: 2.055 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.07752, allocations: 51.95 kB / 328.9 MB, free: 2.004 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.07757, allocations: 23.78 kB / 328.9 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.07768, allocations: 51.88 kB / 329 MB, free: 1.93 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.07769, allocations: 0 / 329 MB, free: 1.93 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.07769, allocations: 0 / 329 MB, free: 1.93 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.0777, allocations: 0 / 329 MB, free: 1.93 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.0003635/0.07807, allocations: 401.1 kB / 329.4 MB, free: 1.484 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.07811, allocations: 8.031 kB / 329.4 MB, free: 1.477 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.07815, allocations: 12.84 kB / 329.4 MB, free: 1.465 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.07852, allocations: 320.1 kB / 329.7 MB, free: 1.113 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-06/0.07854, allocations: 384 / 329.7 MB, free: 1.113 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.07856, allocations: 4.312 kB / 329.7 MB, free: 1.109 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.07867, allocations: 78.23 kB / 329.8 MB, free: 1.012 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.709e-06/0.07869, allocations: 0 / 329.8 MB, free: 1.012 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.0787, allocations: 4 kB / 329.8 MB, free: 1.008 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.07871, allocations: 0 / 329.8 MB, free: 1.008 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.349e-05/0.07873, allocations: 4 kB / 329.8 MB, free: 1.004 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.07899, allocations: 177.7 kB / 330 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.529e-05/0.07903, allocations: 22.52 kB / 330 MB, free: 0.75 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.44e-05/0.07906, allocations: 8.922 kB / 330 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.15e-06/0.07907, allocations: 0 / 330 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.0791, allocations: 64.2 kB / 330.1 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.07911, allocations: 0 / 330.1 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001094/0.07922, allocations: 53.53 kB / 330.1 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.07929, allocations: 154.2 kB / 330.3 MB, free: 424 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.07943, allocations: 164.9 kB / 330.4 MB, free: 252 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.07945, allocations: 29.7 kB / 330.5 MB, free: 216 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.0795, allocations: 92.12 kB / 330.6 MB, free: 120 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.07952, allocations: 11.84 kB / 330.6 MB, free: 108 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.07956, allocations: 21.84 kB / 330.6 MB, free: 80 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.07967, allocations: 322.8 kB / 330.9 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.07968, allocations: 0 / 330.9 MB, free: 15.75 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.152e-05/0.07973, allocations: 40.28 kB / 330.9 MB, free: 15.7 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.783e-05/0.07976, allocations: 16.86 kB / 331 MB, free: 15.68 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.07977, allocations: 4.062 kB / 331 MB, free: 15.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.116e-05/0.07985, allocations: 57.47 kB / 331 MB, free: 15.61 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.547e-06/0.07986, allocations: 4 kB / 331 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.07987, allocations: 0 / 331 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.07988, allocations: 0 / 331 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.38e-05/0.07991, allocations: 7.938 kB / 331 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.07992, allocations: 0 / 331 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.479e-05/0.07999, allocations: 4 kB / 331 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.08, allocations: 0 / 331 MB, free: 15.6 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 7.787e-05/0.08008, allocations: 129.9 kB / 331.2 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.08011, allocations: 11.84 kB / 331.2 MB, free: 15.45 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.083e-05/0.08013, allocations: 15.86 kB / 331.2 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.08014, allocations: 4 kB / 331.2 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.08015, allocations: 7.922 kB / 331.2 MB, free: 15.42 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.08015, allocations: 0 / 331.2 MB, free: 15.42 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.08031, allocations: 165.7 kB / 331.4 MB, free: 15.21 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.08032, allocations: 8 kB / 331.4 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-05/0.08035, allocations: 3.938 kB / 331.4 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.08036, allocations: 0 / 331.4 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.08037, allocations: 4 kB / 331.4 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.08037, allocations: 0 / 331.4 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.08038, allocations: 0 / 331.4 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.858e-05/0.08048, allocations: 73.06 kB / 331.5 MB, free: 15.11 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.08054, allocations: 92.97 kB / 331.5 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.08056, allocations: 4 kB / 331.5 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.678e-05/0.08062, allocations: 4 kB / 331.6 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.08064, allocations: 4.094 kB / 331.6 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.08065, allocations: 0 / 331.6 MB, free: 14.98 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.008e-05/0.08074, allocations: 135.2 kB / 331.7 MB, free: 14.85 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08075, allocations: 0 / 331.7 MB, free: 14.85 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001917/0.08094, allocations: 16 kB / 331.7 MB, free: 14.84 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.0002843/0.08123, allocations: 166.5 kB / 331.9 MB, free: 14.67 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.195e-05/0.08131, allocations: 19.92 kB / 331.9 MB, free: 14.65 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.08132, allocations: 0 / 331.9 MB, free: 14.65 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.804e-06/0.08134, allocations: 4 kB / 331.9 MB, free: 14.64 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.08148, allocations: 9.094 kB / 331.9 MB, free: 14.64 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.08179, allocations: 273.9 kB / 332.2 MB, free: 14.34 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.08202, allocations: 0.708 MB / 332.9 MB, free: 13.61 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.271e-05/0.08206, allocations: 12 kB / 332.9 MB, free: 13.59 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.08208, allocations: 15.42 kB / 332.9 MB, free: 13.58 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.08209, allocations: 4 kB / 332.9 MB, free: 13.57 MB / 286.1 MB Notification: Performance of Templates: time 0.003136/0.08523, allocations: 1.221 MB / 334.1 MB, free: 12.35 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)