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.00111/0.00111, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001688/0.001688, allocations: 195.9 kB / 16.14 MB, free: 6.715 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.612/1.612, allocations: 205.1 MB / 222 MB, free: 4.773 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.00148/0.001481, allocations: 52.3 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2859, allocations: 46.62 MB / 324.7 MB, free: 2.152 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002145/0.2881, allocations: 1.254 MB / 325.9 MB, free: 1.152 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00293/0.291, allocations: 2.04 MB / 328 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.2911, allocations: 1.156 kB / 328 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.2911, allocations: 0 / 328 MB, free: 15.59 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.001025/0.2921, allocations: 325.2 kB / 328.3 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.772e-05/0.2921, allocations: 5.297 kB / 328.3 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.767e-05/0.2922, allocations: 12.81 kB / 328.3 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.291e-05/0.2923, allocations: 1.188 kB / 328.3 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.269e-05/0.2923, allocations: 2.688 kB / 328.3 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.2924, allocations: 12.39 kB / 328.3 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.2924, allocations: 0 / 328.3 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006354/0.2931, allocations: 437.1 kB / 328.7 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.2931, allocations: 5 kB / 328.7 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.2931, allocations: 2.281 kB / 328.7 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005137/0.2936, allocations: 331.2 kB / 329.1 MB, free: 14.96 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.2937, allocations: 3.984 kB / 329.1 MB, free: 14.95 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2937, allocations: 0 / 329.1 MB, free: 14.95 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.2937, allocations: 1.062 kB / 329.1 MB, free: 14.95 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.0004444/0.2941, allocations: 399.1 kB / 329.5 MB, free: 14.55 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.2942, allocations: 8.438 kB / 329.5 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.964e-05/0.2942, allocations: 89.23 kB / 329.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.2944, allocations: 244.7 kB / 329.8 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/0.2945, allocations: 150.9 kB / 329.9 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.604e-05/0.2945, allocations: 158.6 kB / 330.1 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.61e-05/0.2946, allocations: 102.2 kB / 330.2 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.2946, allocations: 79.22 kB / 330.3 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.96e-05/0.2947, allocations: 159.6 kB / 330.4 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.825e-05/0.2948, allocations: 154.5 kB / 330.6 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.233e-05/0.2948, allocations: 151.7 kB / 330.7 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002782/0.2951, allocations: 444.3 kB / 331.2 MB, free: 12.76 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.21e-05/0.2952, allocations: 178.2 kB / 331.3 MB, free: 12.58 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.2952, allocations: 84.08 kB / 331.4 MB, free: 12.49 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.2953, allocations: 76.34 kB / 331.5 MB, free: 12.42 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.2954, allocations: 42.84 kB / 331.5 MB, free: 12.37 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 2.274e-06/0.2955, allocations: 1.125 kB / 331.5 MB, free: 12.37 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001372/0.2956, allocations: 45.94 kB / 331.6 MB, free: 12.32 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.2957, allocations: 52.62 kB / 331.6 MB, free: 12.26 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.401e-05/0.2957, allocations: 100.3 kB / 331.7 MB, free: 12.16 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.2958, allocations: 25.7 kB / 331.8 MB, free: 12.12 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.2958, allocations: 81.39 kB / 331.8 MB, free: 12.04 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.252e-05/0.2958, allocations: 0 / 331.8 MB, free: 12.04 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.2959, allocations: 15.98 kB / 331.9 MB, free: 12.02 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.296, allocations: 320 kB / 332.2 MB, free: 11.7 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.296, allocations: 4.125 kB / 332.2 MB, free: 11.7 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-06/0.296, allocations: 1.125 kB / 332.2 MB, free: 11.7 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.362e-05/0.296, allocations: 11.89 kB / 332.2 MB, free: 11.69 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.296, allocations: 0 / 332.2 MB, free: 11.69 MB / 270.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.566e-05/0.2961, allocations: 39.14 kB / 332.2 MB, free: 11.65 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2961, allocations: 5.25 kB / 332.2 MB, free: 11.65 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.2961, allocations: 7.984 kB / 332.2 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2962, allocations: 1.062 kB / 332.2 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.398e-05/0.2962, allocations: 8.078 kB / 332.2 MB, free: 11.63 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2962, allocations: 1.188 kB / 332.2 MB, free: 11.63 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.608e-05/0.2962, allocations: 0 / 332.2 MB, free: 11.63 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.2962, allocations: 0 / 332.2 MB, free: 11.63 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 8.321e-05/0.2963, allocations: 116 kB / 332.4 MB, free: 11.51 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.2963, allocations: 1.25 kB / 332.4 MB, free: 11.51 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.2964, allocations: 4.312 kB / 332.4 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-06/0.2964, allocations: 0 / 332.4 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2964, allocations: 1.125 kB / 332.4 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-06/0.2964, allocations: 7.984 kB / 332.4 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.2965, allocations: 148.8 kB / 332.5 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2965, allocations: 0 / 332.5 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-06/0.2965, allocations: 0 / 332.5 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.2966, allocations: 1.25 kB / 332.5 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.2966, allocations: 7.922 kB / 332.5 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2966, allocations: 1.031 kB / 332.5 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2966, allocations: 3.938 kB / 332.5 MB, free: 11.29 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.94e-05/0.2967, allocations: 63.11 kB / 332.6 MB, free: 11.22 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.2967, allocations: 77.98 kB / 332.7 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.2967, allocations: 1.125 kB / 332.7 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.377e-05/0.2967, allocations: 3.984 kB / 332.7 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.2967, allocations: 1.031 kB / 332.7 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.2968, allocations: 1.062 kB / 332.7 MB, free: 11.12 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.687e-05/0.2968, allocations: 82.75 kB / 332.8 MB, free: 11.04 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2968, allocations: 1.25 kB / 332.8 MB, free: 11.04 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004548/0.2973, allocations: 129.8 kB / 332.9 MB, free: 11 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.0009828/0.2983, allocations: 473.2 kB / 333.3 MB, free: 10.7 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 8.29e-05/0.2984, allocations: 7.281 kB / 333.4 MB, free: 10.7 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2984, allocations: 0 / 333.4 MB, free: 10.7 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 7.084e-06/0.2984, allocations: 1.969 kB / 333.4 MB, free: 10.7 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.2986, allocations: 9.969 kB / 333.4 MB, free: 10.69 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.2988, allocations: 114.2 kB / 333.5 MB, free: 10.57 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.2991, allocations: 0.6769 MB / 334.2 MB, free: 9.875 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.155e-05/0.2991, allocations: 15.14 kB / 334.2 MB, free: 9.863 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/0.2992, allocations: 11.91 kB / 334.2 MB, free: 9.855 MB / 270.1 MB Notification: Performance of SimCode: time 2.495e-06/0.2992, allocations: 0 / 334.2 MB, free: 9.855 MB / 270.1 MB Notification: Performance of Templates: time 0.005941/0.3051, allocations: 2.762 MB / 336.9 MB, free: 7.633 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)