Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001151/0.001152, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001887/0.001887, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.46/1.46, allocations: 205.1 MB / 222 MB, free: 4.758 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.001406/0.001406, allocations: 51.92 kB / 278 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2765, allocations: 46.63 MB / 324.7 MB, free: 2.25 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001954/0.2785, allocations: 0.5901 MB / 325.3 MB, free: 1.801 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.2809, allocations: 1.807 MB / 327.1 MB, free: 364 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.778e-05/0.281, allocations: 1.219 kB / 327.1 MB, free: 364 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.2829, allocations: 129.1 kB / 327.2 MB, free: 280 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 8.004e-05/0.283, allocations: 29.09 kB / 327.2 MB, free: 260 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.2832, allocations: 37.67 kB / 327.3 MB, free: 240 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.2834, allocations: 47.17 kB / 327.3 MB, free: 216 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.249e-05/0.2834, allocations: 10.75 kB / 327.3 MB, free: 208 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.983e-05/0.2835, allocations: 15.25 kB / 327.3 MB, free: 204 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.2836, allocations: 42.42 kB / 327.4 MB, free: 176 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.2837, allocations: 1.25 kB / 327.4 MB, free: 176 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.82e-05/0.2838, allocations: 21.86 kB / 327.4 MB, free: 164 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.2839, allocations: 52.08 kB / 327.4 MB, free: 140 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 6.771e-05/0.284, allocations: 16.98 kB / 327.5 MB, free: 128 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.2842, allocations: 56.25 kB / 327.5 MB, free: 96 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.2842, allocations: 0 / 327.5 MB, free: 96 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2842, allocations: 0 / 327.5 MB, free: 96 kB / 254.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.2842, allocations: 0 / 327.5 MB, free: 96 kB / 254.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.0006379/0.2849, allocations: 408.2 kB / 327.9 MB, free: 15.66 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/0.2849, allocations: 9.188 kB / 327.9 MB, free: 15.66 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.51e-05/0.285, allocations: 9.656 kB / 327.9 MB, free: 15.66 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.2856, allocations: 314.6 kB / 328.2 MB, free: 15.38 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.2856, allocations: 1.531 kB / 328.2 MB, free: 15.38 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.2856, allocations: 384 / 328.2 MB, free: 15.38 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.2858, allocations: 81.52 kB / 328.3 MB, free: 15.29 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2858, allocations: 1.188 kB / 328.3 MB, free: 15.29 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.2858, allocations: 7.922 kB / 328.3 MB, free: 15.28 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.2858, allocations: 1.094 kB / 328.3 MB, free: 15.28 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.874e-05/0.2858, allocations: 6.391 kB / 328.3 MB, free: 15.27 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.2862, allocations: 178.7 kB / 328.5 MB, free: 15.07 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.491e-05/0.2862, allocations: 21.8 kB / 328.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.2863, allocations: 10.14 kB / 328.5 MB, free: 15.03 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.2863, allocations: 5.266 kB / 328.5 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.2863, allocations: 61.33 kB / 328.6 MB, free: 14.95 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.2863, allocations: 0 / 328.6 MB, free: 14.95 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001535/0.2865, allocations: 49.55 kB / 328.6 MB, free: 14.91 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.678e-05/0.2866, allocations: 159.5 kB / 328.8 MB, free: 14.71 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.2868, allocations: 164.4 kB / 329 MB, free: 14.59 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.2868, allocations: 30.95 kB / 329 MB, free: 14.55 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.2869, allocations: 92.05 kB / 329.1 MB, free: 14.46 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.2869, allocations: 3.906 kB / 329.1 MB, free: 14.46 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.2869, allocations: 23.61 kB / 329.1 MB, free: 14.44 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2871, allocations: 317.6 kB / 329.4 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.2871, allocations: 2.719 kB / 329.4 MB, free: 14.12 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.368e-05/0.2871, allocations: 41.91 kB / 329.5 MB, free: 14.07 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.351e-05/0.2872, allocations: 19.84 kB / 329.5 MB, free: 14.06 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2872, allocations: 0 / 329.5 MB, free: 14.06 MB / 270.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.771e-05/0.2873, allocations: 46.45 kB / 329.5 MB, free: 14.02 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2873, allocations: 5.906 kB / 329.5 MB, free: 14.02 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2873, allocations: 3.938 kB / 329.5 MB, free: 14.02 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.2873, allocations: 1.5 kB / 329.5 MB, free: 14.02 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.074e-05/0.2874, allocations: 6.406 kB / 329.5 MB, free: 14.01 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2874, allocations: 0 / 329.5 MB, free: 14.01 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.364e-05/0.2875, allocations: 14.05 kB / 329.6 MB, free: 14 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.2875, allocations: 1.344 kB / 329.6 MB, free: 14 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.946e-05/0.2876, allocations: 121.2 kB / 329.7 MB, free: 13.89 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.2876, allocations: 11.52 kB / 329.7 MB, free: 13.88 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.2876, allocations: 10.28 kB / 329.7 MB, free: 13.87 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2876, allocations: 1.25 kB / 329.7 MB, free: 13.87 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2876, allocations: 0 / 329.7 MB, free: 13.87 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2877, allocations: 0 / 329.7 MB, free: 13.87 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.2878, allocations: 169.1 kB / 329.9 MB, free: 13.67 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2879, allocations: 7.938 kB / 329.9 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.2879, allocations: 5.125 kB / 329.9 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.2879, allocations: 5.328 kB / 329.9 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.2879, allocations: 0 / 329.9 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2879, allocations: 0 / 329.9 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2879, allocations: 1.531 kB / 329.9 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.2881, allocations: 75.06 kB / 330 MB, free: 13.58 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.2882, allocations: 97.89 kB / 330.1 MB, free: 13.47 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.2882, allocations: 1.344 kB / 330.1 MB, free: 13.47 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.143e-05/0.2883, allocations: 6.203 kB / 330.1 MB, free: 13.46 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.2883, allocations: 4 kB / 330.1 MB, free: 13.46 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.2883, allocations: 5.5 kB / 330.1 MB, free: 13.46 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.2884, allocations: 128.3 kB / 330.2 MB, free: 13.36 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2884, allocations: 0 / 330.2 MB, free: 13.36 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002132/0.2886, allocations: 12.03 kB / 330.2 MB, free: 13.36 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 (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.000426/0.2891, allocations: 178.8 kB / 330.4 MB, free: 13.21 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.2892, allocations: 16.06 kB / 330.4 MB, free: 13.2 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2892, allocations: 4.062 kB / 330.4 MB, free: 13.2 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.247e-05/0.2892, allocations: 3.156 kB / 330.4 MB, free: 13.2 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.2894, allocations: 16.39 kB / 330.4 MB, free: 13.18 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/0.2899, allocations: 267.3 kB / 330.7 MB, free: 12.98 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.2903, allocations: 0.709 MB / 331.4 MB, free: 12.27 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.584e-05/0.2904, allocations: 10.86 kB / 331.4 MB, free: 12.26 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.2904, allocations: 12.28 kB / 331.4 MB, free: 12.25 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2904, allocations: 1.344 kB / 331.4 MB, free: 12.25 MB / 270.1 MB Notification: Performance of Templates: time 0.004384/0.2948, allocations: 1.2 MB / 332.6 MB, free: 11.62 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile (rm -f Modelica_3.2.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_3.2.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_3.2.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_3.2.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1)