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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 81.42 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 164 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.369/1.369, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo): time 0.006518/0.006518, allocations: 0.7959 MB / 260 MB, free: 15.91 MB / 254.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readLineWithoutCache.mo:2:1-87:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/writeLine.mo:2:1-61:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(KeyWordIO.Examples.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") translateModel(KeyWordIO.Examples.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.41e-07/7.41e-07, allocations: 0 / 382.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.528e-05/1.602e-05, allocations: 6.219 kB / 382.8 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.001974/0.00199, allocations: 1.226 MB / 384 MB, free: 2.523 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003189/0.005178, allocations: 2.126 MB / 386.1 MB, free: 396 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.58e-05/0.005194, allocations: 4 kB / 386.1 MB, free: 392 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.005211, allocations: 0 / 386.1 MB, free: 392 kB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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.12.1/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.001155/0.006366, allocations: 478.2 kB / 386.6 MB, free: 15.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.885e-06/0.006369, allocations: 0 / 386.6 MB, free: 15.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.571e-05/0.006405, allocations: 11.92 kB / 386.6 MB, free: 15.9 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.117e-05/0.006436, allocations: 4 kB / 386.6 MB, free: 15.9 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.956e-05/0.006455, allocations: 3.938 kB / 386.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007951/0.01441, allocations: 4 kB / 386.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.237e-06/0.01442, allocations: 0 / 386.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008949/0.01531, allocations: 0.4953 MB / 387.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.01532, allocations: 4 kB / 387.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.909e-06/0.01533, allocations: 0 / 387.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006451/0.01597, allocations: 474.8 kB / 387.6 MB, free: 14.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.01598, allocations: 0 / 387.6 MB, free: 14.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01598, allocations: 0 / 387.6 MB, free: 14.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.805e-06/0.01598, allocations: 0 / 387.6 MB, free: 14.93 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.0004061/0.01639, allocations: 353.3 kB / 387.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.01642, allocations: 11.97 kB / 387.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.01647, allocations: 80.22 kB / 388 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.01661, allocations: 185 kB / 388.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.868e-05/0.01668, allocations: 154.9 kB / 388.3 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.215e-05/0.01674, allocations: 150.9 kB / 388.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.199e-05/0.0168, allocations: 101.5 kB / 388.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.01684, allocations: 79.22 kB / 388.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.686e-05/0.01691, allocations: 158.6 kB / 388.8 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.249e-05/0.01697, allocations: 150.6 kB / 389 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.685e-05/0.01704, allocations: 162.5 kB / 389.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.0173, allocations: 393.6 kB / 389.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.501e-05/0.01739, allocations: 169.1 kB / 389.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.01742, allocations: 84.14 kB / 389.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.01746, allocations: 79.28 kB / 389.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.485e-05/0.01751, allocations: 105.8 kB / 389.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.01751, allocations: 0 / 389.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 6.654e-05/0.01758, allocations: 41.62 kB / 390 MB, free: 12.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.01765, allocations: 130.7 kB / 390.1 MB, free: 12.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.3e-05/0.01774, allocations: 97.86 kB / 390.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.01775, allocations: 29.7 kB / 390.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.0178, allocations: 80.14 kB / 390.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.52e-07/0.0178, allocations: 3.938 kB / 390.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.01782, allocations: 9.719 kB / 390.3 MB, free: 12.01 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.01795, allocations: 322.8 kB / 390.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-06/0.01795, allocations: 4 kB / 390.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.593e-06/0.01796, allocations: 0 / 390.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.051e-05/0.01799, allocations: 75.28 kB / 390.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.742e-05/0.01802, allocations: 79.28 kB / 390.8 MB, free: 11.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.18e-05/0.01809, allocations: 37.59 kB / 390.8 MB, free: 11.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.01812, allocations: 79.28 kB / 390.9 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.529e-05/0.01816, allocations: 75.28 kB / 391 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.039e-05/0.01823, allocations: 162.4 kB / 391.1 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.259e-05/0.01826, allocations: 75.28 kB / 391.2 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.996e-05/0.01832, allocations: 158.5 kB / 391.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.736e-05/0.0184, allocations: 83.22 kB / 391.5 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.01843, allocations: 79.28 kB / 391.5 MB, free: 10.78 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: 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.0001224/0.01855, allocations: 256.4 kB / 391.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.608e-05/0.01861, allocations: 108.9 kB / 391.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.042e-05/0.01867, allocations: 111.9 kB / 392 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.353e-05/0.01876, allocations: 188.2 kB / 392.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-05/0.01883, allocations: 180.2 kB / 392.4 MB, free: 9.914 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.742e-05/0.01891, allocations: 180.2 kB / 392.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.01912, allocations: 356.8 kB / 392.9 MB, free: 9.344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.297e-05/0.01917, allocations: 105.3 kB / 393 MB, free: 9.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.308e-05/0.01923, allocations: 109 kB / 393.1 MB, free: 9.121 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.161e-05/0.0193, allocations: 184.2 kB / 393.3 MB, free: 8.934 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-05/0.01938, allocations: 180.3 kB / 393.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.829e-05/0.01946, allocations: 188.2 kB / 393.6 MB, free: 8.559 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-05/0.01953, allocations: 180.2 kB / 393.8 MB, free: 8.375 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.01968, allocations: 303.8 kB / 394.1 MB, free: 8.055 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.01973, allocations: 105 kB / 394.2 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.967e-05/0.01981, allocations: 184.2 kB / 394.4 MB, free: 7.758 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.747e-05/0.0199, allocations: 101 kB / 394.5 MB, free: 7.652 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.01998, allocations: 188.1 kB / 394.7 MB, free: 7.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.02002, allocations: 105 kB / 394.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.599e-05/0.02007, allocations: 87.27 kB / 394.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02007, allocations: 0 / 394.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004922/0.02056, allocations: 155.5 kB / 395 MB, free: 7.113 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: 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.001167/0.02173, allocations: 0.6033 MB / 395.6 MB, free: 6.578 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 3.391e-05/0.02176, allocations: 0 / 395.6 MB, free: 6.578 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.02176, allocations: 8 kB / 395.6 MB, free: 6.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.025e-06/0.02177, allocations: 3.938 kB / 395.6 MB, free: 6.566 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.02214, allocations: 455.7 kB / 396.1 MB, free: 6.117 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002143/0.02235, allocations: 160.1 kB / 396.2 MB, free: 5.934 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.087e-05/0.0224, allocations: 59.34 kB / 396.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.592e-06/0.02241, allocations: 0 / 396.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.937e-05/0.02243, allocations: 12.5 kB / 396.3 MB, free: 5.844 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.02243, allocations: 0 / 396.3 MB, free: 5.844 MB / 318.1 MB Notification: Performance of Templates: time 0.006504/0.02893, allocations: 3.209 MB / 399.5 MB, free: 2.633 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.9976167865097523] Failed to read output from testmodel.py, exit status != 0: 0.036378875374794006 0.050324761 0.031285360000000005 Calling exit ...