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.001609/0.001609, allocations: 99.7 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.001639/0.001639, 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.56/1.56, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.0004292/0.0004293, allocations: 16 kB / 278.9 MB, free: 13.09 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2288, allocations: 47.58 MB / 326.4 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0005623/0.2294, allocations: 262.8 kB / 326.7 MB, free: 1.207 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.2316, allocations: 1.757 MB / 328.4 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.212e-05/0.2317, allocations: 4 kB / 328.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006005/0.2323, allocations: 80.45 kB / 328.5 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.617e-05/0.2324, allocations: 27 kB / 328.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.2326, allocations: 45.72 kB / 328.6 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.703e-05/0.2327, allocations: 32.83 kB / 328.6 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.2328, allocations: 7.859 kB / 328.6 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.597e-05/0.2329, allocations: 23.14 kB / 328.7 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.233, allocations: 27.67 kB / 328.7 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.233, allocations: 2.031 kB / 328.7 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.624e-05/0.2331, allocations: 15.64 kB / 328.7 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.306e-05/0.2332, allocations: 46.36 kB / 328.8 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.067e-05/0.2332, allocations: 37.7 kB / 328.8 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.2334, allocations: 90.67 kB / 328.9 MB, free: 15.54 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.2334, allocations: 0 / 328.9 MB, free: 15.54 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2334, allocations: 0 / 328.9 MB, free: 15.54 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.2334, allocations: 0 / 328.9 MB, free: 15.54 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.0008385/0.2343, allocations: 466.5 kB / 329.3 MB, free: 15.08 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.2343, allocations: 13.53 kB / 329.3 MB, free: 15.07 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.624e-05/0.2344, allocations: 9.969 kB / 329.4 MB, free: 15.07 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000821/0.2353, allocations: 382.7 kB / 329.7 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.2353, allocations: 5.359 kB / 329.7 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.2353, allocations: 3.938 kB / 329.7 MB, free: 14.76 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.2355, allocations: 69.08 kB / 329.8 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2355, allocations: 0 / 329.8 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.2355, allocations: 2.156 kB / 329.8 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2355, allocations: 0 / 329.8 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.806e-05/0.2355, allocations: 6.969 kB / 329.8 MB, free: 14.68 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.236, allocations: 228.6 kB / 330 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.172e-05/0.2361, allocations: 21.08 kB / 330.1 MB, free: 14.42 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.2361, allocations: 3.953 kB / 330.1 MB, free: 14.42 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/0.2361, allocations: 65.47 kB / 330.1 MB, free: 14.34 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.2361, allocations: 3.938 kB / 330.1 MB, free: 14.34 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001733/0.2363, allocations: 52.58 kB / 330.2 MB, free: 14.29 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.976e-05/0.2364, allocations: 159.4 kB / 330.3 MB, free: 14.1 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004421/0.2369, allocations: 311.8 kB / 330.6 MB, free: 13.9 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.2369, allocations: 26.86 kB / 330.7 MB, free: 13.87 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.28e-05/0.237, allocations: 112.8 kB / 330.8 MB, free: 13.77 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.237, allocations: 8.125 kB / 330.8 MB, free: 13.76 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.237, allocations: 0 / 330.8 MB, free: 13.76 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2372, allocations: 324 kB / 331.1 MB, free: 13.44 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/0.2372, allocations: 2.312 kB / 331.1 MB, free: 13.44 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-05/0.2373, allocations: 47.19 kB / 331.2 MB, free: 13.39 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.852e-05/0.2373, allocations: 12.64 kB / 331.2 MB, free: 13.38 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2373, allocations: 4 kB / 331.2 MB, free: 13.38 MB / 270.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001001/0.2374, allocations: 56.81 kB / 331.2 MB, free: 13.33 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.2374, allocations: 9.578 kB / 331.2 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2375, allocations: 0 / 331.2 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.2375, allocations: 1.188 kB / 331.2 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.542e-05/0.2375, allocations: 2.562 kB / 331.2 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2375, allocations: 0 / 331.2 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.2377, allocations: 16.66 kB / 331.3 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.2377, allocations: 0.9375 kB / 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.0001271/0.2378, allocations: 139.2 kB / 331.4 MB, free: 13.19 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.2378, allocations: 14.81 kB / 331.4 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.2379, allocations: 15.64 kB / 331.4 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2379, allocations: 1 kB / 331.4 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2379, allocations: 0 / 331.4 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2379, allocations: 5.016 kB / 331.4 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.2382, allocations: 194.8 kB / 331.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.2382, allocations: 3.984 kB / 331.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.684e-05/0.2382, allocations: 6.188 kB / 331.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2382, allocations: 4 kB / 331.6 MB, free: 12.94 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.2382, allocations: 1.094 kB / 331.6 MB, free: 12.94 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.2382, allocations: 7.891 kB / 331.6 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2383, allocations: 1.094 kB / 331.6 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.2384, allocations: 77.59 kB / 331.7 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.2385, allocations: 121.1 kB / 331.8 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.2386, allocations: 5.094 kB / 331.8 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.998e-05/0.2387, allocations: 8.031 kB / 331.8 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.2387, allocations: 7.953 kB / 331.9 MB, free: 12.72 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.2387, allocations: 5.109 kB / 331.9 MB, free: 12.72 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002969/0.239, allocations: 247.9 kB / 332.1 MB, free: 12.57 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.239, allocations: 1.062 kB / 332.1 MB, free: 12.57 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.2393, allocations: 21.59 kB / 332.1 MB, free: 12.56 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.0003961/0.2397, allocations: 165.7 kB / 332.3 MB, free: 12.42 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.2398, allocations: 19.45 kB / 332.3 MB, free: 12.41 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2398, allocations: 1.469 kB / 332.3 MB, free: 12.41 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.023e-05/0.2398, allocations: 2.344 kB / 332.3 MB, free: 12.41 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.24, allocations: 17.16 kB / 332.3 MB, free: 12.4 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.2404, allocations: 237.1 kB / 332.6 MB, free: 12.21 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.2408, allocations: 0.719 MB / 333.3 MB, free: 11.49 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.857e-05/0.2409, allocations: 34.06 kB / 333.3 MB, free: 11.48 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.967e-05/0.2409, allocations: 27.8 kB / 333.3 MB, free: 11.47 MB / 270.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2409, allocations: 0 / 333.3 MB, free: 11.47 MB / 270.1 MB Notification: Performance of Templates: time 0.005389/0.2463, allocations: 1.89 MB / 335.2 MB, free: 10.31 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: