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.0008108/0.0008108, 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.0085/0.0085, allocations: 170.1 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.563/1.563, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.0004634/0.0004634, allocations: 8 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2789, allocations: 47.59 MB / 327 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001212/0.2801, allocations: 0.9215 MB / 327.9 MB, free: 0.6797 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.003117/0.2833, allocations: 1.999 MB / 329.9 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.777e-05/0.2833, allocations: 0 / 329.9 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.2833, allocations: 1 kB / 329.9 MB, free: 15.16 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.001313/0.2847, allocations: 325 kB / 330.3 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.909e-05/0.2847, allocations: 13.42 kB / 330.3 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 4.911e-05/0.2848, allocations: 8.219 kB / 330.3 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.094e-05/0.2848, allocations: 5.234 kB / 330.3 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.706e-05/0.2849, allocations: 2.312 kB / 330.3 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.285, allocations: 13.12 kB / 330.3 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.285, allocations: 3.984 kB / 330.3 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007445/0.2858, allocations: 417 kB / 330.7 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.2858, allocations: 5.078 kB / 330.7 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.2858, allocations: 32.06 kB / 330.7 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005728/0.2864, allocations: 339 kB / 331.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2864, allocations: 0 / 331.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2864, allocations: 4 kB / 331.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.2865, allocations: 1.031 kB / 331.1 MB, free: 14.48 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.000469/0.2869, allocations: 393.4 kB / 331.5 MB, free: 14.08 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.287, allocations: 8.938 kB / 331.5 MB, free: 14.08 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.119e-05/0.2871, allocations: 85.2 kB / 331.6 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.2873, allocations: 243.1 kB / 331.8 MB, free: 13.72 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.708e-05/0.2873, allocations: 152 kB / 331.9 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.632e-05/0.2874, allocations: 158.7 kB / 332.1 MB, free: 13.42 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.138e-05/0.2875, allocations: 106.2 kB / 332.2 MB, free: 13.31 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/0.2875, allocations: 75.28 kB / 332.3 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.785e-05/0.2876, allocations: 150.6 kB / 332.4 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.155e-05/0.2876, allocations: 155.6 kB / 332.6 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.725e-05/0.2877, allocations: 158.6 kB / 332.7 MB, free: 12.78 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.288, allocations: 441.6 kB / 333.2 MB, free: 12.3 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.489e-05/0.2881, allocations: 173.1 kB / 333.3 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/0.2881, allocations: 93.53 kB / 333.4 MB, free: 12.03 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.2882, allocations: 75.28 kB / 333.5 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.2883, allocations: 47.81 kB / 333.5 MB, free: 11.9 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 2.696e-06/0.2883, allocations: 0 / 333.5 MB, free: 11.9 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001442/0.2885, allocations: 43.41 kB / 333.6 MB, free: 11.86 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.2885, allocations: 55.34 kB / 333.6 MB, free: 11.79 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.025e-05/0.2886, allocations: 95.73 kB / 333.7 MB, free: 11.69 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.2886, allocations: 25.7 kB / 333.8 MB, free: 11.66 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.2887, allocations: 89.64 kB / 333.8 MB, free: 11.57 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.2887, allocations: 1.469 kB / 333.8 MB, free: 11.57 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.2887, allocations: 9.719 kB / 333.9 MB, free: 11.55 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2889, allocations: 316.3 kB / 334.2 MB, free: 11.24 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-06/0.2889, allocations: 0 / 334.2 MB, free: 11.24 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-06/0.2889, allocations: 1.438 kB / 334.2 MB, free: 11.24 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.58e-05/0.2889, allocations: 11.8 kB / 334.2 MB, free: 11.23 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2889, allocations: 0 / 334.2 MB, free: 11.23 MB / 270.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.227e-05/0.289, allocations: 47.3 kB / 334.2 MB, free: 11.18 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.289, allocations: 4.406 kB / 334.2 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.289, allocations: 0 / 334.2 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.289, allocations: 5.438 kB / 334.2 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.311e-05/0.2891, allocations: 3.984 kB / 334.2 MB, free: 11.17 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2891, allocations: 0 / 334.2 MB, free: 11.17 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/0.2891, allocations: 1.594 kB / 334.2 MB, free: 11.17 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.2891, allocations: 0 / 334.2 MB, free: 11.17 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 9.722e-05/0.2892, allocations: 111.1 kB / 334.3 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.705e-06/0.2892, allocations: 5.156 kB / 334.3 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.2893, allocations: 4.375 kB / 334.4 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2893, allocations: 1.438 kB / 334.4 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.2893, allocations: 4 kB / 334.4 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2893, allocations: 0 / 334.4 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.2894, allocations: 160.7 kB / 334.5 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2894, allocations: 0 / 334.5 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-06/0.2894, allocations: 0 / 334.5 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2894, allocations: 1.5 kB / 334.5 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.2895, allocations: 0 / 334.5 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2895, allocations: 7.984 kB / 334.5 MB, free: 10.83 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2895, allocations: 1.312 kB / 334.5 MB, free: 10.83 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.286e-05/0.2895, allocations: 62.42 kB / 334.6 MB, free: 10.75 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.2896, allocations: 82.31 kB / 334.7 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.2896, allocations: 1.125 kB / 334.7 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.196e-05/0.2896, allocations: 0 / 334.7 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.008e-05/0.2896, allocations: 1.094 kB / 334.7 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.2897, allocations: 5.188 kB / 334.7 MB, free: 10.65 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.104e-05/0.2897, allocations: 82.66 kB / 334.8 MB, free: 10.57 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2897, allocations: 1.031 kB / 334.8 MB, free: 10.57 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004304/0.2902, allocations: 127 kB / 334.9 MB, free: 10.54 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.001053/0.2912, allocations: 470.5 kB / 335.3 MB, free: 10.24 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 7.188e-05/0.2913, allocations: 7.25 kB / 335.3 MB, free: 10.23 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2913, allocations: 0.9688 kB / 335.3 MB, free: 10.23 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 1.059e-05/0.2913, allocations: 14.17 kB / 335.4 MB, free: 10.22 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.2915, allocations: 4.969 kB / 335.4 MB, free: 10.22 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.2918, allocations: 114.5 kB / 335.5 MB, free: 10.1 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.292, allocations: 0.6724 MB / 336.1 MB, free: 9.402 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.303e-05/0.292, allocations: 9.141 kB / 336.2 MB, free: 9.398 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.2921, allocations: 14.62 kB / 336.2 MB, free: 9.387 MB / 270.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2921, allocations: 1.125 kB / 336.2 MB, free: 9.387 MB / 270.1 MB Notification: Performance of Templates: time 0.006304/0.2984, allocations: 2.757 MB / 338.9 MB, free: 7.059 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)