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.001019/0.001025, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001006/0.001006, allocations: 177.3 kB / 15.95 MB, free: 216 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.582/1.582, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0005091/0.0005094, allocations: 18.8 kB / 278.9 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2533, allocations: 47.58 MB / 326.4 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0007517/0.2541, allocations: 262.4 kB / 326.7 MB, free: 1.223 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.2562, allocations: 1.764 MB / 328.5 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.988e-05/0.2562, allocations: 0 / 328.5 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007006/0.2569, allocations: 75.34 kB / 328.5 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.723e-05/0.257, allocations: 28.38 kB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.2572, allocations: 50.62 kB / 328.6 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.922e-05/0.2573, allocations: 36.84 kB / 328.6 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.528e-05/0.2574, allocations: 2.75 kB / 328.6 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.225e-05/0.2575, allocations: 23.77 kB / 328.7 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.2576, allocations: 27.88 kB / 328.7 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.2576, allocations: 2.5 kB / 328.7 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.762e-05/0.2577, allocations: 10.53 kB / 328.7 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.015e-05/0.2578, allocations: 51.16 kB / 328.8 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.2578, allocations: 37.52 kB / 328.8 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.258, allocations: 90.12 kB / 328.9 MB, free: 15.55 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.258, allocations: 0 / 328.9 MB, free: 15.55 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.258, allocations: 1.188 kB / 328.9 MB, free: 15.55 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.258, allocations: 0 / 328.9 MB, free: 15.55 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.0007124/0.2587, allocations: 469.7 kB / 329.3 MB, free: 15.09 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.2588, allocations: 13.16 kB / 329.4 MB, free: 15.08 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.2589, allocations: 10.88 kB / 329.4 MB, free: 15.08 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007563/0.2596, allocations: 371.3 kB / 329.7 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.2597, allocations: 3.953 kB / 329.7 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.2597, allocations: 13.33 kB / 329.7 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.2598, allocations: 68.33 kB / 329.8 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2599, allocations: 0 / 329.8 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.2599, allocations: 1.375 kB / 329.8 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.2599, allocations: 0 / 329.8 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.579e-05/0.2599, allocations: 6.438 kB / 329.8 MB, free: 14.69 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.2605, allocations: 232.5 kB / 330 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.305e-05/0.2605, allocations: 17.58 kB / 330.1 MB, free: 14.43 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.2605, allocations: 5.047 kB / 330.1 MB, free: 14.43 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.2607, allocations: 61.77 kB / 330.1 MB, free: 14.36 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 3.867e-06/0.2607, allocations: 0 / 330.1 MB, free: 14.36 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.000193/0.2609, allocations: 59.62 kB / 330.2 MB, free: 14.3 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/0.2611, allocations: 159.3 kB / 330.3 MB, free: 14.11 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004105/0.2615, allocations: 315.9 kB / 330.6 MB, free: 13.91 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.2615, allocations: 26.67 kB / 330.7 MB, free: 13.88 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.723e-05/0.2616, allocations: 113.1 kB / 330.8 MB, free: 13.77 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.2616, allocations: 0 / 330.8 MB, free: 13.77 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-06/0.2616, allocations: 5.219 kB / 330.8 MB, free: 13.77 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2618, allocations: 323.5 kB / 331.1 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/0.2618, allocations: 6.297 kB / 331.1 MB, free: 13.45 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.924e-05/0.2619, allocations: 43.17 kB / 331.2 MB, free: 13.4 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.366e-05/0.2619, allocations: 16.12 kB / 331.2 MB, free: 13.39 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2619, allocations: 0 / 331.2 MB, free: 13.39 MB / 270.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.509e-05/0.262, allocations: 52.58 kB / 331.2 MB, free: 13.34 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.2621, allocations: 9.297 kB / 331.2 MB, free: 13.34 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.2621, allocations: 1.031 kB / 331.2 MB, free: 13.34 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2621, allocations: 4.094 kB / 331.2 MB, free: 13.34 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.389e-05/0.2621, allocations: 2.906 kB / 331.2 MB, free: 13.34 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.2621, allocations: 3.984 kB / 331.2 MB, free: 13.33 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.2623, allocations: 17.59 kB / 331.3 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.2623, allocations: 0 / 331.3 MB, free: 13.32 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.0001244/0.2624, allocations: 127.5 kB / 331.4 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.2624, allocations: 10.81 kB / 331.4 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/0.2625, allocations: 24.31 kB / 331.4 MB, free: 13.19 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2625, allocations: 0 / 331.4 MB, free: 13.19 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.2625, allocations: 5.594 kB / 331.4 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2625, allocations: 48 / 331.4 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.2628, allocations: 206.9 kB / 331.6 MB, free: 12.96 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2628, allocations: 0 / 331.6 MB, free: 12.96 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.634e-05/0.2628, allocations: 6.406 kB / 331.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2628, allocations: 0 / 331.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.2628, allocations: 0 / 331.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.2628, allocations: 4.953 kB / 331.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2629, allocations: 0 / 331.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.263, allocations: 82.81 kB / 331.7 MB, free: 12.87 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.2631, allocations: 116.4 kB / 331.8 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.2632, allocations: 5.516 kB / 331.8 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.485e-05/0.2633, allocations: 15.34 kB / 331.9 MB, free: 12.74 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.2633, allocations: 5.016 kB / 331.9 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.2633, allocations: 0 / 331.9 MB, free: 12.73 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000271/0.2636, allocations: 244.6 kB / 332.1 MB, free: 12.59 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2636, allocations: 0 / 332.1 MB, free: 12.59 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.2638, allocations: 30.19 kB / 332.1 MB, free: 12.57 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.000391/0.2642, allocations: 165.8 kB / 332.3 MB, free: 12.43 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 8.109e-05/0.2643, allocations: 12.69 kB / 332.3 MB, free: 12.43 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2643, allocations: 3.938 kB / 332.3 MB, free: 12.43 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.158e-05/0.2643, allocations: 3.094 kB / 332.3 MB, free: 12.43 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.2645, allocations: 21.55 kB / 332.3 MB, free: 12.41 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.265, allocations: 241.7 kB / 332.6 MB, free: 12.22 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.2653, allocations: 0.711 MB / 333.3 MB, free: 11.51 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.178e-05/0.2654, allocations: 33.78 kB / 333.3 MB, free: 11.5 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.83e-05/0.2655, allocations: 23.77 kB / 333.3 MB, free: 11.49 MB / 270.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2655, allocations: 4 kB / 333.3 MB, free: 11.48 MB / 270.1 MB Notification: Performance of Templates: time 0.005397/0.2709, allocations: 1.886 MB / 335.2 MB, free: 10.29 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: