Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile") translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001046/0.001046, allocations: 179.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.342/1.342, allocations: 194.5 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001678/0.001677, allocations: 112.6 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003515, allocations: 12 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09771/0.09808, allocations: 44.49 MB / 355 MB, free: 2.363 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2597/0.3579, allocations: 69.79 MB / 424.8 MB, free: 19.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.3581, allocations: 60.8 kB / 424.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001606/0.3598, allocations: 0.8221 MB / 425.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3598, allocations: 0 / 425.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3598, allocations: 0 / 425.7 MB, free: 18.97 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002368/0.36, allocations: 339.9 kB / 426 MB, free: 18.6 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.3601, allocations: 11.12 kB / 426.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.3601, allocations: 6.688 kB / 426.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.607e-05/0.3602, allocations: 166.9 kB / 426.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3602, allocations: 4 kB / 426.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.3602, allocations: 3.281 kB / 426.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.3604, allocations: 109.3 kB / 426.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.3604, allocations: 0 / 426.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3604, allocations: 1.312 kB / 426.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.3604, allocations: 5.344 kB / 426.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.083e-05/0.3605, allocations: 39.91 kB / 426.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/0.3606, allocations: 184.9 kB / 426.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.973e-05/0.3607, allocations: 112.4 kB / 426.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.714e-06/0.3607, allocations: 0 / 426.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.3607, allocations: 43.62 kB / 426.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.3607, allocations: 3.062 kB / 426.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002857/0.361, allocations: 207.3 kB / 426.9 MB, free: 17.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.3611, allocations: 133.4 kB / 427.1 MB, free: 17.44 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.173e-05/0.3611, allocations: 102.4 kB / 427.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.3612, allocations: 34.72 kB / 427.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.078e-05/0.3612, allocations: 84.14 kB / 427.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.3612, allocations: 11.33 kB / 427.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.3612, allocations: 0 / 427.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.567e-05/0.3613, allocations: 320 kB / 427.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-05/0.3613, allocations: 35.97 kB / 427.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.424e-05/0.3614, allocations: 58.91 kB / 427.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.998e-05/0.3614, allocations: 43.59 kB / 427.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3614, allocations: 3.938 kB / 427.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001312/0.3616, allocations: 137.1 kB / 427.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.3616, allocations: 4 kB / 427.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3616, allocations: 0 / 427.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3616, allocations: 4 kB / 427.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.894e-05/0.3616, allocations: 6.156 kB / 427.9 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.3616, allocations: 0 / 427.9 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.3617, allocations: 0 / 427.9 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.3617, allocations: 8.703 kB / 427.9 MB, free: 16.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (success4,success3,success2,success1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.116e-05/0.3618, allocations: 129.5 kB / 428 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.3618, allocations: 4.578 kB / 428 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.494e-05/0.3618, allocations: 11.53 kB / 428 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3618, allocations: 0 / 428 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3618, allocations: 7.984 kB / 428 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3618, allocations: 0 / 428 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.379e-05/0.3619, allocations: 157.1 kB / 428.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3619, allocations: 5.25 kB / 428.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.3619, allocations: 0 / 428.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3619, allocations: 6.484 kB / 428.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3619, allocations: 7.938 kB / 428.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3619, allocations: 6.156 kB / 428.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3619, allocations: 0 / 428.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.3621, allocations: 242.3 kB / 428.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.3621, allocations: 85.02 kB / 428.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.3622, allocations: 11.36 kB / 428.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.737e-05/0.3622, allocations: 0 / 428.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.3622, allocations: 4 kB / 428.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.3622, allocations: 4 kB / 428.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.615e-05/0.3623, allocations: 94.83 kB / 428.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3623, allocations: 0 / 428.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001781/0.3624, allocations: 8 kB / 428.7 MB, free: 15.74 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (success4,success3,success2,success1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002251/0.3627, allocations: 133.5 kB / 428.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.959e-05/0.3628, allocations: 67.34 kB / 428.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3628, allocations: 0 / 428.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.308e-05/0.3628, allocations: 33.33 kB / 428.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.009e-05/0.3629, allocations: 11.05 kB / 428.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001896/0.3631, allocations: 149.9 kB / 429 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.3632, allocations: 0.6887 MB / 429.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.056e-05/0.3633, allocations: 0 / 429.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.3633, allocations: 15.42 kB / 429.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3633, allocations: 3.938 kB / 429.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of Templates: time 0.002049/0.3653, allocations: 0.5552 MB / 430.3 MB, free: 14.09 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.makefile (rm -f Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; mkfifo Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe >> ../files/Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.sim & ./Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe 2>&1)