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.005759/0.005759, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.001104/0.001104, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.006075/0.006075, allocations: 1.003 MB / 291.5 MB, free: 1.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001232, allocations: 59.39 kB / 403 MB, free: 9.141 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1157, allocations: 49.65 MB / 452.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.00202/0.1177, allocations: 1.187 MB / 453.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002973/0.1207, allocations: 2.02 MB / 455.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.336e-05/0.1208, allocations: 0 / 455.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.1208, allocations: 0 / 455.8 MB, free: 1.219 MB / 318.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.001196/0.122, allocations: 461.9 kB / 456.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.198e-06/0.122, allocations: 4 kB / 456.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.862e-05/0.1221, allocations: 7.938 kB / 456.3 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.962e-05/0.1221, allocations: 7.969 kB / 456.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.214e-05/0.1222, allocations: 7.938 kB / 456.3 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.1224, allocations: 4 kB / 456.3 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.494e-06/0.1224, allocations: 0 / 456.3 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006715/0.1231, allocations: 499.4 kB / 456.8 MB, free: 256 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.821e-06/0.1231, allocations: 0 / 456.8 MB, free: 256 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.1231, allocations: 7.938 kB / 456.8 MB, free: 248 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004682/0.1236, allocations: 347.5 kB / 457.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1236, allocations: 0 / 457.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1236, allocations: 4 kB / 457.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1236, allocations: 4 kB / 457.1 MB, free: 15.89 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.0004366/0.1241, allocations: 403.5 kB / 457.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1241, allocations: 8.031 kB / 457.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.05e-05/0.1242, allocations: 76.22 kB / 457.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.1244, allocations: 251.6 kB / 457.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.996e-05/0.1244, allocations: 154.9 kB / 458 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.925e-05/0.1245, allocations: 158.7 kB / 458.2 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.409e-05/0.1246, allocations: 101 kB / 458.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.1246, allocations: 75.28 kB / 458.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.264e-05/0.1247, allocations: 150.6 kB / 458.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.546e-05/0.1247, allocations: 154.6 kB / 458.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.665e-05/0.1248, allocations: 154.6 kB / 458.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.1251, allocations: 449.9 kB / 459.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.397e-05/0.1252, allocations: 173.1 kB / 459.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.596e-05/0.1252, allocations: 84.08 kB / 459.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.1253, allocations: 75.28 kB / 459.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.1253, allocations: 113.8 kB / 459.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.1253, allocations: 0 / 459.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.05e-05/0.1254, allocations: 29.64 kB / 459.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.1255, allocations: 130.7 kB / 459.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.741e-05/0.1256, allocations: 101.8 kB / 459.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.1256, allocations: 25.7 kB / 459.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/0.1256, allocations: 88.08 kB / 460 MB, free: 12.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.1256, allocations: 0 / 460 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.796e-05/0.1256, allocations: 13.72 kB / 460 MB, free: 12.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.873e-05/0.1258, allocations: 310.8 kB / 460.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-06/0.1258, allocations: 0 / 460.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-06/0.1258, allocations: 0 / 460.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.175e-05/0.1258, allocations: 75.28 kB / 460.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.258e-05/0.1258, allocations: 75.28 kB / 460.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.967e-05/0.1259, allocations: 49.56 kB / 460.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.126, allocations: 85.31 kB / 460.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/0.126, allocations: 79.28 kB / 460.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001354/0.1262, allocations: 150.6 kB / 460.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.807e-05/0.1262, allocations: 83.27 kB / 460.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.647e-05/0.1263, allocations: 150.6 kB / 461.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.153e-05/0.1263, allocations: 83.22 kB / 461.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.1264, allocations: 83.27 kB / 461.2 MB, free: 11.55 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.0001379/0.1265, allocations: 264.4 kB / 461.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/0.1266, allocations: 108.9 kB / 461.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.503e-05/0.1266, allocations: 108 kB / 461.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001138/0.1267, allocations: 176.3 kB / 461.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.673e-05/0.1268, allocations: 188.2 kB / 462.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.726e-05/0.1269, allocations: 180.3 kB / 462.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.1272, allocations: 405.1 kB / 462.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.452e-05/0.1273, allocations: 105 kB / 462.7 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.1274, allocations: 105 kB / 462.8 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.361e-05/0.1274, allocations: 180.2 kB / 463 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.855e-05/0.1275, allocations: 184.3 kB / 463.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.416e-05/0.1276, allocations: 184.1 kB / 463.4 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.153e-05/0.1277, allocations: 184.2 kB / 463.6 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.1278, allocations: 311.7 kB / 463.9 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.137e-05/0.1279, allocations: 182.3 kB / 464 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.06e-05/0.128, allocations: 184.2 kB / 464.2 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.73e-05/0.1281, allocations: 105 kB / 464.3 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.1281, allocations: 180.7 kB / 464.5 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.1282, allocations: 104.9 kB / 464.6 MB, free: 7.961 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.851e-05/0.1282, allocations: 83.28 kB / 464.7 MB, free: 7.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1282, allocations: 4 kB / 464.7 MB, free: 7.875 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004734/0.1287, allocations: 136 kB / 464.8 MB, free: 7.742 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.001041/0.1298, allocations: 0.5518 MB / 465.4 MB, free: 7.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 5.01e-05/0.1298, allocations: 4 kB / 465.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1298, allocations: 0 / 465.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.1298, allocations: 0 / 465.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.1302, allocations: 459.6 kB / 465.8 MB, free: 6.789 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/0.1305, allocations: 172.8 kB / 466 MB, free: 6.594 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.1307, allocations: 0.6727 MB / 466.7 MB, free: 5.895 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.428e-06/0.1307, allocations: 4 kB / 466.7 MB, free: 5.891 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.1307, allocations: 11.44 kB / 466.7 MB, free: 5.879 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1307, allocations: 3.938 kB / 466.7 MB, free: 5.875 MB / 334.1 MB Notification: Performance of Templates: time 0.005871/0.1366, allocations: 2.856 MB / 469.5 MB, free: 3.02 MB / 334.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)