Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001101/0.001101, allocations: 105.8 kB / 16.62 MB, free: 6.812 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.001151/0.001151, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.296/1.296, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.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.001053/0.001053, allocations: 47.94 kB / 279.5 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06926/0.07033, allocations: 46.63 MB / 326.1 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001881/0.07224, allocations: 1.251 MB / 327.4 MB, free: 3.539 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.07446, allocations: 1.979 MB / 329.4 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.729e-05/0.07449, allocations: 0 / 329.4 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.07452, allocations: 0 / 329.4 MB, free: 1.547 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.0008643/0.07539, allocations: 383.2 kB / 329.7 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.938e-05/0.07541, allocations: 8 kB / 329.7 MB, free: 1.164 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 3.531e-05/0.07546, allocations: 11.88 kB / 329.7 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.428e-05/0.07549, allocations: 0 / 329.7 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.779e-05/0.07551, allocations: 7.984 kB / 329.8 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.031e-05/0.0756, allocations: 11.92 kB / 329.8 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.073e-06/0.07561, allocations: 0 / 329.8 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004721/0.07609, allocations: 431.6 kB / 330.2 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.055e-06/0.0761, allocations: 0 / 330.2 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 1.62e-05/0.07613, allocations: 0 / 330.2 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.07651, allocations: 347.3 kB / 330.5 MB, free: 380 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.07652, allocations: 0 / 330.5 MB, free: 380 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.07652, allocations: 0 / 330.5 MB, free: 380 kB / 270.1 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.07653, allocations: 0 / 330.5 MB, free: 380 kB / 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.0003575/0.0769, allocations: 407.4 kB / 330.9 MB, free: 15.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.714e-05/0.07693, allocations: 12.03 kB / 330.9 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.07698, allocations: 76.22 kB / 331 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.07711, allocations: 251.9 kB / 331.3 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.125e-05/0.07716, allocations: 154.9 kB / 331.4 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.0772, allocations: 154.7 kB / 331.6 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.8e-05/0.07726, allocations: 108.9 kB / 331.7 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.07728, allocations: 75.28 kB / 331.7 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.07733, allocations: 150.6 kB / 331.9 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.72e-05/0.07737, allocations: 150.6 kB / 332 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.8e-05/0.07742, allocations: 158.6 kB / 332.2 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.07763, allocations: 445.9 kB / 332.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.272e-05/0.0777, allocations: 169.1 kB / 332.8 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.502e-05/0.07773, allocations: 84.12 kB / 332.9 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.07776, allocations: 87.28 kB / 333 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.891e-05/0.07785, allocations: 47.41 kB / 333 MB, free: 13.72 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 1.714e-06/0.07786, allocations: 0 / 333 MB, free: 13.72 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 9.536e-05/0.07796, allocations: 33.64 kB / 333 MB, free: 13.68 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.07799, allocations: 51.41 kB / 333.1 MB, free: 13.62 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.779e-05/0.07807, allocations: 105.8 kB / 333.2 MB, free: 13.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.07808, allocations: 29.83 kB / 333.2 MB, free: 13.47 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.517e-05/0.07811, allocations: 80.14 kB / 333.3 MB, free: 13.39 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.011e-05/0.07813, allocations: 3.906 kB / 333.3 MB, free: 13.38 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.07816, allocations: 13.72 kB / 333.3 MB, free: 13.36 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.046e-05/0.07824, allocations: 314.8 kB / 333.6 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-06/0.07825, allocations: 0 / 333.6 MB, free: 13.05 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.997e-06/0.07826, allocations: 0 / 333.6 MB, free: 13.05 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.09e-05/0.07829, allocations: 16.91 kB / 333.6 MB, free: 13.03 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.07829, allocations: 0 / 333.6 MB, free: 13.03 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.548e-05/0.07834, allocations: 41.58 kB / 333.7 MB, free: 12.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.07836, allocations: 15.88 kB / 333.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-06/0.07837, allocations: 0 / 333.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.07838, allocations: 0 / 333.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.417e-05/0.0784, allocations: 0 / 333.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.0784, allocations: 0 / 333.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.371e-05/0.07842, allocations: 0 / 333.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.07843, allocations: 0 / 333.7 MB, free: 12.96 MB / 286.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 5.806e-05/0.07849, allocations: 121.8 kB / 333.8 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.07851, allocations: 3.984 kB / 333.8 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/0.07853, allocations: 7.078 kB / 333.8 MB, free: 12.82 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.07854, allocations: 4 kB / 333.8 MB, free: 12.82 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.07854, allocations: 0 / 333.8 MB, free: 12.82 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.07855, allocations: 0 / 333.8 MB, free: 12.82 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.032e-05/0.07864, allocations: 153.6 kB / 334 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.07865, allocations: 4 kB / 334 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.006e-06/0.07866, allocations: 0 / 334 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.07866, allocations: 0 / 334 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.07867, allocations: 4 kB / 334 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.07868, allocations: 0 / 334 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.07868, allocations: 0 / 334 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.498e-05/0.07874, allocations: 65 kB / 334 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/0.07877, allocations: 77.11 kB / 334.1 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.779e-06/0.07879, allocations: 192 / 334.1 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.078e-05/0.0788, allocations: 0 / 334.1 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/0.07882, allocations: 12.02 kB / 334.1 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.07883, allocations: 4 kB / 334.1 MB, free: 12.42 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.112e-05/0.07887, allocations: 83.27 kB / 334.2 MB, free: 12.34 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.07887, allocations: 0 / 334.2 MB, free: 12.34 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003229/0.0792, allocations: 127.9 kB / 334.3 MB, free: 12.21 MB / 286.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.000752/0.07996, allocations: 479.5 kB / 334.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 4.89e-05/0.08001, allocations: 0 / 334.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.08003, allocations: 8.062 kB / 334.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.101e-06/0.08004, allocations: 3.938 kB / 334.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.08016, allocations: 3.938 kB / 334.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001812/0.08035, allocations: 110.6 kB / 334.9 MB, free: 11.6 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.08053, allocations: 0.6729 MB / 335.6 MB, free: 10.9 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.354e-05/0.08056, allocations: 12.05 kB / 335.6 MB, free: 10.89 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.496e-05/0.08058, allocations: 11.44 kB / 335.6 MB, free: 10.88 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.08059, allocations: 0 / 335.6 MB, free: 10.88 MB / 286.1 MB Notification: Performance of Templates: time 0.004738/0.08533, allocations: 2.766 MB / 338.4 MB, free: 8.109 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.makefile (rm -f Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1)