Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealParameter.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(KeyWordIO.Examples.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") translateModel(KeyWordIO.Examples.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 101.8 kB / 16.41 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.0012/0.0012, allocations: 189.7 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006009/0.006009, allocations: 1.009 MB / 292.2 MB, free: 13.75 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 59.91 kB / 403.6 MB, free: 31.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1218, allocations: 49.65 MB / 453.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.003782/0.1257, allocations: 1.199 MB / 454.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003888/0.1296, allocations: 2.019 MB / 456.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.1296, allocations: 0 / 456.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.1297, allocations: 0 / 456.5 MB, free: 10.79 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readLine.mo:2:1-36:13:writable] Warning: Pure function 'KeyWordIO.readLine' contains a call to impure function 'KeyWordIO.readLineWithoutCache'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readRealParameter.mo:2:1-99:22:writable] Warning: Pure function 'KeyWordIO.readRealParameter' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001751/0.1315, allocations: 454.6 kB / 456.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.248e-06/0.1315, allocations: 0 / 456.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.387e-05/0.1316, allocations: 7.938 kB / 457 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.196e-05/0.1316, allocations: 3.984 kB / 457 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.251e-05/0.1316, allocations: 4 kB / 457 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.1319, allocations: 11.94 kB / 457 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.1319, allocations: 0 / 457 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000976/0.1329, allocations: 491.5 kB / 457.5 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.546e-06/0.1329, allocations: 4 kB / 457.5 MB, free: 9.828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.133, allocations: 7.922 kB / 457.5 MB, free: 9.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008068/0.1338, allocations: 355.4 kB / 457.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1338, allocations: 0 / 457.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1338, allocations: 0 / 457.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1338, allocations: 0 / 457.8 MB, free: 9.473 MB / 334.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.0007498/0.1346, allocations: 415.3 kB / 458.2 MB, free: 9.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1346, allocations: 8.031 kB / 458.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.214e-05/0.1347, allocations: 84.16 kB / 458.3 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.1349, allocations: 243.6 kB / 458.5 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.1351, allocations: 154.9 kB / 458.7 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.1351, allocations: 154.7 kB / 458.8 MB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.176e-05/0.1352, allocations: 112.9 kB / 459 MB, free: 8.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.1352, allocations: 75.28 kB / 459 MB, free: 8.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.1354, allocations: 150.6 kB / 459.2 MB, free: 8.008 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.137e-05/0.1354, allocations: 158.6 kB / 459.3 MB, free: 7.852 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.863e-05/0.1355, allocations: 150.6 kB / 459.5 MB, free: 7.703 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.1359, allocations: 442 kB / 459.9 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.136, allocations: 177.1 kB / 460.1 MB, free: 7.039 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.136, allocations: 84.08 kB / 460.2 MB, free: 6.953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.1361, allocations: 83.27 kB / 460.2 MB, free: 6.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.447e-05/0.1361, allocations: 105.8 kB / 460.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.1361, allocations: 0 / 460.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 9.309e-05/0.1362, allocations: 29.7 kB / 460.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/0.1363, allocations: 130.6 kB / 460.5 MB, free: 6.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.1365, allocations: 101.8 kB / 460.6 MB, free: 6.473 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.1365, allocations: 33.7 kB / 460.6 MB, free: 6.434 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.1365, allocations: 80.14 kB / 460.7 MB, free: 6.352 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.1365, allocations: 0 / 460.7 MB, free: 6.352 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.1366, allocations: 9.719 kB / 460.7 MB, free: 6.336 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1367, allocations: 314.8 kB / 461 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.801e-06/0.1367, allocations: 0 / 461 MB, free: 6.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.304e-06/0.1367, allocations: 4 kB / 461 MB, free: 6.016 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.099e-05/0.1368, allocations: 79.22 kB / 461.1 MB, free: 5.938 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-05/0.1368, allocations: 79.28 kB / 461.2 MB, free: 5.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.842e-05/0.1369, allocations: 29.69 kB / 461.2 MB, free: 5.824 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.02e-05/0.137, allocations: 87.28 kB / 461.3 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.592e-05/0.137, allocations: 83.2 kB / 461.4 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.194e-05/0.1371, allocations: 150.6 kB / 461.5 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.078e-05/0.1371, allocations: 79.22 kB / 461.6 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.814e-05/0.1372, allocations: 158.6 kB / 461.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.839e-05/0.1373, allocations: 79.28 kB / 461.8 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.1373, allocations: 79.22 kB / 461.9 MB, free: 5.117 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0002093/0.1375, allocations: 256.4 kB / 462.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.788e-05/0.1376, allocations: 112.9 kB / 462.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.1378, allocations: 108 kB / 462.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.731e-05/0.1378, allocations: 184.3 kB / 462.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.312e-05/0.1379, allocations: 180.3 kB / 462.7 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00014/0.1381, allocations: 180.2 kB / 462.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.1383, allocations: 409.2 kB / 463.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.73e-05/0.1384, allocations: 108.9 kB / 463.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.954e-05/0.1384, allocations: 105 kB / 463.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001851/0.1386, allocations: 180.3 kB / 463.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-05/0.1387, allocations: 184.2 kB / 463.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.271e-05/0.1388, allocations: 180.3 kB / 464.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001545/0.139, allocations: 184.2 kB / 464.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.1392, allocations: 315.7 kB / 464.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.029e-05/0.1393, allocations: 178.5 kB / 464.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.1394, allocations: 180.3 kB / 464.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/0.1395, allocations: 108.9 kB / 465 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.1397, allocations: 180.3 kB / 465.2 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.349e-05/0.1398, allocations: 108.9 kB / 465.3 MB, free: 1.523 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.879e-05/0.1399, allocations: 83.28 kB / 465.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1399, allocations: 0 / 465.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006562/0.1405, allocations: 139.9 kB / 465.5 MB, free: 1.305 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.001312/0.1419, allocations: 0.5494 MB / 466.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.693e-05/0.1419, allocations: 0 / 466.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1419, allocations: 0 / 466.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.674e-06/0.1419, allocations: 0 / 466.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.1424, allocations: 466.4 kB / 466.5 MB, free: 364 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.1427, allocations: 190.5 kB / 466.7 MB, free: 140 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.1431, allocations: 0.6805 MB / 467.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.1432, allocations: 11.44 kB / 467.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1432, allocations: 3.938 kB / 467.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of Templates: time 0.006981/0.1502, allocations: 3.144 MB / 470.5 MB, free: 12.27 MB / 350.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealParameter.sim & ./KeyWordIO_KeyWordIO.Examples.ReadRealParameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1)