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+X/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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.00137/0.00137, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.468/1.468, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.006161/0.006161, allocations: 0.9984 MB / 291.4 MB, free: 1.223 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.89 kB / 352 MB, free: 6.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1193, allocations: 49.64 MB / 401.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002674/0.1221, allocations: 1.19 MB / 402.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003272/0.1254, allocations: 2.015 MB / 404.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.174e-05/0.1254, allocations: 0 / 404.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.497e-05/0.1255, allocations: 0 / 404.9 MB, free: 1.93 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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+X/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.001338/0.1268, allocations: 454.5 kB / 405.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.23e-06/0.1268, allocations: 4 kB / 405.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.445e-05/0.1269, allocations: 7.984 kB / 405.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.273e-05/0.127, allocations: 4 kB / 405.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.536e-05/0.127, allocations: 3.938 kB / 405.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008121/0.1351, allocations: 7.938 kB / 405.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.1352, allocations: 0 / 405.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009684/0.1361, allocations: 447.5 kB / 405.8 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.526e-06/0.1362, allocations: 0 / 405.8 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.1362, allocations: 3.938 kB / 405.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006188/0.1368, allocations: 355.5 kB / 406.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1368, allocations: 0 / 406.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.167e-06/0.1368, allocations: 4 kB / 406.2 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.1368, allocations: 3.938 kB / 406.2 MB, free: 0.6602 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.000488/0.1373, allocations: 407.7 kB / 406.6 MB, free: 220 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.1374, allocations: 8.031 kB / 406.6 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.823e-05/0.1375, allocations: 80.22 kB / 406.6 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.1377, allocations: 243.6 kB / 406.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.664e-05/0.1378, allocations: 154.9 kB / 407 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.421e-05/0.1378, allocations: 162.7 kB / 407.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.145e-05/0.1379, allocations: 101 kB / 407.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/0.1379, allocations: 75.28 kB / 407.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.588e-05/0.138, allocations: 154.5 kB / 407.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-05/0.1381, allocations: 150.6 kB / 407.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.307e-05/0.1382, allocations: 158.5 kB / 407.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.1385, allocations: 449.9 kB / 408.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.13e-05/0.1386, allocations: 165.1 kB / 408.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.719e-05/0.1386, allocations: 84.08 kB / 408.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.1387, allocations: 75.28 kB / 408.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.963e-05/0.1387, allocations: 125.8 kB / 408.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.1387, allocations: 3.938 kB / 408.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.169e-05/0.1388, allocations: 29.66 kB / 408.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.1389, allocations: 130.7 kB / 408.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.139, allocations: 101.9 kB / 409 MB, free: 13.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.139, allocations: 25.7 kB / 409 MB, free: 13.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.212e-05/0.1391, allocations: 84.12 kB / 409.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.1391, allocations: 4 kB / 409.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/0.1391, allocations: 9.719 kB / 409.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1392, allocations: 314.8 kB / 409.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-06/0.1392, allocations: 0 / 409.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-06/0.1392, allocations: 0 / 409.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.563e-05/0.1393, allocations: 75.28 kB / 409.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.04e-05/0.1393, allocations: 75.28 kB / 409.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.203e-05/0.1394, allocations: 37.58 kB / 409.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.1394, allocations: 83.28 kB / 409.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.312e-05/0.1394, allocations: 79.28 kB / 409.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.627e-05/0.1395, allocations: 158.5 kB / 409.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.801e-05/0.1395, allocations: 79.28 kB / 410 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.785e-05/0.1396, allocations: 154.5 kB / 410.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.441e-05/0.1397, allocations: 75.28 kB / 410.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.1397, allocations: 79.28 kB / 410.3 MB, free: 12.32 MB / 350.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.0001107/0.1398, allocations: 264.4 kB / 410.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.1399, allocations: 108.9 kB / 410.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.1399, allocations: 108.1 kB / 410.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.963e-05/0.14, allocations: 184.2 kB / 410.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-05/0.1401, allocations: 184.3 kB / 411.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.698e-05/0.1401, allocations: 176.3 kB / 411.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.1404, allocations: 413.1 kB / 411.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.485e-05/0.1404, allocations: 101 kB / 411.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.1404, allocations: 108.9 kB / 411.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.398e-05/0.1405, allocations: 180.2 kB / 412 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-05/0.1406, allocations: 192.2 kB / 412.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.204e-05/0.1406, allocations: 180.2 kB / 412.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.858e-05/0.1407, allocations: 176.3 kB / 412.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.1408, allocations: 311.7 kB / 412.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.436e-05/0.1409, allocations: 182.5 kB / 413.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-05/0.141, allocations: 184.4 kB / 413.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.323e-05/0.1411, allocations: 101 kB / 413.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.858e-05/0.1411, allocations: 192.2 kB / 413.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.1412, allocations: 101 kB / 413.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.024e-05/0.1412, allocations: 87.28 kB / 413.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1412, allocations: 4 kB / 413.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004823/0.1417, allocations: 131.9 kB / 413.9 MB, free: 8.5 MB / 350.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.001121/0.1429, allocations: 0.5495 MB / 414.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.754e-05/0.1429, allocations: 7.984 kB / 414.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.1429, allocations: 0 / 414.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.143, allocations: 3.938 kB / 414.4 MB, free: 8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.1434, allocations: 459.6 kB / 414.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.1437, allocations: 164.9 kB / 415 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.144, allocations: 0.6805 MB / 415.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.103e-05/0.144, allocations: 0 / 415.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/0.144, allocations: 15.38 kB / 415.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.144, allocations: 0 / 415.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of Templates: time 0.006576/0.1506, allocations: 2.858 MB / 418.6 MB, free: 3.777 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)