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.001279/0.001279, allocations: 90.12 kB / 16.31 MB, free: 6.461 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.001596/0.001596, allocations: 182.5 kB / 17.21 MB, free: 6.336 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.592/1.592, allocations: 205.4 MB / 223.4 MB, free: 13.15 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.0005838/0.0005839, allocations: 16 kB / 280.1 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1251, allocations: 47.58 MB / 327.7 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001493/0.1266, allocations: 0.9193 MB / 328.6 MB, free: 3.164 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003365/0.13, allocations: 1.855 MB / 330.5 MB, free: 1.297 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.657e-05/0.1301, allocations: 3.938 kB / 330.5 MB, free: 1.293 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.1301, allocations: 4 kB / 330.5 MB, free: 1.289 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.001152/0.1312, allocations: 323.2 kB / 330.8 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.65e-05/0.1313, allocations: 4 kB / 330.8 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.052e-05/0.1313, allocations: 15.91 kB / 330.8 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.15e-05/0.1314, allocations: 0 / 330.8 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.532e-05/0.1314, allocations: 4 kB / 330.8 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.1316, allocations: 11.94 kB / 330.8 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.1316, allocations: 0 / 330.8 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006791/0.1323, allocations: 395.6 kB / 331.2 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.1323, allocations: 0 / 331.2 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.1323, allocations: 25.7 kB / 331.2 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.1327, allocations: 223.6 kB / 331.5 MB, free: 308 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.307e-05/0.1327, allocations: 4 kB / 331.5 MB, free: 304 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1327, allocations: 4 kB / 331.5 MB, free: 300 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1327, allocations: 0 / 331.5 MB, free: 300 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.0004609/0.1332, allocations: 395.3 kB / 331.9 MB, free: 15.86 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1333, allocations: 8.031 kB / 331.9 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.091e-05/0.1333, allocations: 83.19 kB / 332 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.1335, allocations: 250.5 kB / 332.2 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-05/0.1336, allocations: 158.5 kB / 332.4 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-05/0.1337, allocations: 150.6 kB / 332.5 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.257e-05/0.1337, allocations: 109 kB / 332.6 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.1338, allocations: 75.28 kB / 332.7 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.539e-05/0.1339, allocations: 150.6 kB / 332.8 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-05/0.1339, allocations: 154.6 kB / 333 MB, free: 14.69 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.256e-05/0.134, allocations: 154.5 kB / 333.1 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.1343, allocations: 453.9 kB / 333.6 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.016e-05/0.1344, allocations: 165.1 kB / 333.7 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.276e-05/0.1344, allocations: 88.09 kB / 333.8 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.1345, allocations: 75.28 kB / 333.9 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.1347, allocations: 55.39 kB / 333.9 MB, free: 13.64 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 2.515e-06/0.1347, allocations: 0 / 333.9 MB, free: 13.64 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.00016/0.1348, allocations: 33.7 kB / 334 MB, free: 13.61 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.1349, allocations: 51.41 kB / 334 MB, free: 13.54 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.439e-05/0.135, allocations: 106 kB / 334.1 MB, free: 13.43 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.135, allocations: 25.7 kB / 334.2 MB, free: 13.4 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.1351, allocations: 84.14 kB / 334.2 MB, free: 13.31 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.1351, allocations: 0 / 334.2 MB, free: 13.31 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-06/0.1351, allocations: 3.938 kB / 334.2 MB, free: 13.31 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1352, allocations: 314.8 kB / 334.5 MB, free: 12.99 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-06/0.1352, allocations: 0 / 334.5 MB, free: 12.99 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.238e-06/0.1352, allocations: 0 / 334.5 MB, free: 12.99 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.068e-05/0.1353, allocations: 12 kB / 334.6 MB, free: 12.98 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1353, allocations: 0 / 334.6 MB, free: 12.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.849e-05/0.1353, allocations: 41.55 kB / 334.6 MB, free: 12.93 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1354, allocations: 8 kB / 334.6 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1354, allocations: 0 / 334.6 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1354, allocations: 0 / 334.6 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.473e-05/0.1354, allocations: 0 / 334.6 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1354, allocations: 0 / 334.6 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.764e-05/0.1355, allocations: 0 / 334.6 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1355, allocations: 0 / 334.6 MB, free: 12.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.266e-05/0.1356, allocations: 117.9 kB / 334.7 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-06/0.1356, allocations: 3.953 kB / 334.7 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.1356, allocations: 11.06 kB / 334.7 MB, free: 12.78 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1356, allocations: 0 / 334.7 MB, free: 12.78 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1356, allocations: 0 / 334.7 MB, free: 12.78 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1356, allocations: 4 kB / 334.7 MB, free: 12.78 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.1358, allocations: 153.7 kB / 334.9 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1358, allocations: 0 / 334.9 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.442e-06/0.1358, allocations: 0 / 334.9 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.1358, allocations: 11.88 kB / 334.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1358, allocations: 7.953 kB / 334.9 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1358, allocations: 0 / 334.9 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1358, allocations: 0 / 334.9 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.322e-05/0.1359, allocations: 53.14 kB / 335 MB, free: 12.49 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.1359, allocations: 85.09 kB / 335 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.136, allocations: 0 / 335 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.522e-05/0.136, allocations: 7.953 kB / 335.1 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.136, allocations: 4.031 kB / 335.1 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.136, allocations: 0 / 335.1 MB, free: 12.38 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.085e-05/0.1361, allocations: 83.45 kB / 335.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1361, allocations: 4 kB / 335.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004387/0.1365, allocations: 128 kB / 335.3 MB, free: 12.16 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 (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.0009462/0.1375, allocations: 469.8 kB / 335.7 MB, free: 11.71 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.087e-05/0.1375, allocations: 7.938 kB / 335.7 MB, free: 11.71 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1376, allocations: 4.062 kB / 335.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.283e-06/0.1376, allocations: 4 kB / 335.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.1377, allocations: 0 / 335.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.138, allocations: 116.6 kB / 335.9 MB, free: 11.56 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.1384, allocations: 0.6731 MB / 336.5 MB, free: 10.86 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.33e-05/0.1384, allocations: 15.98 kB / 336.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.004e-05/0.1385, allocations: 15.42 kB / 336.6 MB, free: 10.83 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1385, allocations: 0 / 336.6 MB, free: 10.83 MB / 286.1 MB Notification: Performance of Templates: time 0.007148/0.1456, allocations: 2.73 MB / 339.3 MB, free: 8.094 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)