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.001079/0.001079, allocations: 85.94 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.001733/0.001733, 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.754/1.754, 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.0005295/0.0005296, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2642, allocations: 47.59 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.0009933/0.2652, allocations: 0.9114 MB / 327.4 MB, free: 0.6523 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.2675, allocations: 1.855 MB / 329.2 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.632e-05/0.2675, allocations: 3.938 kB / 329.2 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.012e-05/0.2676, 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.0009243/0.2685, allocations: 331.2 kB / 329.6 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.652e-05/0.2685, allocations: 9.516 kB / 329.6 MB, free: 15 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 4.063e-05/0.2686, allocations: 8.219 kB / 329.6 MB, free: 15 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.059e-05/0.2686, allocations: 1.062 kB / 329.6 MB, free: 15 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.092e-05/0.2687, allocations: 2.094 kB / 329.6 MB, free: 15 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.982e-05/0.2688, allocations: 4.688 kB / 329.6 MB, free: 15 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.797e-06/0.2688, allocations: 0 / 329.6 MB, free: 15 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005788/0.2694, allocations: 401 kB / 330 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.2694, allocations: 8 kB / 330 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.2694, allocations: 31.48 kB / 330 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.2697, allocations: 214.9 kB / 330.2 MB, free: 14.64 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2698, allocations: 3.938 kB / 330.2 MB, free: 14.64 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2698, allocations: 1.062 kB / 330.2 MB, free: 14.64 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.2698, 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.0004297/0.2702, allocations: 400.7 kB / 330.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2703, allocations: 9.375 kB / 330.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/0.2703, allocations: 76.34 kB / 330.7 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.2705, allocations: 249.8 kB / 330.9 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.105e-05/0.2706, allocations: 159.8 kB / 331.1 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.2706, allocations: 150.6 kB / 331.2 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.936e-05/0.2707, allocations: 106 kB / 331.4 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.2707, allocations: 75.28 kB / 331.4 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.724e-05/0.2708, allocations: 158.6 kB / 331.6 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.305e-05/0.2709, allocations: 151.8 kB / 331.7 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.31e-05/0.2709, allocations: 150.6 kB / 331.9 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/0.2713, allocations: 456.2 kB / 332.3 MB, free: 12.44 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.597e-05/0.2713, allocations: 170.4 kB / 332.5 MB, free: 12.26 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.104e-05/0.2714, allocations: 84.09 kB / 332.6 MB, free: 12.18 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.2714, allocations: 76.47 kB / 332.6 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.2716, allocations: 43.88 kB / 332.7 MB, free: 12.05 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 4.228e-06/0.2716, allocations: 0 / 332.7 MB, free: 12.05 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.000139/0.2717, allocations: 38.23 kB / 332.7 MB, free: 12.01 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.2718, allocations: 56.72 kB / 332.8 MB, free: 11.95 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.221e-05/0.2719, allocations: 103.2 kB / 332.9 MB, free: 11.84 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.2719, allocations: 26.89 kB / 332.9 MB, free: 11.81 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.117e-05/0.2719, allocations: 84.12 kB / 333 MB, free: 11.72 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.037e-05/0.2719, allocations: 1 kB / 333 MB, free: 11.72 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-06/0.2719, allocations: 3.938 kB / 333 MB, free: 11.72 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.837e-05/0.272, allocations: 312 kB / 333.3 MB, free: 11.41 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-06/0.2721, allocations: 5.109 kB / 333.3 MB, free: 11.4 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-06/0.2721, allocations: 5.125 kB / 333.3 MB, free: 11.4 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.396e-05/0.2721, allocations: 5.094 kB / 333.3 MB, free: 11.39 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2721, allocations: 0 / 333.3 MB, free: 11.39 MB / 270.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.404e-05/0.2722, allocations: 38.88 kB / 333.4 MB, free: 11.36 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2722, allocations: 5.344 kB / 333.4 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2722, allocations: 1 kB / 333.4 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.2722, allocations: 0 / 333.4 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.757e-05/0.2722, allocations: 1.188 kB / 333.4 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2722, allocations: 0 / 333.4 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.364e-05/0.2723, allocations: 8.031 kB / 333.4 MB, free: 11.35 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.2723, allocations: 1.156 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 6.453e-05/0.2723, allocations: 111 kB / 333.5 MB, free: 11.23 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.2724, allocations: 9.016 kB / 333.5 MB, free: 11.22 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.2724, allocations: 4.312 kB / 333.5 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2724, allocations: 0.9375 kB / 333.5 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2724, allocations: 0 / 333.5 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.2724, allocations: 0.9688 kB / 333.5 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.2725, allocations: 151.7 kB / 333.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2725, allocations: 5.156 kB / 333.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-06/0.2725, allocations: 0 / 333.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2725, allocations: 0 / 333.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.2726, allocations: 4.891 kB / 333.7 MB, free: 11.01 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.2726, allocations: 3.938 kB / 333.7 MB, free: 11.01 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2726, allocations: 1.156 kB / 333.7 MB, free: 11.01 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.941e-05/0.2726, allocations: 58.97 kB / 333.7 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.2727, allocations: 78.33 kB / 333.8 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.2727, allocations: 5.094 kB / 333.8 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.252e-05/0.2727, allocations: 3.953 kB / 333.8 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-06/0.2727, allocations: 5.172 kB / 333.8 MB, free: 10.83 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-06/0.2727, allocations: 0 / 333.8 MB, free: 10.83 MB / 270.1 MB Notification: Performance of sorting global known variables: time 3.431e-05/0.2728, allocations: 83.81 kB / 333.9 MB, free: 10.75 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2728, allocations: 0 / 333.9 MB, free: 10.75 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003927/0.2732, allocations: 127.7 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.0008716/0.2741, allocations: 478.5 kB / 334.5 MB, free: 10.41 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 6.285e-05/0.2741, allocations: 11.62 kB / 334.5 MB, free: 10.4 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2741, allocations: 0 / 334.5 MB, free: 10.4 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.065e-06/0.2742, allocations: 6.094 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.0001356/0.2743, allocations: 1.781 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.0002311/0.2745, allocations: 105.8 kB / 334.6 MB, free: 10.29 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.2748, allocations: 0.6805 MB / 335.3 MB, free: 9.582 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 2.981e-05/0.2748, allocations: 8.797 kB / 335.3 MB, free: 9.578 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.839e-05/0.2749, allocations: 14.66 kB / 335.3 MB, free: 9.566 MB / 270.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2749, allocations: 1.281 kB / 335.3 MB, free: 9.566 MB / 270.1 MB Notification: Performance of Templates: time 0.005846/0.2807, allocations: 2.726 MB / 338 MB, free: 7.535 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)