Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel.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.readRealParameterModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, 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.001759/0.001759, allocations: 194.5 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.501/1.501, allocations: 205.1 MB / 222 MB, free: 4.773 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.001112/0.001112, allocations: 43.94 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3205, allocations: 46.63 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002477/0.323, allocations: 1.255 MB / 325.9 MB, free: 0.9375 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002857/0.3259, allocations: 2.033 MB / 328 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.84e-05/0.3259, allocations: 4 kB / 328 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.79e-05/0.3259, allocations: 0 / 328 MB, free: 15.38 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Examples.mo:279:3-372:24:writable] Warning: Pure function ‘Modelica.Utilities.Examples.readRealParameter‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. Notification: Performance of NFTyping.typeBindings: time 0.0009415/0.3269, allocations: 325.7 kB / 328.3 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.48e-05/0.3269, allocations: 9.078 kB / 328.3 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 3.866e-05/0.3269, allocations: 8.312 kB / 328.3 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.327, allocations: 1.344 kB / 328.3 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.338e-05/0.327, allocations: 2.75 kB / 328.3 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.293e-05/0.3271, allocations: 12.11 kB / 328.3 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.247e-06/0.3271, allocations: 1.219 kB / 328.3 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006052/0.3277, allocations: 428.1 kB / 328.7 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.3278, allocations: 5.094 kB / 328.7 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.3278, allocations: 10.09 kB / 328.7 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004736/0.3283, allocations: 327 kB / 329.1 MB, free: 14.75 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3283, allocations: 5.047 kB / 329.1 MB, free: 14.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3283, allocations: 0 / 329.1 MB, free: 14.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.3283, allocations: 0 / 329.1 MB, free: 14.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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004515/0.3288, allocations: 399.9 kB / 329.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3288, allocations: 12.44 kB / 329.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.298e-05/0.3289, allocations: 85.27 kB / 329.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.3291, allocations: 247.5 kB / 329.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.42e-05/0.3291, allocations: 156 kB / 329.9 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.838e-05/0.3292, allocations: 154.7 kB / 330.1 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.431e-05/0.3293, allocations: 106.1 kB / 330.2 MB, free: 13.56 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.3293, allocations: 75.28 kB / 330.3 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/0.3294, allocations: 151.7 kB / 330.4 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.207e-05/0.3294, allocations: 158.5 kB / 330.6 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.822e-05/0.3295, allocations: 151.7 kB / 330.7 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.3298, allocations: 448.2 kB / 331.2 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.962e-05/0.3298, allocations: 174.1 kB / 331.3 MB, free: 12.37 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.3299, allocations: 88.08 kB / 331.4 MB, free: 12.28 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.3299, allocations: 75.28 kB / 331.5 MB, free: 12.21 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.3301, allocations: 48.19 kB / 331.5 MB, free: 12.15 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 2.023e-06/0.3301, allocations: 0 / 331.5 MB, free: 12.15 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001344/0.3302, allocations: 39.22 kB / 331.6 MB, free: 12.11 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.3303, allocations: 55.53 kB / 331.6 MB, free: 12.05 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.914e-05/0.3304, allocations: 100.9 kB / 331.7 MB, free: 11.95 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.3304, allocations: 25.7 kB / 331.8 MB, free: 11.91 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.3305, allocations: 81.42 kB / 331.8 MB, free: 11.83 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.3305, allocations: 0 / 331.8 MB, free: 11.83 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.3305, allocations: 24.02 kB / 331.9 MB, free: 11.8 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3306, allocations: 312 kB / 332.2 MB, free: 11.49 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-06/0.3306, allocations: 0 / 332.2 MB, free: 11.49 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-06/0.3306, allocations: 5.25 kB / 332.2 MB, free: 11.49 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.67e-05/0.3307, allocations: 7.266 kB / 332.2 MB, free: 11.48 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3307, allocations: 1.188 kB / 332.2 MB, free: 11.48 MB / 270.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.379e-05/0.3307, allocations: 46.02 kB / 332.2 MB, free: 11.43 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3308, allocations: 5.844 kB / 332.2 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3308, allocations: 3.984 kB / 332.2 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3308, allocations: 0 / 332.2 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.944e-05/0.3308, allocations: 1.062 kB / 332.2 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3308, allocations: 0 / 332.2 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.677e-05/0.3308, allocations: 5.344 kB / 332.2 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.3309, allocations: 0 / 332.2 MB, free: 11.43 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.773e-05/0.3309, allocations: 112 kB / 332.3 MB, free: 11.31 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.3309, allocations: 1.375 kB / 332.4 MB, free: 11.31 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.676e-05/0.331, allocations: 4.344 kB / 332.4 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.331, allocations: 0 / 332.4 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.331, allocations: 4 kB / 332.4 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.331, allocations: 5.172 kB / 332.4 MB, free: 11.29 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.3311, allocations: 155.8 kB / 332.5 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3311, allocations: 4 kB / 332.5 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-06/0.3312, allocations: 1.25 kB / 332.5 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.3312, allocations: 0 / 332.5 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-06/0.3312, allocations: 3.984 kB / 332.5 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3312, allocations: 1.125 kB / 332.5 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3312, allocations: 0 / 332.5 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.995e-05/0.3313, allocations: 59.95 kB / 332.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.3313, allocations: 81.11 kB / 332.7 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.3313, allocations: 5.125 kB / 332.7 MB, free: 10.91 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.602e-05/0.3313, allocations: 4.984 kB / 332.7 MB, free: 10.91 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.131e-05/0.3314, allocations: 0 / 332.7 MB, free: 10.91 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.3314, allocations: 1.156 kB / 332.7 MB, free: 10.91 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.198e-05/0.3314, allocations: 78.75 kB / 332.8 MB, free: 10.84 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3314, allocations: 1.188 kB / 332.8 MB, free: 10.84 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004515/0.3319, allocations: 130.8 kB / 332.9 MB, free: 10.79 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * 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.0009653/0.3328, allocations: 473.2 kB / 333.3 MB, free: 10.5 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 7.609e-05/0.3329, allocations: 6.938 kB / 333.3 MB, free: 10.49 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3329, allocations: 0 / 333.3 MB, free: 10.49 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 7.584e-06/0.333, allocations: 2.281 kB / 333.4 MB, free: 10.49 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.3331, allocations: 9.281 kB / 333.4 MB, free: 10.48 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002608/0.3334, allocations: 106.7 kB / 333.5 MB, free: 10.38 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.3336, allocations: 0.6805 MB / 334.1 MB, free: 9.672 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 2.809e-05/0.3337, allocations: 11.92 kB / 334.2 MB, free: 9.664 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.3337, allocations: 15.81 kB / 334.2 MB, free: 9.652 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3337, allocations: 3.938 kB / 334.2 MB, free: 9.648 MB / 270.1 MB Notification: Performance of Templates: time 0.005979/0.3397, allocations: 2.762 MB / 336.9 MB, free: 7.488 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel.makefile (rm -f Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1)