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.007076/0.007076, allocations: 101.4 kB / 15.73 MB, free: 5.523 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.001609/0.001609, allocations: 196 kB / 16.67 MB, free: 5.461 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.528/1.528, allocations: 205.1 MB / 222.5 MB, free: 4.391 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.001468/0.001468, allocations: 49.23 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1208, allocations: 46.63 MB / 373.1 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.003065/0.1239, allocations: 1.179 MB / 374.3 MB, free: 140 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004192/0.1281, allocations: 2.002 MB / 376.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.1282, allocations: 0 / 376.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.1283, allocations: 0 / 376.3 MB, free: 14.12 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:1211:5-1277:25:writable] Warning: Pure function 'Modelica.Utilities.Strings.Advanced.skipLineComments' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:497:3-636:16:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanToken' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipLineComments'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:965:3-1021:18:writable] Warning: Pure function 'Modelica.Utilities.Strings.syntaxError' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:846:3-933:20:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanDelimiter' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Examples.mo:100:3-167:14:writable] Warning: Pure function 'Modelica.Utilities.Examples.expression.primary' contains a call to impure function 'Modelica.Utilities.Strings.scanToken'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Examples.mo:74:3-98:11:writable] Warning: Pure function 'Modelica.Utilities.Examples.expression.term' contains a call to impure function 'Modelica.Utilities.Examples.expression.primary'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Examples.mo:57:3-277:17:writable] Warning: Pure function 'Modelica.Utilities.Examples.expression' contains a call to impure function 'Modelica.Utilities.Strings.scanDelimiter'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:935:3-963:18:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanNoToken' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipLineComments'. [/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.00199/0.1303, allocations: 438.5 kB / 376.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.384e-05/0.1303, allocations: 11.92 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.648e-05/0.1304, allocations: 8 kB / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.26e-05/0.1305, allocations: 0 / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.303e-05/0.1305, allocations: 11.94 kB / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.1307, allocations: 15.91 kB / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.1307, allocations: 0 / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.1317, allocations: 471.5 kB / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.1317, allocations: 3.984 kB / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.1318, allocations: 7.938 kB / 377.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008272/0.1326, allocations: 327.5 kB / 377.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.1326, allocations: 4 kB / 377.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.998e-06/0.1326, allocations: 0 / 377.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.1327, allocations: 7.938 kB / 377.6 MB, free: 12.84 MB / 318.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.0009002/0.1336, allocations: 403.4 kB / 378 MB, free: 12.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.285e-05/0.1336, allocations: 12.03 kB / 378 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.675e-05/0.1337, allocations: 76.22 kB / 378.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.1341, allocations: 251.6 kB / 378.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.708e-05/0.1342, allocations: 150.9 kB / 378.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.138e-05/0.1342, allocations: 154.7 kB / 378.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.42e-05/0.1343, allocations: 105 kB / 378.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/0.1343, allocations: 79.28 kB / 378.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/0.1344, allocations: 150.6 kB / 379 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.328e-05/0.1345, allocations: 150.6 kB / 379.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.109e-05/0.1345, allocations: 158.5 kB / 379.3 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.1349, allocations: 449.9 kB / 379.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.659e-05/0.135, allocations: 165.1 kB / 379.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.027e-05/0.1351, allocations: 92.02 kB / 379.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/0.1351, allocations: 79.28 kB / 380 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000239/0.1353, allocations: 51.34 kB / 380.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 3.476e-06/0.1354, allocations: 0 / 380.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001842/0.1355, allocations: 29.7 kB / 380.1 MB, free: 10.15 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.1356, allocations: 51.41 kB / 380.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.1357, allocations: 109.8 kB / 380.3 MB, free: 9.973 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1358, allocations: 25.7 kB / 380.3 MB, free: 9.941 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.1358, allocations: 84.08 kB / 380.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.1358, allocations: 4 kB / 380.4 MB, free: 9.852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.1359, allocations: 17.84 kB / 380.4 MB, free: 9.828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1361, allocations: 314.8 kB / 380.7 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.386e-05/0.1361, allocations: 3.984 kB / 380.7 MB, free: 9.508 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-06/0.1361, allocations: 0 / 380.7 MB, free: 9.508 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.382e-05/0.1361, allocations: 8.859 kB / 380.7 MB, free: 9.496 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1361, allocations: 0 / 380.7 MB, free: 9.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.27e-05/0.1362, allocations: 41.64 kB / 380.8 MB, free: 9.449 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.1363, allocations: 5.188 kB / 380.8 MB, free: 9.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1363, allocations: 4 kB / 380.8 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1363, allocations: 0 / 380.8 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.243e-05/0.1363, allocations: 0 / 380.8 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.1363, allocations: 0 / 380.8 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.1364, allocations: 3.938 kB / 380.8 MB, free: 9.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.1364, allocations: 4 kB / 380.8 MB, free: 9.434 MB / 318.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 0.0001169/0.1365, allocations: 113.8 kB / 380.9 MB, free: 9.312 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.1365, allocations: 3.906 kB / 380.9 MB, free: 9.309 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.493e-05/0.1366, allocations: 11.12 kB / 380.9 MB, free: 9.301 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1366, allocations: 0 / 380.9 MB, free: 9.301 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1366, allocations: 0 / 380.9 MB, free: 9.301 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.1366, allocations: 0 / 380.9 MB, free: 9.301 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.1368, allocations: 157.6 kB / 381 MB, free: 9.098 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1368, allocations: 0 / 381 MB, free: 9.098 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-06/0.1368, allocations: 0 / 381 MB, free: 9.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1368, allocations: 0 / 381 MB, free: 9.098 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.1368, allocations: 0 / 381 MB, free: 9.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1368, allocations: 0 / 381 MB, free: 9.098 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1368, allocations: 3.938 kB / 381.1 MB, free: 9.094 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.482e-05/0.1369, allocations: 69.06 kB / 381.1 MB, free: 9.008 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.137, allocations: 77.11 kB / 381.2 MB, free: 8.914 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.137, allocations: 0 / 381.2 MB, free: 8.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.618e-05/0.1371, allocations: 7.938 kB / 381.2 MB, free: 8.906 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.61e-05/0.1371, allocations: 0 / 381.2 MB, free: 8.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.1371, allocations: 4 kB / 381.2 MB, free: 8.902 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.375e-05/0.1371, allocations: 83.27 kB / 381.3 MB, free: 8.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1371, allocations: 4.031 kB / 381.3 MB, free: 8.816 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005547/0.1377, allocations: 132 kB / 381.4 MB, free: 8.688 MB / 318.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.001131/0.1388, allocations: 462 kB / 381.9 MB, free: 8.223 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.083e-05/0.139, allocations: 4 kB / 381.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.139, allocations: 0 / 381.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.073e-06/0.139, allocations: 0 / 381.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.1392, allocations: 15.84 kB / 381.9 MB, free: 8.203 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.1395, allocations: 110.6 kB / 382 MB, free: 8.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.1398, allocations: 0.6729 MB / 382.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.752e-05/0.1398, allocations: 7.984 kB / 382.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.1399, allocations: 19.42 kB / 382.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1399, allocations: 0 / 382.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of Templates: time 0.007785/0.1477, allocations: 2.778 MB / 385.5 MB, free: 4.562 MB / 318.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)