Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadReal_m.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.00104/0.00104, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001344/0.001344, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.9038/0.9038, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 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.003669/0.003669, allocations: 0.8023 MB / 260 MB, free: 12.47 MB / 250.7 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: "" <> buildModelFMU(KeyWordIO.Examples.ReadReal_m,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadReal_m",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadReal_m,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadReal_m",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 382.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.159e-05, allocations: 2.281 kB / 382.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001714/0.001736, allocations: 1.217 MB / 383.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002346/0.004082, allocations: 2.181 MB / 385.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.509e-05/0.004107, allocations: 0 / 385.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.26e-05/0.00413, allocations: 3.938 kB / 385.7 MB, free: 12.26 MB / 362.7 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/readReal_m.mo:2:1-79:15:writable] Warning: Pure function 'KeyWordIO.readReal_m' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001298/0.005427, allocations: 0.5207 MB / 386.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.278e-06/0.005432, allocations: 0 / 386.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.759e-05/0.005479, allocations: 7.938 kB / 386.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.005521, allocations: 3.984 kB / 386.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.347e-05/0.005555, allocations: 4 kB / 386.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.036e-05/0.005625, allocations: 11.94 kB / 386.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.005636, allocations: 0 / 386.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007243/0.00636, allocations: 0.5187 MB / 386.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.194e-06/0.006367, allocations: 3.938 kB / 386.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.473e-05/0.006382, allocations: 4 kB / 386.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005108/0.006893, allocations: 0.491 MB / 387.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.006896, allocations: 4 kB / 387.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.006896, allocations: 0 / 387.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.0069, allocations: 0 / 387.2 MB, free: 10.69 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.0003444/0.007245, allocations: 361.3 kB / 387.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.007287, allocations: 8.031 kB / 387.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.619e-05/0.007333, allocations: 106 kB / 387.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.007378, allocations: 80.22 kB / 387.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.007503, allocations: 193 kB / 388 MB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/0.007541, allocations: 150.9 kB / 388.1 MB, free: 9.742 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.007577, allocations: 150.9 kB / 388.3 MB, free: 9.594 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.147e-05/0.007638, allocations: 109.3 kB / 388.4 MB, free: 9.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.007662, allocations: 79.28 kB / 388.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/0.007704, allocations: 158.5 kB / 388.6 MB, free: 9.246 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/0.00774, allocations: 150.6 kB / 388.7 MB, free: 9.098 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.982e-05/0.00778, allocations: 154.6 kB / 388.9 MB, free: 8.945 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/0.007977, allocations: 417 kB / 389.3 MB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.43e-05/0.008041, allocations: 181.1 kB / 389.5 MB, free: 8.309 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.199e-05/0.008063, allocations: 80.14 kB / 389.6 MB, free: 8.227 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.008084, allocations: 79.22 kB / 389.6 MB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.008115, allocations: 109.8 kB / 389.7 MB, free: 8.031 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.008116, allocations: 4 kB / 389.8 MB, free: 8.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.189e-05/0.008168, allocations: 29.7 kB / 389.8 MB, free: 7.992 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.008209, allocations: 126.7 kB / 389.9 MB, free: 7.855 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.309e-05/0.008293, allocations: 105.8 kB / 390 MB, free: 7.742 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.0083, allocations: 25.7 kB / 390 MB, free: 7.711 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.00833, allocations: 88.14 kB / 390.1 MB, free: 7.621 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.352e-06/0.008332, allocations: 0 / 390.1 MB, free: 7.621 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/0.008347, allocations: 9.719 kB / 390.1 MB, free: 7.605 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.437e-05/0.008422, allocations: 314.8 kB / 390.4 MB, free: 7.289 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.399e-06/0.008426, allocations: 0 / 390.4 MB, free: 7.289 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-06/0.00843, allocations: 7.938 kB / 390.4 MB, free: 7.281 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.892e-05/0.008449, allocations: 75.28 kB / 390.5 MB, free: 7.207 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/0.008467, allocations: 79.28 kB / 390.6 MB, free: 7.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.253e-05/0.0085, allocations: 29.7 kB / 390.6 MB, free: 7.094 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.008527, allocations: 83.22 kB / 390.7 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.008545, allocations: 75.28 kB / 390.8 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.785e-05/0.008593, allocations: 158.5 kB / 390.9 MB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.749e-05/0.00861, allocations: 79.28 kB / 391 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-05/0.008643, allocations: 154.5 kB / 391.2 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.788e-05/0.008691, allocations: 83.2 kB / 391.2 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.008708, allocations: 79.28 kB / 391.3 MB, free: 6.391 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 () * 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 7.927e-05/0.008788, allocations: 264.3 kB / 391.6 MB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.008832, allocations: 112.9 kB / 391.7 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.008866, allocations: 108.1 kB / 391.8 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.434e-05/0.00891, allocations: 188.2 kB / 392 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.264e-05/0.008963, allocations: 180.3 kB / 392.2 MB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.843e-05/0.009001, allocations: 180.5 kB / 392.3 MB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.009153, allocations: 380.2 kB / 392.7 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-05/0.009176, allocations: 105 kB / 392.8 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-05/0.009235, allocations: 108.9 kB / 392.9 MB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.285e-05/0.009278, allocations: 180.2 kB / 393.1 MB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.62e-05/0.009324, allocations: 184.1 kB / 393.3 MB, free: 4.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.485e-05/0.009369, allocations: 192.5 kB / 393.5 MB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.512e-05/0.009414, allocations: 176.3 kB / 393.6 MB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.009584, allocations: 299.8 kB / 393.9 MB, free: 3.625 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.009613, allocations: 112.9 kB / 394 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.009664, allocations: 188.2 kB / 394.2 MB, free: 3.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.718e-05/0.009711, allocations: 101 kB / 394.3 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.009756, allocations: 184.2 kB / 394.5 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.00978, allocations: 101 kB / 394.6 MB, free: 2.918 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.819e-05/0.009819, allocations: 91.27 kB / 394.7 MB, free: 2.828 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009819, allocations: 0 / 394.7 MB, free: 2.828 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003933/0.01021, allocations: 151.5 kB / 394.8 MB, free: 2.68 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 () * 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.00115/0.01136, allocations: 1.273 MB / 396.1 MB, free: 1.457 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 3.247e-05/0.01139, allocations: 3.938 kB / 396.1 MB, free: 1.453 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.0114, allocations: 0 / 396.1 MB, free: 1.453 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.375e-06/0.0114, allocations: 7.984 kB / 396.1 MB, free: 1.445 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.01164, allocations: 459.7 kB / 396.6 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009239/0.01256, allocations: 1.665 MB / 398.2 MB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.421e-05/0.0126, allocations: 59.34 kB / 398.3 MB, free: 15.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.085e-05/0.01261, allocations: 0 / 398.3 MB, free: 15.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.01264, allocations: 12.5 kB / 398.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01264, allocations: 0 / 398.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01988/0.03252, allocations: 5.262 MB / 403.6 MB, free: 10 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.608/6.64, allocations: 11.41 kB / 403.6 MB, free: 9.992 MB / 378.7 MB " [Timeout remaining time 653] (rm -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadReal_m.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadReal_m_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadReal_m.fmu > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.383833887986839] Failed to read output from testmodel.py, exit status != 0: 6.7216767724603415 6.733970264 6.724613213 Calling exit ...