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.0008495/0.0008496, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006822/0.006822, allocations: 171.8 kB / 16.27 MB, free: 6.652 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.626/1.626, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.000469/0.000469, allocations: 11.98 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2513, allocations: 47.59 MB / 327 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0006296/0.252, allocations: 266 kB / 327.3 MB, free: 1.195 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.254, allocations: 1.803 MB / 329.1 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.772e-05/0.254, allocations: 0 / 329.1 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001781/0.2558, allocations: 122.2 kB / 329.2 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.274e-05/0.2559, allocations: 29.53 kB / 329.2 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.2561, allocations: 38.33 kB / 329.3 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.538e-05/0.2562, allocations: 49.89 kB / 329.3 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.2562, allocations: 7.344 kB / 329.3 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.321e-05/0.2563, allocations: 19.17 kB / 329.3 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.2564, allocations: 38.72 kB / 329.4 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.2564, allocations: 1.031 kB / 329.4 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.019e-05/0.2565, allocations: 21.77 kB / 329.4 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.2566, allocations: 47.48 kB / 329.4 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.856e-05/0.2567, allocations: 48.16 kB / 329.5 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.2568, allocations: 55.16 kB / 329.5 MB, free: 15.46 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2568, allocations: 0 / 329.5 MB, free: 15.46 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2568, allocations: 4 kB / 329.6 MB, free: 15.46 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.2568, allocations: 1.25 kB / 329.6 MB, free: 15.46 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.0004129/0.2573, allocations: 384.3 kB / 329.9 MB, free: 15.05 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2573, allocations: 9.469 kB / 329.9 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.2574, allocations: 8.375 kB / 329.9 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005181/0.2579, allocations: 319.3 kB / 330.3 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.2579, allocations: 384 / 330.3 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.2579, allocations: 5.594 kB / 330.3 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.2581, allocations: 81.98 kB / 330.3 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2581, allocations: 0 / 330.3 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.2581, allocations: 1.438 kB / 330.3 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.2581, allocations: 0 / 330.3 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.8e-05/0.2581, allocations: 2.938 kB / 330.3 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.2585, allocations: 185.6 kB / 330.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.075e-05/0.2585, allocations: 22.11 kB / 330.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.2585, allocations: 7.297 kB / 330.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.2586, allocations: 0 / 330.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.2586, allocations: 65.42 kB / 330.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.2586, allocations: 0 / 330.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001389/0.2588, allocations: 48.94 kB / 330.7 MB, free: 14.29 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001714/0.2589, allocations: 156.5 kB / 330.8 MB, free: 14.1 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.2591, allocations: 169.4 kB / 331 MB, free: 13.97 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.2592, allocations: 31.17 kB / 331 MB, free: 13.94 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.2593, allocations: 91.09 kB / 331.1 MB, free: 13.85 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.2593, allocations: 5.375 kB / 331.1 MB, free: 13.84 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.2593, allocations: 13.72 kB / 331.1 MB, free: 13.82 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.2595, allocations: 316.2 kB / 331.4 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.2595, allocations: 6.719 kB / 331.4 MB, free: 13.5 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.586e-05/0.2596, allocations: 43.19 kB / 331.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/0.2596, allocations: 15.77 kB / 331.5 MB, free: 13.45 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2596, allocations: 0 / 331.5 MB, free: 13.45 MB / 270.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.521e-05/0.2597, allocations: 50.39 kB / 331.5 MB, free: 13.4 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2597, allocations: 5.219 kB / 331.6 MB, free: 13.4 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2598, allocations: 9.141 kB / 331.6 MB, free: 13.39 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2598, allocations: 0 / 331.6 MB, free: 13.39 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.949e-05/0.2598, allocations: 3.438 kB / 331.6 MB, free: 13.39 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2598, allocations: 4.094 kB / 331.6 MB, free: 13.39 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.413e-05/0.2599, allocations: 6.094 kB / 331.6 MB, free: 13.39 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.2599, allocations: 1.031 kB / 331.6 MB, free: 13.39 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 0.0001031/0.26, allocations: 125.8 kB / 331.7 MB, free: 13.27 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.2601, allocations: 11.34 kB / 331.7 MB, free: 13.26 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.2601, allocations: 9.75 kB / 331.7 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.2601, allocations: 1.188 kB / 331.7 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.2601, allocations: 0 / 331.7 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.2601, allocations: 7.969 kB / 331.7 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.2603, allocations: 180.5 kB / 331.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2603, allocations: 1 kB / 331.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.2604, allocations: 5.031 kB / 331.9 MB, free: 13.03 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2604, allocations: 1.375 kB / 331.9 MB, free: 13.03 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.2604, allocations: 0 / 331.9 MB, free: 13.03 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2604, allocations: 0 / 331.9 MB, free: 13.03 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.2604, allocations: 4.906 kB / 331.9 MB, free: 13.03 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.2605, allocations: 71.88 kB / 332 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.2606, allocations: 94.31 kB / 332.1 MB, free: 12.85 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.2606, allocations: 1.906 kB / 332.1 MB, free: 12.85 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.05e-05/0.2607, allocations: 6.375 kB / 332.1 MB, free: 12.84 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.149e-05/0.2607, allocations: 1.062 kB / 332.1 MB, free: 12.84 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.2607, allocations: 0 / 332.1 MB, free: 12.84 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.2608, allocations: 132.9 kB / 332.2 MB, free: 12.75 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2608, allocations: 0 / 332.2 MB, free: 12.75 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002086/0.2611, allocations: 12.12 kB / 332.2 MB, free: 12.75 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.0003839/0.2614, allocations: 184.8 kB / 332.4 MB, free: 12.58 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 8.924e-05/0.2615, allocations: 17.09 kB / 332.4 MB, free: 12.57 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2616, allocations: 0 / 332.4 MB, free: 12.57 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.016e-05/0.2616, allocations: 3.688 kB / 332.4 MB, free: 12.57 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.2617, allocations: 11.38 kB / 332.4 MB, free: 12.57 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005214/0.2623, allocations: 275.2 kB / 332.7 MB, free: 12.34 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.2627, allocations: 0.7095 MB / 333.4 MB, free: 11.63 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.892e-05/0.2627, allocations: 7.594 kB / 333.4 MB, free: 11.63 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.2628, allocations: 12.66 kB / 333.4 MB, free: 11.62 MB / 270.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2628, allocations: 0 / 333.4 MB, free: 11.62 MB / 270.1 MB Notification: Performance of Templates: time 0.004046/0.2668, allocations: 1.187 MB / 334.6 MB, free: 11 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)