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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003158/0.003158, allocations: 186.6 kB / 7.455 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005045/0.005045, allocations: 0.9706 MB / 8.839 MB, free: 1.398 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 221.4 MB / 230.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 85.83 kB / 281.9 MB, free: 24 kB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.933e-06/6.963e-06, allocations: 0 / 338.6 MB, free: 7.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2762, allocations: 50.62 MB / 389.2 MB, free: 37.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.4012, allocations: 78.37 MB / 467.6 MB, free: 7.109 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.4015, allocations: 75.89 kB / 467.6 MB, free: 7.035 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02236/0.4238, allocations: 7.665 MB / 475.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.81e-06/0.4239, allocations: 0 / 475.3 MB, free: 15.39 MB / 362.7 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.0005345/0.4244, allocations: 462.2 kB / 475.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.4245, allocations: 8.031 kB / 475.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.4245, allocations: 79.28 kB / 475.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.4247, allocations: 246.2 kB / 476.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.14e-05/0.4248, allocations: 154.6 kB / 476.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.4248, allocations: 150.6 kB / 476.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.662e-05/0.4249, allocations: 154.5 kB / 476.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.942e-05/0.4249, allocations: 104.9 kB / 476.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/0.425, allocations: 79.28 kB / 476.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.49e-05/0.425, allocations: 154.6 kB / 476.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.278e-05/0.4251, allocations: 150.6 kB / 477 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002378/0.4253, allocations: 426.5 kB / 477.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.62e-05/0.4254, allocations: 177.1 kB / 477.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/0.4255, allocations: 84.08 kB / 477.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.4255, allocations: 75.28 kB / 477.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/0.4256, allocations: 109.8 kB / 477.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.4256, allocations: 0 / 477.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.574e-05/0.4256, allocations: 25.7 kB / 477.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.4257, allocations: 55.41 kB / 477.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.764e-05/0.4258, allocations: 97 kB / 478 MB, free: 12.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.4258, allocations: 25.7 kB / 478.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.637e-05/0.4258, allocations: 84.12 kB / 478.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.102e-06/0.4258, allocations: 0 / 478.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-07/0.4258, allocations: 0 / 478.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.4259, allocations: 314.8 kB / 478.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.095e-06/0.4259, allocations: 0 / 478.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-06/0.426, allocations: 4 kB / 478.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.414e-05/0.426, allocations: 83.22 kB / 478.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.44e-05/0.426, allocations: 75.28 kB / 478.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.756e-05/0.4261, allocations: 29.61 kB / 478.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.4261, allocations: 8 kB / 478.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-05/0.4261, allocations: 75.28 kB / 478.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.587e-05/0.4262, allocations: 154.7 kB / 478.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.81e-05/0.4262, allocations: 83.27 kB / 479 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-05/0.4263, allocations: 158.6 kB / 479.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.152e-05/0.4264, allocations: 79.22 kB / 479.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.4264, allocations: 75.28 kB / 479.3 MB, free: 11.22 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001/0.4265, allocations: 251.5 kB / 479.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-05/0.4266, allocations: 112.9 kB / 479.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.45e-05/0.4267, allocations: 112.2 kB / 479.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.86e-05/0.4267, allocations: 181.2 kB / 479.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.469e-05/0.4268, allocations: 184.2 kB / 480.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.623e-05/0.4269, allocations: 184.2 kB / 480.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.4271, allocations: 381.8 kB / 480.6 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.169e-05/0.4271, allocations: 101 kB / 480.7 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/0.4272, allocations: 112.9 kB / 480.8 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.199e-05/0.4272, allocations: 176.3 kB / 481 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/0.4273, allocations: 180.5 kB / 481.2 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.307e-05/0.4274, allocations: 188.1 kB / 481.4 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.447e-05/0.4274, allocations: 188.2 kB / 481.6 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000125/0.4276, allocations: 303.8 kB / 481.9 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/0.4276, allocations: 194 kB / 482 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.831e-05/0.4277, allocations: 176.3 kB / 482.2 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.4278, allocations: 104.9 kB / 482.3 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.808e-05/0.4279, allocations: 180.3 kB / 482.5 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.4279, allocations: 105 kB / 482.6 MB, free: 7.668 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.085e-05/0.428, allocations: 87.27 kB / 482.7 MB, free: 7.582 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005556/0.4285, allocations: 159.9 kB / 482.8 MB, free: 7.426 MB / 362.7 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 () * 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 (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.001076/0.4296, allocations: 0.5764 MB / 483.4 MB, free: 6.891 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 2.822e-05/0.4297, allocations: 0 / 483.4 MB, free: 6.891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4297, allocations: 0 / 483.4 MB, free: 6.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.4297, allocations: 0 / 483.4 MB, free: 6.891 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.43, allocations: 0.5224 MB / 483.9 MB, free: 6.363 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001766/0.4301, allocations: 127.2 kB / 484.1 MB, free: 6.215 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.4304, allocations: 0.688 MB / 484.8 MB, free: 5.5 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4304, allocations: 0 / 484.8 MB, free: 5.5 MB / 362.7 MB Notification: Performance of Templates: time 0.005858/0.4363, allocations: 2.813 MB / 487.6 MB, free: 2.695 MB / 362.7 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)