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.0008573/0.0008632, allocations: 89.59 kB / 16.65 MB, free: 6.586 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.0009027/0.0009028, allocations: 182 kB / 17.56 MB, free: 6.203 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.523/1.523, allocations: 205.4 MB / 223.7 MB, free: 12.99 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.0007139/0.000714, allocations: 11.94 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1193, allocations: 47.58 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001313/0.1207, allocations: 0.9232 MB / 329.2 MB, free: 2.828 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003066/0.1238, allocations: 1.991 MB / 331.2 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.612e-05/0.1238, allocations: 0 / 331.2 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.1238, allocations: 4 kB / 331.2 MB, free: 0.8203 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.0009648/0.1248, allocations: 327.2 kB / 331.5 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.201e-05/0.1248, allocations: 0 / 331.5 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 4.103e-05/0.1249, allocations: 19.92 kB / 331.6 MB, free: 492 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.1249, allocations: 3.938 kB / 331.6 MB, free: 488 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.281e-05/0.125, allocations: 4 kB / 331.6 MB, free: 484 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.77e-05/0.1251, allocations: 15.92 kB / 331.6 MB, free: 468 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.1251, allocations: 0 / 331.6 MB, free: 468 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005778/0.1257, allocations: 419.6 kB / 332 MB, free: 48 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.1257, allocations: 0 / 332 MB, free: 48 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.1257, allocations: 33.69 kB / 332 MB, free: 8 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005024/0.1263, allocations: 343.4 kB / 332.4 MB, free: 15.67 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1263, allocations: 3.984 kB / 332.4 MB, free: 15.67 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1263, allocations: 0 / 332.4 MB, free: 15.67 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1263, allocations: 4 kB / 332.4 MB, free: 15.66 MB / 286.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.0005102/0.1268, allocations: 395.5 kB / 332.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.1269, allocations: 12.03 kB / 332.8 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.415e-05/0.127, allocations: 80.12 kB / 332.8 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.1272, allocations: 247.7 kB / 333.1 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.922e-05/0.1272, allocations: 150.9 kB / 333.2 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.599e-05/0.1273, allocations: 158.7 kB / 333.4 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.606e-05/0.1274, allocations: 104.9 kB / 333.5 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.557e-05/0.1274, allocations: 75.28 kB / 333.6 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.589e-05/0.1275, allocations: 154.6 kB / 333.7 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.614e-05/0.1275, allocations: 150.6 kB / 333.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.608e-05/0.1276, allocations: 154.6 kB / 334 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.1279, allocations: 453.9 kB / 334.5 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.151e-05/0.128, allocations: 173.1 kB / 334.6 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/0.128, allocations: 84.08 kB / 334.7 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.1281, allocations: 79.28 kB / 334.8 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.1282, allocations: 47.41 kB / 334.8 MB, free: 13.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 2.415e-06/0.1282, allocations: 0 / 334.8 MB, free: 13.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001353/0.1284, allocations: 37.64 kB / 334.9 MB, free: 12.98 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.1284, allocations: 51.41 kB / 334.9 MB, free: 12.92 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.687e-05/0.1285, allocations: 105.8 kB / 335 MB, free: 12.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1285, allocations: 25.7 kB / 335 MB, free: 12.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.1286, allocations: 84.27 kB / 335.1 MB, free: 12.69 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.1286, allocations: 0 / 335.1 MB, free: 12.69 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/0.1286, allocations: 9.719 kB / 335.1 MB, free: 12.67 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1287, allocations: 314.8 kB / 335.4 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-06/0.1288, allocations: 3.984 kB / 335.5 MB, free: 12.35 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-06/0.1288, allocations: 0 / 335.5 MB, free: 12.35 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.1288, allocations: 12.86 kB / 335.5 MB, free: 12.34 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1288, allocations: 0 / 335.5 MB, free: 12.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.317e-05/0.1289, allocations: 45.55 kB / 335.5 MB, free: 12.29 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1289, allocations: 4 kB / 335.5 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1289, allocations: 7.875 kB / 335.5 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.1289, allocations: 8 kB / 335.5 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.418e-05/0.129, allocations: 0 / 335.5 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.129, allocations: 0 / 335.5 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.528e-05/0.129, allocations: 0 / 335.5 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.129, allocations: 0 / 335.5 MB, free: 12.27 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 7.013e-05/0.1291, allocations: 113.8 kB / 335.6 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.662e-06/0.1291, allocations: 4 kB / 335.6 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.1291, allocations: 15.11 kB / 335.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1291, allocations: 0 / 335.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1291, allocations: 0 / 335.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1292, allocations: 0 / 335.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.1293, allocations: 153.6 kB / 335.8 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1293, allocations: 0 / 335.8 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-06/0.1293, allocations: 0 / 335.8 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.1293, allocations: 0 / 335.8 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1293, allocations: 4 kB / 335.8 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1293, allocations: 0 / 335.8 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1293, allocations: 4 kB / 335.8 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.221e-05/0.1294, allocations: 65 kB / 335.9 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.1295, allocations: 81.11 kB / 336 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.1295, allocations: 0 / 336 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.14e-05/0.1295, allocations: 0 / 336 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.1295, allocations: 3.984 kB / 336 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-06/0.1295, allocations: 0 / 336 MB, free: 11.73 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.808e-05/0.1296, allocations: 87.31 kB / 336 MB, free: 11.64 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1296, allocations: 0 / 336 MB, free: 11.64 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004004/0.13, allocations: 131.9 kB / 336.2 MB, free: 11.52 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.0009195/0.1309, allocations: 466.4 kB / 336.6 MB, free: 11.07 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.252e-05/0.131, allocations: 11.94 kB / 336.6 MB, free: 11.06 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.131, allocations: 0 / 336.6 MB, free: 11.06 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.773e-06/0.131, allocations: 4 kB / 336.6 MB, free: 11.05 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.1312, allocations: 8.062 kB / 336.7 MB, free: 11.05 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.1315, allocations: 116.5 kB / 336.8 MB, free: 10.91 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.1319, allocations: 0.677 MB / 337.4 MB, free: 10.2 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.058e-05/0.1319, allocations: 7.984 kB / 337.5 MB, free: 10.2 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.1319, allocations: 11.44 kB / 337.5 MB, free: 10.18 MB / 286.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1319, allocations: 0 / 337.5 MB, free: 10.18 MB / 286.1 MB Notification: Performance of Templates: time 0.006235/0.1382, allocations: 2.762 MB / 340.2 MB, free: 7.418 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)