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.0009348/0.0009349, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.466/1.466, allocations: 194.3 MB / 203.1 MB, free: 9.328 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001717/0.001717, allocations: 121.8 kB / 248.1 MB, free: 6.324 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.414e-05/1.416e-05, allocations: 4 kB / 298.1 MB, free: 8.258 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1036, allocations: 44.49 MB / 342.6 MB, free: 11.66 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3613/0.4649, allocations: 69.04 MB / 411.6 MB, free: 26.28 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.4652, allocations: 61.92 kB / 411.7 MB, free: 26.25 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.002207/0.4674, allocations: 0.8176 MB / 412.5 MB, free: 25.67 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4674, allocations: 1.094 kB / 412.5 MB, free: 25.67 MB / 315.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.4674, allocations: 0 / 412.5 MB, free: 25.67 MB / 315.1 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.0002736/0.4677, allocations: 332.5 kB / 412.8 MB, free: 25.31 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.4678, allocations: 10.69 kB / 412.8 MB, free: 25.3 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.4678, allocations: 9.625 kB / 412.8 MB, free: 25.3 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.884e-05/0.4679, allocations: 164.3 kB / 413 MB, free: 25.1 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.468, allocations: 1.781 kB / 413 MB, free: 25.1 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.468, allocations: 4.766 kB / 413 MB, free: 25.1 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001049/0.4681, allocations: 39.81 kB / 413 MB, free: 25.07 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.4683, allocations: 103 kB / 413.1 MB, free: 24.97 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4683, allocations: 0.5625 kB / 413.1 MB, free: 24.97 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.4683, allocations: 1.172 kB / 413.1 MB, free: 24.97 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4683, allocations: 0 / 413.1 MB, free: 24.97 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.4685, allocations: 160.5 kB / 413.3 MB, free: 24.78 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.4686, allocations: 112.6 kB / 413.4 MB, free: 24.64 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.28e-05/0.4687, allocations: 62.06 kB / 413.5 MB, free: 24.58 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.4687, allocations: 4 kB / 413.5 MB, free: 24.58 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.4688, allocations: 40.14 kB / 413.5 MB, free: 24.54 MB / 315.1 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.4688, allocations: 0 / 413.5 MB, free: 24.54 MB / 315.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003809/0.4692, allocations: 164.5 kB / 413.7 MB, free: 24.4 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.4693, allocations: 136.6 kB / 413.8 MB, free: 24.23 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.318e-05/0.4693, allocations: 103.8 kB / 413.9 MB, free: 24.13 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.4694, allocations: 25.7 kB / 413.9 MB, free: 24.1 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.182e-05/0.4694, allocations: 85.36 kB / 414 MB, free: 24.02 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.4694, allocations: 7.906 kB / 414 MB, free: 24.01 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/0.4695, allocations: 0 / 414 MB, free: 24.01 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 6.779e-05/0.4695, allocations: 319.3 kB / 414.3 MB, free: 23.7 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.497e-05/0.4696, allocations: 31.78 kB / 414.4 MB, free: 23.67 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-05/0.4697, allocations: 65.8 kB / 414.4 MB, free: 23.61 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.077e-05/0.4698, allocations: 39.02 kB / 414.5 MB, free: 23.58 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4698, allocations: 0.9375 kB / 414.5 MB, free: 23.58 MB / 315.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002195/0.47, allocations: 119.3 kB / 414.6 MB, free: 23.47 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4701, allocations: 12.08 kB / 414.6 MB, free: 23.46 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4701, allocations: 1.688 kB / 414.6 MB, free: 23.46 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.4701, allocations: 5.875 kB / 414.6 MB, free: 23.46 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.603e-05/0.4702, allocations: 3.938 kB / 414.6 MB, free: 23.45 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.4702, allocations: 4 kB / 414.6 MB, free: 23.45 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.406e-05/0.4702, allocations: 1.359 kB / 414.6 MB, free: 23.45 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.4703, allocations: 11.12 kB / 414.6 MB, free: 23.44 MB / 315.1 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 () * 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 7.208e-05/0.4703, allocations: 106.6 kB / 414.7 MB, free: 23.33 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.4704, allocations: 5.031 kB / 414.7 MB, free: 23.33 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.107e-05/0.4704, allocations: 17.33 kB / 414.7 MB, free: 23.32 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4704, allocations: 0 / 414.7 MB, free: 23.32 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4704, allocations: 3.281 kB / 414.7 MB, free: 23.32 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4704, allocations: 4 kB / 414.7 MB, free: 23.31 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.869e-05/0.4705, allocations: 136.5 kB / 414.9 MB, free: 23.15 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4705, allocations: 4 kB / 414.9 MB, free: 23.15 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.654e-06/0.4706, allocations: 0 / 414.9 MB, free: 23.15 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.4706, allocations: 1.812 kB / 414.9 MB, free: 23.15 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.4706, allocations: 5.594 kB / 414.9 MB, free: 23.14 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4706, allocations: 0.7031 kB / 414.9 MB, free: 23.14 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.4706, allocations: 9.078 kB / 414.9 MB, free: 23.14 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.4709, allocations: 244.9 kB / 415.1 MB, free: 22.89 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.471, allocations: 81.11 kB / 415.2 MB, free: 22.79 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.471, allocations: 5.641 kB / 415.2 MB, free: 22.79 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.036e-05/0.471, allocations: 0 / 415.2 MB, free: 22.79 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.4711, allocations: 5.031 kB / 415.2 MB, free: 22.79 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.4711, allocations: 9.312 kB / 415.2 MB, free: 22.78 MB / 315.1 MB Notification: Performance of sorting global known variables: time 3.543e-05/0.4711, allocations: 89.25 kB / 415.3 MB, free: 22.7 MB / 315.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4712, allocations: 0 / 415.3 MB, free: 22.7 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0003287/0.4715, allocations: 13.02 kB / 415.3 MB, free: 22.68 MB / 315.1 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 () * 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.0003595/0.4719, allocations: 137.8 kB / 415.5 MB, free: 22.56 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.472, allocations: 55.92 kB / 415.5 MB, free: 22.52 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.472, allocations: 0 / 415.5 MB, free: 22.52 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 5.426e-05/0.4721, allocations: 37.62 kB / 415.6 MB, free: 22.48 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.4722, allocations: 6.25 kB / 415.6 MB, free: 22.48 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.4725, allocations: 118.2 kB / 415.7 MB, free: 22.35 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.4726, allocations: 0.683 MB / 416.4 MB, free: 21.65 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 1.53e-05/0.4727, allocations: 4 kB / 416.4 MB, free: 21.64 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.4727, allocations: 17.12 kB / 416.4 MB, free: 21.64 MB / 315.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4727, allocations: 0 / 416.4 MB, free: 21.64 MB / 315.1 MB Notification: Performance of Templates: time 0.003126/0.4759, allocations: 0.5361 MB / 416.9 MB, free: 21.27 MB / 315.1 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)