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.001625/0.001625, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001721/0.001721, allocations: 216.2 kB / 22.26 MB, free: 5.113 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.591/1.591, allocations: 230.6 MB / 256 MB, free: 8.016 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.008017/0.008017, allocations: 1.011 MB / 313.4 MB, free: 2.102 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.002075/0.002075, allocations: 63.89 kB / 435.7 MB, free: 16.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1316, allocations: 53.58 MB / 489.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.002944/0.1346, allocations: 1.227 MB / 490.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004498/0.1391, allocations: 2.294 MB / 492.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.1391, allocations: 0 / 492.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/0.1391, allocations: 7.875 kB / 492.8 MB, free: 7.414 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.001706/0.1408, allocations: 0.5023 MB / 493.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.759e-06/0.1408, allocations: 0 / 493.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.471e-05/0.1409, allocations: 11.94 kB / 493.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.1409, allocations: 3.984 kB / 493.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.016e-05/0.1409, allocations: 4 kB / 493.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003415/0.1413, allocations: 13.92 kB / 493.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.1413, allocations: 0 / 493.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009713/0.1423, allocations: 0.5658 MB / 493.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.1423, allocations: 4 kB / 493.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.341e-05/0.1423, allocations: 4 kB / 493.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005664/0.1429, allocations: 415.2 kB / 494.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1429, allocations: 0 / 494.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1429, allocations: 0 / 494.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.882e-06/0.1429, allocations: 0 / 494.4 MB, free: 5.898 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.0006345/0.1435, allocations: 361.2 kB / 494.7 MB, free: 5.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1436, allocations: 8.031 kB / 494.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.978e-05/0.1436, allocations: 114 kB / 494.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.934e-05/0.1437, allocations: 80.2 kB / 494.9 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.1439, allocations: 185.8 kB / 495.1 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.526e-05/0.144, allocations: 150.9 kB / 495.2 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.042e-05/0.1441, allocations: 158.5 kB / 495.4 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.142e-05/0.1441, allocations: 104.9 kB / 495.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.441e-05/0.1442, allocations: 79.28 kB / 495.6 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.1443, allocations: 150.6 kB / 495.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/0.1444, allocations: 154.6 kB / 495.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.771e-05/0.1445, allocations: 150.6 kB / 496 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.1449, allocations: 421 kB / 496.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.145, allocations: 177 kB / 496.6 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/0.145, allocations: 92.11 kB / 496.7 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.246e-05/0.1451, allocations: 79.28 kB / 496.8 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.709e-05/0.1451, allocations: 105.8 kB / 496.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.1451, allocations: 0 / 496.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.662e-05/0.1452, allocations: 33.69 kB / 496.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.331e-05/0.1453, allocations: 126.7 kB / 497 MB, free: 3.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.1456, allocations: 101.9 kB / 497.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.1456, allocations: 29.69 kB / 497.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.1457, allocations: 88.14 kB / 497.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.1457, allocations: 3.938 kB / 497.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.1457, allocations: 9.719 kB / 497.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1459, allocations: 310.8 kB / 497.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.134e-06/0.1459, allocations: 4 kB / 497.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-06/0.1459, allocations: 4 kB / 497.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.672e-05/0.1459, allocations: 75.28 kB / 497.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.374e-05/0.146, allocations: 75.28 kB / 497.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.47e-05/0.146, allocations: 29.64 kB / 497.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.172e-05/0.1461, allocations: 83.28 kB / 497.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.684e-05/0.1461, allocations: 87.2 kB / 497.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.94e-05/0.1462, allocations: 154.6 kB / 498.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.527e-05/0.1463, allocations: 75.28 kB / 498.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.344e-05/0.1463, allocations: 162.4 kB / 498.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.758e-05/0.1464, allocations: 75.28 kB / 498.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.1465, allocations: 79.47 kB / 498.4 MB, free: 1.598 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.0003101/0.1468, allocations: 272.3 kB / 498.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.872e-05/0.1469, allocations: 105 kB / 498.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.79e-05/0.1469, allocations: 104.1 kB / 498.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-05/0.147, allocations: 188.2 kB / 499.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.783e-05/0.1471, allocations: 176.3 kB / 499.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.217e-05/0.1472, allocations: 180.2 kB / 499.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.1475, allocations: 388.2 kB / 499.8 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.093e-05/0.1475, allocations: 101 kB / 499.9 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.459e-05/0.1476, allocations: 108.9 kB / 0.4883 GB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.125e-05/0.1477, allocations: 180.3 kB / 0.4885 GB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/0.1478, allocations: 184.2 kB / 0.4887 GB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000138/0.148, allocations: 176.3 kB / 0.4888 GB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.383e-05/0.148, allocations: 184.6 kB / 0.489 GB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.1482, allocations: 311.7 kB / 0.4893 GB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-05/0.1483, allocations: 112.9 kB / 0.4894 GB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.98e-05/0.1484, allocations: 176.3 kB / 0.4896 GB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.256e-05/0.1485, allocations: 108.9 kB / 0.4897 GB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.1485, allocations: 180.2 kB / 0.4898 GB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.1486, allocations: 108.9 kB / 0.4899 GB, free: 14.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.105e-05/0.1487, allocations: 83.28 kB / 0.49 GB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1487, allocations: 0 / 0.49 GB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007967/0.1494, allocations: 167.4 kB / 0.4902 GB, free: 13.88 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.002064/0.1515, allocations: 1.211 MB / 0.4914 GB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.197e-05/0.1516, allocations: 8 kB / 0.4914 GB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1516, allocations: 0 / 0.4914 GB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.1516, allocations: 0 / 0.4914 GB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.152, allocations: 459.6 kB / 0.4918 GB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.1537, allocations: 1.661 MB / 0.4934 GB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.1541, allocations: 0.673 MB / 0.4941 GB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.385e-05/0.1541, allocations: 4 kB / 0.4941 GB, free: 9.809 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.1541, allocations: 19.42 kB / 0.4941 GB, free: 9.789 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1541, allocations: 0 / 0.4941 GB, free: 9.789 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04141/0.1956, allocations: 4.679 MB / 0.4987 GB, free: 5.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.28, allocations: 3.25 kB / 0.4987 GB, free: 5.23 MB / 366.1 MB " [Timeout remaining time 647] (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: 16.38819859083742] Failed to read output from testmodel.py, exit status != 0: 13.392794553888962 13.716513301 13.570214557 Calling exit ...