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.001455/0.001455, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001539/0.001539, allocations: 177.3 kB / 15.94 MB, free: 228 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.589/1.589, allocations: 205.4 MB / 222.1 MB, free: 5.73 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.0004781/0.0004781, allocations: 12 kB / 278.9 MB, free: 12.97 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2609, allocations: 47.58 MB / 326.4 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.0012/0.2621, allocations: 0.916 MB / 327.3 MB, free: 0.6836 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00278/0.2649, allocations: 1.835 MB / 329.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.265, allocations: 1.062 kB / 329.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.224e-05/0.265, allocations: 7.938 kB / 329.2 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.2661, allocations: 330.4 kB / 329.5 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.299e-05/0.2661, allocations: 0.7812 kB / 329.5 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.217e-05/0.2662, allocations: 8.797 kB / 329.5 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.2662, allocations: 0 / 329.5 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.132e-05/0.2663, allocations: 3.062 kB / 329.5 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.866e-05/0.2664, allocations: 15.3 kB / 329.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.348e-06/0.2664, allocations: 0 / 329.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006006/0.267, allocations: 349.2 kB / 329.9 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.267, allocations: 3.984 kB / 329.9 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.267, allocations: 26.73 kB / 329.9 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.2674, allocations: 233 kB / 330.1 MB, free: 14.71 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.2674, allocations: 0 / 330.1 MB, free: 14.71 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.2674, allocations: 0 / 330.1 MB, free: 14.71 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.2675, allocations: 7.875 kB / 330.1 MB, free: 14.7 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.0004503/0.2679, allocations: 388.8 kB / 330.5 MB, free: 14.3 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.268, allocations: 16.86 kB / 330.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.581e-05/0.268, allocations: 76.56 kB / 330.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.2683, allocations: 246.5 kB / 330.9 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-05/0.2683, allocations: 159.7 kB / 331 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.591e-05/0.2684, allocations: 150.6 kB / 331.2 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.03e-05/0.2685, allocations: 102.5 kB / 331.3 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/0.2685, allocations: 75.28 kB / 331.3 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.901e-05/0.2686, allocations: 154.5 kB / 331.5 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.183e-05/0.2687, allocations: 154.6 kB / 331.6 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.02e-05/0.2688, allocations: 155.8 kB / 331.8 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.2691, allocations: 448.4 kB / 332.2 MB, free: 12.52 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.433e-05/0.2692, allocations: 170.5 kB / 332.4 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.2692, allocations: 83.23 kB / 332.5 MB, free: 12.26 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.2694, allocations: 47.03 kB / 332.5 MB, free: 12.2 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 2.265e-06/0.2694, allocations: 1.344 kB / 332.5 MB, free: 12.2 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001568/0.2696, allocations: 34.34 kB / 332.6 MB, free: 12.17 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.2696, allocations: 51.41 kB / 332.6 MB, free: 12.11 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.357e-05/0.2697, allocations: 99.89 kB / 332.7 MB, free: 12 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.2697, allocations: 26.92 kB / 332.7 MB, free: 11.97 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.2698, allocations: 85.14 kB / 332.8 MB, free: 11.89 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.2698, allocations: 4 kB / 332.8 MB, free: 11.88 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-06/0.2698, allocations: 0 / 332.8 MB, free: 11.88 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.2699, allocations: 315.9 kB / 333.1 MB, free: 11.57 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-06/0.27, allocations: 1.125 kB / 333.1 MB, free: 11.57 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.02e-06/0.27, allocations: 5 kB / 333.1 MB, free: 11.56 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.372e-05/0.27, allocations: 5.156 kB / 333.1 MB, free: 11.56 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.27, allocations: 0 / 333.1 MB, free: 11.56 MB / 270.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.239e-05/0.2701, allocations: 39.44 kB / 333.2 MB, free: 11.52 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2701, allocations: 4.75 kB / 333.2 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2701, allocations: 1.406 kB / 333.2 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2701, allocations: 0 / 333.2 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.002e-05/0.2701, allocations: 4.953 kB / 333.2 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2702, allocations: 0 / 333.2 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.695e-05/0.2702, allocations: 3.984 kB / 333.2 MB, free: 11.51 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.2702, allocations: 0.875 kB / 333.2 MB, free: 11.51 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.962e-05/0.2703, allocations: 112.1 kB / 333.3 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.2703, allocations: 16.86 kB / 333.3 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.311e-05/0.2703, allocations: 4.188 kB / 333.3 MB, free: 11.37 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.2703, allocations: 1.031 kB / 333.3 MB, free: 11.37 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2703, allocations: 0 / 333.3 MB, free: 11.37 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2704, allocations: 0 / 333.3 MB, free: 11.37 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.2705, allocations: 156.7 kB / 333.5 MB, free: 11.17 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2705, allocations: 0 / 333.5 MB, free: 11.17 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.717e-06/0.2705, allocations: 1.062 kB / 333.5 MB, free: 11.17 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.2705, allocations: 0 / 333.5 MB, free: 11.17 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.2705, allocations: 8.953 kB / 333.5 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2705, allocations: 4 kB / 333.5 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2705, allocations: 3.984 kB / 333.5 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.779e-05/0.2706, allocations: 52.8 kB / 333.5 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.2706, allocations: 81.11 kB / 333.6 MB, free: 11 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.2706, allocations: 5.391 kB / 333.6 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.19e-05/0.2707, allocations: 3.953 kB / 333.6 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.232e-05/0.2707, allocations: 1.188 kB / 333.6 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.2707, allocations: 4.031 kB / 333.6 MB, free: 10.98 MB / 270.1 MB Notification: Performance of sorting global known variables: time 3.434e-05/0.2707, allocations: 79.44 kB / 333.7 MB, free: 10.91 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2707, allocations: 0 / 333.7 MB, free: 10.91 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004133/0.2712, allocations: 127.5 kB / 333.8 MB, free: 10.87 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.0008768/0.272, allocations: 479.6 kB / 334.3 MB, free: 10.57 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 6.008e-05/0.2721, allocations: 2.438 kB / 334.3 MB, free: 10.57 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2721, allocations: 1.156 kB / 334.3 MB, free: 10.57 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 7.695e-06/0.2721, allocations: 5.531 kB / 334.3 MB, free: 10.56 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.681e-05/0.2722, allocations: 8.891 kB / 334.3 MB, free: 10.55 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002428/0.2725, allocations: 110.6 kB / 334.4 MB, free: 10.44 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.2728, allocations: 0.6728 MB / 335.1 MB, free: 9.742 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.137e-05/0.2728, allocations: 12.95 kB / 335.1 MB, free: 9.734 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/0.2728, allocations: 19.39 kB / 335.1 MB, free: 9.719 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2728, allocations: 0 / 335.1 MB, free: 9.719 MB / 270.1 MB Notification: Performance of Templates: time 0.005742/0.2786, allocations: 2.721 MB / 337.9 MB, free: 7.707 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: