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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 107.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.006959/0.006959, allocations: 1.016 MB / 303.7 MB, free: 8.773 MB / 238.1 MB " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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: "" <> buildModelFMU(KeyWordIO.Examples.ReadRealParameter,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadRealParameter,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealParameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 67.89 kB / 422 MB, free: 24.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08594/0.08779, allocations: 52.36 MB / 474.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002203/0.08999, allocations: 1.196 MB / 475.6 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003064/0.09305, allocations: 2.035 MB / 477.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.962e-05/0.09307, allocations: 0 / 477.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.09309, allocations: 0 / 477.6 MB, free: 1.168 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.0/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.001236/0.09432, allocations: 458.6 kB / 478.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.996e-06/0.09433, allocations: 0 / 478.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.133e-05/0.09437, allocations: 11.92 kB / 478.1 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.75e-05/0.09441, allocations: 0 / 478.1 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.819e-05/0.09442, allocations: 7.984 kB / 478.1 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.0948, allocations: 7.938 kB / 478.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.173e-06/0.09481, allocations: 4 kB / 478.1 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007505/0.09556, allocations: 499.4 kB / 478.6 MB, free: 204 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.241e-06/0.09556, allocations: 0 / 478.6 MB, free: 204 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.54e-05/0.09558, allocations: 4 kB / 478.6 MB, free: 200 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005179/0.0961, allocations: 355.4 kB / 478.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.0961, allocations: 4 kB / 479 MB, free: 15.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09611, allocations: 0 / 479 MB, free: 15.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.09611, allocations: 0 / 479 MB, free: 15.84 MB / 350.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.0004563/0.09657, allocations: 414.6 kB / 479.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.09661, allocations: 12.03 kB / 479.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.784e-05/0.09667, allocations: 106 kB / 479.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.09674, allocations: 76.22 kB / 479.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.09693, allocations: 251.6 kB / 479.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.227e-05/0.097, allocations: 150.9 kB / 479.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.446e-05/0.09706, allocations: 154.5 kB / 480.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.058e-05/0.09713, allocations: 105 kB / 480.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.708e-05/0.09717, allocations: 79.28 kB / 480.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.217e-05/0.09723, allocations: 150.6 kB / 480.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-05/0.09729, allocations: 150.6 kB / 480.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.292e-05/0.09735, allocations: 154.5 kB / 480.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.09766, allocations: 457.9 kB / 481.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.756e-05/0.09775, allocations: 169.1 kB / 481.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.296e-05/0.09779, allocations: 84.14 kB / 481.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.09782, allocations: 75.28 kB / 481.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/0.09787, allocations: 105.8 kB / 481.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.09787, allocations: 4 kB / 481.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.755e-05/0.09795, allocations: 37.58 kB / 481.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.09801, allocations: 130.6 kB / 481.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.09811, allocations: 101.8 kB / 481.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.09813, allocations: 25.7 kB / 481.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.09816, allocations: 84.14 kB / 482 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.242e-06/0.09817, allocations: 0 / 482 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.09819, allocations: 9.719 kB / 482 MB, free: 12.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.09832, allocations: 314.8 kB / 482.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-06/0.09832, allocations: 0 / 482.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-06/0.09833, allocations: 0 / 482.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.09836, allocations: 83.28 kB / 482.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.934e-05/0.09839, allocations: 75.28 kB / 482.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.992e-05/0.09845, allocations: 37.56 kB / 482.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.187e-05/0.09849, allocations: 83.28 kB / 482.6 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.588e-05/0.09853, allocations: 79.33 kB / 482.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.552e-05/0.0986, allocations: 158.5 kB / 482.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.967e-05/0.09863, allocations: 75.28 kB / 482.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.235e-05/0.09871, allocations: 158.5 kB / 483 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.09879, allocations: 79.22 kB / 483.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.09882, allocations: 79.27 kB / 483.2 MB, free: 11.38 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.0001289/0.09895, allocations: 268.3 kB / 483.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.031e-05/0.09902, allocations: 112.9 kB / 483.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.257e-05/0.09907, allocations: 104.1 kB / 483.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-05/0.09914, allocations: 176.3 kB / 483.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.522e-05/0.09924, allocations: 188.2 kB / 484 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.28e-05/0.09931, allocations: 180.3 kB / 484.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.09955, allocations: 409.1 kB / 484.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-05/0.0996, allocations: 105 kB / 484.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.046e-05/0.09964, allocations: 101 kB / 484.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.477e-05/0.09973, allocations: 184.2 kB / 485 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.014e-05/0.09982, allocations: 176.3 kB / 485.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-05/0.0999, allocations: 192.2 kB / 485.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.543e-05/0.09998, allocations: 180.2 kB / 485.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.1001, allocations: 307.9 kB / 485.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-05/0.1002, allocations: 182.1 kB / 486 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.91e-05/0.1003, allocations: 192.6 kB / 486.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.421e-05/0.1004, allocations: 101 kB / 486.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/0.1005, allocations: 180.2 kB / 486.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.1005, allocations: 117 kB / 486.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.081e-05/0.1006, allocations: 83.27 kB / 486.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1006, allocations: 0 / 486.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004884/0.1011, allocations: 139.5 kB / 486.8 MB, free: 7.551 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.00139/0.1024, allocations: 1.187 MB / 487.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 3.53e-05/0.1025, allocations: 7.938 kB / 488 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1025, allocations: 0 / 488 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.296e-06/0.1025, allocations: 3.984 kB / 488 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.1028, allocations: 451.7 kB / 488.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.1042, allocations: 1.633 MB / 490 MB, free: 4.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.1044, allocations: 0.6766 MB / 490.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.657e-06/0.1045, allocations: 0 / 490.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.1045, allocations: 15.44 kB / 490.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1045, allocations: 0 / 490.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.1302, allocations: 3.994 MB / 494.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.137, allocations: 4.938 kB / 494.7 MB, free: 15.6 MB / 366.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadRealParameter_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadRealParameter.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.457507187966257] Failed to read output from testmodel.py, exit status != 0: 8.208607795648277 8.230682747 8.130962096 Calling exit ...