Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001214/0.001214, allocations: 92.39 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.00199/0.001989, 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.599/1.599, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.0004381/0.0004383, allocations: 8 kB / 278.9 MB, free: 13.08 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2527, allocations: 47.59 MB / 326.5 MB, free: 1.508 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0006761/0.2534, allocations: 257.9 kB / 326.7 MB, free: 1.316 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.2555, allocations: 1.77 MB / 328.5 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.397e-05/0.2556, allocations: 0 / 328.5 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007668/0.2564, allocations: 89.88 kB / 328.6 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.933e-05/0.2564, allocations: 30.62 kB / 328.6 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.2566, allocations: 48.58 kB / 328.6 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.2568, allocations: 41.05 kB / 328.7 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.2568, allocations: 1.438 kB / 328.7 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.119e-05/0.2569, allocations: 26.08 kB / 328.7 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.257, allocations: 33.91 kB / 328.7 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.257, allocations: 0.8125 kB / 328.7 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.07e-05/0.2571, allocations: 13.64 kB / 328.8 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.2573, allocations: 64.41 kB / 328.8 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.2573, allocations: 29.08 kB / 328.9 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.2575, allocations: 38.19 kB / 328.9 MB, free: 15.65 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/0.2575, allocations: 2.625 kB / 328.9 MB, free: 15.65 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.2575, allocations: 3.938 kB / 328.9 MB, free: 15.65 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.2575, allocations: 0 / 328.9 MB, free: 15.65 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.0005738/0.2581, allocations: 385.7 kB / 329.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.2581, allocations: 9.75 kB / 329.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.2582, allocations: 7.469 kB / 329.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005499/0.2588, allocations: 312.2 kB / 329.6 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.2588, allocations: 7.953 kB / 329.6 MB, free: 14.94 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.2588, allocations: 1.062 kB / 329.6 MB, free: 14.94 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.259, allocations: 69.23 kB / 329.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.259, allocations: 0 / 329.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.259, allocations: 5.062 kB / 329.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.259, allocations: 3.984 kB / 329.7 MB, free: 14.85 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.227e-05/0.259, allocations: 10.52 kB / 329.7 MB, free: 14.84 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.2595, allocations: 174.9 kB / 329.9 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.116e-05/0.2595, allocations: 25.8 kB / 329.9 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/0.2596, allocations: 11 kB / 329.9 MB, free: 14.6 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-06/0.2596, allocations: 0 / 329.9 MB, free: 14.6 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.752e-05/0.2596, allocations: 62.5 kB / 330 MB, free: 14.52 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.2596, allocations: 4 kB / 330 MB, free: 14.52 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001653/0.2598, allocations: 41.23 kB / 330 MB, free: 14.48 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.2599, allocations: 159.4 kB / 330.2 MB, free: 14.29 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.2601, allocations: 167.3 kB / 330.3 MB, free: 14.16 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.2602, allocations: 30.73 kB / 330.3 MB, free: 14.13 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.2602, allocations: 95.34 kB / 330.4 MB, free: 14.04 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.2603, allocations: 1.156 kB / 330.4 MB, free: 14.04 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.2603, allocations: 0 / 330.4 MB, free: 14.04 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2604, allocations: 325 kB / 330.8 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.2604, allocations: 2.938 kB / 330.8 MB, free: 13.71 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.946e-05/0.2605, allocations: 38.66 kB / 330.8 MB, free: 13.67 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.998e-05/0.2605, allocations: 12.64 kB / 330.8 MB, free: 13.66 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2605, allocations: 0 / 330.8 MB, free: 13.66 MB / 270.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.546e-05/0.2606, allocations: 58.55 kB / 330.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.2607, allocations: 4.906 kB / 330.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2607, allocations: 1.25 kB / 330.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.2607, allocations: 0 / 330.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.829e-05/0.2607, allocations: 2.812 kB / 330.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.2607, allocations: 1.469 kB / 330.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.715e-05/0.2608, allocations: 5.25 kB / 330.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.2608, allocations: 1.188 kB / 330.9 MB, free: 13.61 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.0001109/0.2609, allocations: 124.7 kB / 331 MB, free: 13.49 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.261, allocations: 15.98 kB / 331 MB, free: 13.48 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.261, allocations: 14.69 kB / 331 MB, free: 13.46 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.261, allocations: 0 / 331 MB, free: 13.46 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.261, allocations: 1.156 kB / 331 MB, free: 13.46 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.261, allocations: 0 / 331 MB, free: 13.46 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.2612, allocations: 176.5 kB / 331.2 MB, free: 13.26 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2612, allocations: 0 / 331.2 MB, free: 13.26 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.2613, allocations: 2.031 kB / 331.2 MB, free: 13.26 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2613, allocations: 0 / 331.2 MB, free: 13.26 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.2613, allocations: 9.391 kB / 331.2 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2613, allocations: 0 / 331.2 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2613, allocations: 4 kB / 331.2 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.2615, allocations: 75.84 kB / 331.3 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.788e-05/0.2616, allocations: 91.78 kB / 331.4 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.2616, allocations: 5.094 kB / 331.4 MB, free: 13.06 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.347e-05/0.2616, allocations: 9.359 kB / 331.4 MB, free: 13.05 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.2617, allocations: 5.422 kB / 331.4 MB, free: 13.05 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.2617, allocations: 96 / 331.4 MB, free: 13.05 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.2618, allocations: 135.2 kB / 331.5 MB, free: 12.95 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2618, allocations: 0 / 331.5 MB, free: 12.95 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002091/0.262, allocations: 16 kB / 331.6 MB, free: 12.95 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.0003934/0.2624, allocations: 163.5 kB / 331.7 MB, free: 12.81 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 9.339e-05/0.2625, allocations: 9.031 kB / 331.7 MB, free: 12.81 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2625, allocations: 0 / 331.7 MB, free: 12.81 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.459e-05/0.2626, allocations: 7.469 kB / 331.7 MB, free: 12.8 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.2627, allocations: 12.98 kB / 331.7 MB, free: 12.8 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004753/0.2632, allocations: 260.4 kB / 332 MB, free: 12.59 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.2636, allocations: 0.7081 MB / 332.7 MB, free: 11.88 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.256e-05/0.2636, allocations: 15.53 kB / 332.7 MB, free: 11.87 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.2637, allocations: 16.95 kB / 332.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of SimCode: time 2e-07/0.2637, allocations: 0 / 332.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of Templates: time 0.004102/0.2678, allocations: 1.146 MB / 333.9 MB, free: 11.26 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile (rm -f Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1)