Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001104/0.001105, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001422/0.001422, allocations: 195.4 kB / 16.14 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.593/1.593, allocations: 205.1 MB / 222 MB, free: 4.781 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.00148/0.00148, allocations: 47.94 kB / 278 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3523, allocations: 46.64 MB / 324.7 MB, free: 1.914 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.002294/0.3546, allocations: 0.5897 MB / 325.3 MB, free: 1.465 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.3571, allocations: 1.813 MB / 327.1 MB, free: 16 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.3571, allocations: 0 / 327.1 MB, free: 16 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.3589, allocations: 122.8 kB / 327.2 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.765e-05/0.359, allocations: 27.06 kB / 327.2 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.3592, allocations: 48.16 kB / 327.3 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.193e-05/0.3593, allocations: 40.88 kB / 327.3 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.3593, allocations: 2.188 kB / 327.3 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.372e-05/0.3594, allocations: 32 kB / 327.3 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.3595, allocations: 29.72 kB / 327.4 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.3596, allocations: 2.031 kB / 327.4 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.25e-05/0.3596, allocations: 14.25 kB / 327.4 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.3598, allocations: 63.03 kB / 327.4 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.052e-05/0.3598, allocations: 22.52 kB / 327.5 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.36, allocations: 55.36 kB / 327.5 MB, free: 15.75 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.36, allocations: 4 kB / 327.5 MB, free: 15.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.36, allocations: 4 kB / 327.5 MB, free: 15.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.36, allocations: 0 / 327.5 MB, free: 15.75 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.0005215/0.3606, allocations: 392.9 kB / 327.9 MB, free: 15.33 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.3606, allocations: 8.969 kB / 327.9 MB, free: 15.33 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.3607, allocations: 8.594 kB / 327.9 MB, free: 15.33 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/0.3612, allocations: 319.8 kB / 328.2 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.731e-06/0.3612, allocations: 5.469 kB / 328.2 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.3612, allocations: 1.344 kB / 328.2 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.3614, allocations: 81.39 kB / 328.3 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3614, allocations: 0 / 328.3 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.3614, allocations: 1.125 kB / 328.3 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3614, allocations: 0 / 328.3 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.878e-05/0.3614, allocations: 2.281 kB / 328.3 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.3618, allocations: 178.8 kB / 328.5 MB, free: 14.74 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.375e-05/0.3619, allocations: 22.33 kB / 328.5 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.085e-05/0.3619, allocations: 6.234 kB / 328.5 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.3619, allocations: 5.375 kB / 328.5 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/0.3619, allocations: 61.36 kB / 328.6 MB, free: 14.62 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.362, allocations: 0 / 328.6 MB, free: 14.62 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001641/0.3621, allocations: 48.47 kB / 328.6 MB, free: 14.58 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.3622, allocations: 160.8 kB / 328.8 MB, free: 14.39 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.3624, allocations: 164.4 kB / 329 MB, free: 14.27 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.3624, allocations: 27.14 kB / 329 MB, free: 14.23 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.3625, allocations: 95.03 kB / 329.1 MB, free: 14.14 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.3625, allocations: 5.312 kB / 329.1 MB, free: 14.14 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.3626, allocations: 19.06 kB / 329.1 MB, free: 14.12 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3627, allocations: 320.2 kB / 329.4 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.3628, allocations: 3 kB / 329.4 MB, free: 13.8 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.071e-05/0.3628, allocations: 47.16 kB / 329.5 MB, free: 13.75 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.337e-05/0.3628, allocations: 15.42 kB / 329.5 MB, free: 13.73 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3629, allocations: 0 / 329.5 MB, free: 13.73 MB / 270.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.01e-05/0.3629, allocations: 51.47 kB / 329.5 MB, free: 13.69 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.363, allocations: 5 kB / 329.5 MB, free: 13.69 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.363, allocations: 0 / 329.5 MB, free: 13.69 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.363, allocations: 4.031 kB / 329.5 MB, free: 13.69 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.106e-05/0.363, allocations: 7.688 kB / 329.5 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.363, allocations: 3.938 kB / 329.6 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.145e-05/0.3631, allocations: 6.406 kB / 329.6 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.3631, allocations: 1.281 kB / 329.6 MB, free: 13.68 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.266e-05/0.3632, allocations: 124.7 kB / 329.7 MB, free: 13.56 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.3633, allocations: 8.406 kB / 329.7 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.3633, allocations: 10.06 kB / 329.7 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3633, allocations: 3.984 kB / 329.7 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3633, allocations: 5.219 kB / 329.7 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3633, allocations: 0 / 329.7 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.3635, allocations: 180 kB / 329.9 MB, free: 13.33 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3635, allocations: 0 / 329.9 MB, free: 13.33 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.931e-05/0.3636, allocations: 6.156 kB / 329.9 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3636, allocations: 3.938 kB / 329.9 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3636, allocations: 1.031 kB / 329.9 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3636, allocations: 0 / 329.9 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3636, allocations: 1.062 kB / 329.9 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.3637, allocations: 83.94 kB / 330 MB, free: 13.23 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.3638, allocations: 92.56 kB / 330.1 MB, free: 13.13 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.3638, allocations: 6.156 kB / 330.1 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.788e-05/0.3639, allocations: 2.406 kB / 330.1 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.3639, allocations: 0 / 330.1 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.3639, allocations: 0.9375 kB / 330.1 MB, free: 13.12 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.3641, allocations: 132 kB / 330.2 MB, free: 13.03 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3641, allocations: 1.062 kB / 330.2 MB, free: 13.03 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.3643, allocations: 11.72 kB / 330.2 MB, free: 13.03 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.0004289/0.3647, allocations: 189.3 kB / 330.4 MB, free: 12.86 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 9.301e-05/0.3648, allocations: 12.08 kB / 330.4 MB, free: 12.86 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3648, allocations: 1.375 kB / 330.4 MB, free: 12.86 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 9.568e-06/0.3649, allocations: 2.438 kB / 330.4 MB, free: 12.86 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.365, allocations: 12.09 kB / 330.4 MB, free: 12.85 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/0.3655, allocations: 274.4 kB / 330.7 MB, free: 12.63 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.3658, allocations: 0.7098 MB / 331.4 MB, free: 11.92 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.316e-05/0.3658, allocations: 6.844 kB / 331.4 MB, free: 11.92 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.3659, allocations: 16.36 kB / 331.4 MB, free: 11.91 MB / 270.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3659, allocations: 5.125 kB / 331.4 MB, free: 11.91 MB / 270.1 MB Notification: Performance of Templates: time 0.004504/0.3704, allocations: 1.18 MB / 332.6 MB, free: 11.3 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile (rm -f Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1)