Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.0007471/0.0007472, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007818/0.0007818, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0005588/0.0005588, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3057, allocations: 47.59 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001216/0.307, allocations: 0.9157 MB / 327.4 MB, free: 0.6445 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002821/0.3098, allocations: 1.851 MB / 329.2 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.3099, allocations: 5.406 kB / 329.2 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.3099, allocations: 0 / 329.2 MB, free: 15.21 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.001174/0.3111, allocations: 322.8 kB / 329.6 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.891e-05/0.3111, allocations: 9.312 kB / 329.6 MB, free: 15 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.015e-05/0.3112, allocations: 11.77 kB / 329.6 MB, free: 15 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.932e-05/0.3113, allocations: 5.359 kB / 329.6 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.98e-05/0.3113, allocations: 2.531 kB / 329.6 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.3114, allocations: 7.75 kB / 329.6 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.3114, allocations: 1.375 kB / 329.6 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007178/0.3122, allocations: 391.5 kB / 330 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.3122, allocations: 5.406 kB / 330 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.3122, allocations: 33.64 kB / 330 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.3126, allocations: 215.6 kB / 330.2 MB, free: 14.64 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3126, allocations: 3.938 kB / 330.2 MB, free: 14.64 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3126, allocations: 1.375 kB / 330.2 MB, free: 14.64 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.3126, allocations: 0 / 330.2 MB, free: 14.64 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.0004377/0.3131, allocations: 404 kB / 330.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3131, allocations: 8.969 kB / 330.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.3132, allocations: 76.41 kB / 330.7 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.3134, allocations: 251 kB / 331 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-05/0.3134, allocations: 154.5 kB / 331.1 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.826e-05/0.3135, allocations: 155.8 kB / 331.3 MB, free: 13.56 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.315e-05/0.3136, allocations: 101 kB / 331.4 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.3136, allocations: 75.28 kB / 331.4 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.219e-05/0.3137, allocations: 159.9 kB / 331.6 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.693e-05/0.3137, allocations: 154.6 kB / 331.7 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.422e-05/0.3138, allocations: 152 kB / 331.9 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.3141, allocations: 456.2 kB / 332.3 MB, free: 12.43 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.223e-05/0.3142, allocations: 165.1 kB / 332.5 MB, free: 12.26 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.294e-05/0.3142, allocations: 89.62 kB / 332.6 MB, free: 12.17 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.3143, allocations: 75.28 kB / 332.6 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.3144, allocations: 43.98 kB / 332.7 MB, free: 12.05 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 2.645e-06/0.3144, allocations: 0 / 332.7 MB, free: 12.05 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001423/0.3145, allocations: 38.53 kB / 332.7 MB, free: 12.01 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.3146, allocations: 55.53 kB / 332.8 MB, free: 11.94 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.773e-05/0.3147, allocations: 96.67 kB / 332.9 MB, free: 11.84 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.3147, allocations: 33.69 kB / 332.9 MB, free: 11.8 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.3148, allocations: 81.36 kB / 333 MB, free: 11.72 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.3148, allocations: 3.984 kB / 333 MB, free: 11.72 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-06/0.3148, allocations: 1.375 kB / 333 MB, free: 11.72 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3149, allocations: 310.8 kB / 333.3 MB, free: 11.41 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-06/0.3149, allocations: 1.25 kB / 333.3 MB, free: 11.41 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-06/0.3149, allocations: 5.062 kB / 333.3 MB, free: 11.4 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.489e-05/0.3149, allocations: 5.094 kB / 333.3 MB, free: 11.4 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3149, allocations: 0 / 333.3 MB, free: 11.4 MB / 270.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.858e-05/0.315, allocations: 39.16 kB / 333.3 MB, free: 11.36 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.315, allocations: 9.234 kB / 333.4 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.315, allocations: 0 / 333.4 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3151, allocations: 1.312 kB / 333.4 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.508e-05/0.3151, allocations: 0 / 333.4 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.45e-05/0.3151, allocations: 1.312 kB / 333.4 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/0.3151, allocations: 3.938 kB / 333.4 MB, free: 11.35 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.3151, allocations: 4.094 kB / 333.4 MB, free: 11.35 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.349e-05/0.3152, allocations: 108.5 kB / 333.5 MB, free: 11.23 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.3153, allocations: 9.547 kB / 333.5 MB, free: 11.23 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.3153, allocations: 3.125 kB / 333.5 MB, free: 11.22 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3153, allocations: 5.203 kB / 333.5 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.3153, allocations: 4 kB / 333.5 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3153, allocations: 0 / 333.5 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.3155, allocations: 148.4 kB / 333.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3155, allocations: 0 / 333.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.766e-06/0.3155, allocations: 9.109 kB / 333.6 MB, free: 11.01 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3155, allocations: 3.938 kB / 333.7 MB, free: 11.01 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.3155, allocations: 5.266 kB / 333.7 MB, free: 11 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3155, allocations: 0 / 333.7 MB, free: 11 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3155, allocations: 0 / 333.7 MB, free: 11 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.16e-05/0.3156, allocations: 56.05 kB / 333.7 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.3157, allocations: 82.12 kB / 333.8 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.3157, allocations: 1 kB / 333.8 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.342e-05/0.3157, allocations: 11.92 kB / 333.8 MB, free: 10.83 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/0.3157, allocations: 0.9688 kB / 333.8 MB, free: 10.83 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.3157, allocations: 0 / 333.8 MB, free: 10.83 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.646e-05/0.3158, allocations: 83.62 kB / 333.9 MB, free: 10.75 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3158, allocations: 0 / 333.9 MB, free: 10.75 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004874/0.3163, allocations: 127 kB / 334 MB, free: 10.71 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 (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.001133/0.3174, allocations: 467.5 kB / 334.5 MB, free: 10.42 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 8.214e-05/0.3175, allocations: 19.2 kB / 334.5 MB, free: 10.4 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3175, allocations: 1.188 kB / 334.5 MB, free: 10.4 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 6.242e-06/0.3175, allocations: 1.125 kB / 334.5 MB, free: 10.4 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.3177, allocations: 6.188 kB / 334.5 MB, free: 10.4 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.318, allocations: 105.9 kB / 334.6 MB, free: 10.29 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.3183, allocations: 0.6766 MB / 335.3 MB, free: 9.586 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.347e-05/0.3183, allocations: 12.2 kB / 335.3 MB, free: 9.578 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.3184, allocations: 15.89 kB / 335.3 MB, free: 9.566 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3184, allocations: 0 / 335.3 MB, free: 9.566 MB / 270.1 MB Notification: Performance of Templates: time 0.007083/0.3254, allocations: 2.728 MB / 338 MB, free: 7.531 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.makefile (rm -f Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1)