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.001806/0.001806, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001424/0.001424, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.375/1.375, allocations: 230.6 MB / 256 MB, free: 7.777 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.006818/0.006818, allocations: 1.004 MB / 313.4 MB, free: 1.879 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.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: KeyWordIO requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.91 kB / 435.7 MB, free: 16.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08494/0.08687, allocations: 53.58 MB / 489.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.002164/0.08904, allocations: 1.218 MB / 490.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00332/0.09236, allocations: 2.189 MB / 492.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.789e-05/0.09238, allocations: 0 / 492.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.182e-05/0.0924, allocations: 3.938 kB / 492.6 MB, free: 7.316 MB / 350.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/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.001232/0.09363, allocations: 0.5101 MB / 493.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.226e-06/0.09363, allocations: 0 / 493.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.815e-05/0.09368, allocations: 11.94 kB / 493.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.09372, allocations: 0 / 493.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.243e-05/0.09374, allocations: 11.94 kB / 493.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.657e-05/0.09382, allocations: 11.97 kB / 493.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.09383, allocations: 0 / 493.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008381/0.09467, allocations: 0.5073 MB / 493.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.09468, allocations: 3.938 kB / 493.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.0947, allocations: 7.938 kB / 493.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005814/0.09528, allocations: 399.3 kB / 494.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.09528, allocations: 0 / 494.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.09528, allocations: 0 / 494.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.09529, allocations: 0 / 494.1 MB, free: 5.859 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.0004629/0.09575, allocations: 369.2 kB / 494.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.0958, allocations: 12.03 kB / 494.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.852e-05/0.09586, allocations: 106 kB / 494.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.831e-05/0.09593, allocations: 76.22 kB / 494.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.0961, allocations: 189.7 kB / 494.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/0.09617, allocations: 154.9 kB / 495 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.09623, allocations: 158.5 kB / 495.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.107e-05/0.09631, allocations: 105 kB / 495.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/0.09635, allocations: 75.28 kB / 495.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.891e-05/0.09641, allocations: 150.6 kB / 495.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.665e-05/0.09648, allocations: 158.6 kB / 495.6 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.736e-05/0.09656, allocations: 158.5 kB / 495.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.09687, allocations: 417 kB / 496.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.949e-05/0.09697, allocations: 169.1 kB / 496.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/0.09701, allocations: 84.19 kB / 496.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.214e-05/0.09706, allocations: 79.28 kB / 496.5 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.265e-05/0.09712, allocations: 113.8 kB / 496.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.09712, allocations: 0 / 496.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.528e-05/0.0972, allocations: 33.64 kB / 496.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.09726, allocations: 126.7 kB / 496.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.09738, allocations: 109.8 kB / 496.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.0974, allocations: 29.7 kB / 496.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.09744, allocations: 80.14 kB / 497 MB, free: 2.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.09744, allocations: 0 / 497 MB, free: 2.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.09747, allocations: 13.72 kB / 497 MB, free: 2.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.09761, allocations: 310.8 kB / 497.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.662e-06/0.09761, allocations: 7.938 kB / 497.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.976e-06/0.09762, allocations: 0 / 497.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.503e-05/0.09765, allocations: 75.28 kB / 497.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-05/0.09768, allocations: 79.28 kB / 497.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.244e-05/0.09775, allocations: 33.58 kB / 497.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.574e-05/0.09779, allocations: 87.27 kB / 497.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.822e-05/0.09783, allocations: 79.28 kB / 497.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.849e-05/0.09791, allocations: 154.5 kB / 497.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.78e-05/0.09794, allocations: 75.28 kB / 497.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.766e-05/0.09799, allocations: 154.6 kB / 498 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.877e-05/0.09807, allocations: 79.22 kB / 498.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.0981, allocations: 79.28 kB / 498.2 MB, free: 1.555 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.0001367/0.09824, allocations: 264.3 kB / 498.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.707e-05/0.09831, allocations: 108.9 kB / 498.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.063e-05/0.09836, allocations: 108.1 kB / 498.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.826e-05/0.09843, allocations: 176.3 kB / 498.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.456e-05/0.0985, allocations: 188.2 kB / 499 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-05/0.09857, allocations: 184.2 kB / 499.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.0988, allocations: 380.2 kB / 499.6 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-05/0.09886, allocations: 105 kB / 499.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.0989, allocations: 105 kB / 499.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.34e-05/0.09897, allocations: 184.2 kB / 500 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.016e-05/0.09904, allocations: 176.3 kB / 0.4884 GB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.475e-05/0.09912, allocations: 180.2 kB / 0.4886 GB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-05/0.09919, allocations: 180.9 kB / 0.4887 GB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.09934, allocations: 319.7 kB / 0.4891 GB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.09938, allocations: 101 kB / 0.4891 GB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.347e-05/0.09946, allocations: 192.2 kB / 0.4893 GB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.09955, allocations: 101 kB / 0.4894 GB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.09962, allocations: 192.2 kB / 0.4896 GB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.09967, allocations: 104.9 kB / 0.4897 GB, free: 14.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.725e-05/0.09971, allocations: 79.28 kB / 0.4898 GB, free: 14 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.09971, allocations: 0 / 0.4898 GB, free: 14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005386/0.1003, allocations: 167.4 kB / 0.4899 GB, free: 13.84 MB / 366.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.001614/0.1019, allocations: 1.224 MB / 0.4911 GB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.94e-05/0.1019, allocations: 7.938 kB / 0.4912 GB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.1019, allocations: 0 / 0.4912 GB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.1019, allocations: 0 / 0.4912 GB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.1023, allocations: 467.6 kB / 0.4916 GB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.1036, allocations: 1.661 MB / 0.4932 GB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.939e-05/0.1037, allocations: 63.36 kB / 0.4933 GB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.456e-05/0.1037, allocations: 7.984 kB / 0.4933 GB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.1037, allocations: 11.44 kB / 0.4933 GB, free: 10.36 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1037, allocations: 0 / 0.4933 GB, free: 10.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03252/0.1363, allocations: 5.091 MB / 0.4983 GB, free: 5.391 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.71, allocations: 7.062 kB / 0.4983 GB, free: 5.387 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.204183807130903] Failed to read output from testmodel.py, exit status != 0: 10.810816874261945 10.977777568 10.880173717 Calling exit ...