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.001387/0.001387, allocations: 120 kB / 17.17 MB, free: 5.977 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.001519/0.001519, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.486/1.486, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.006571/0.006571, allocations: 1.01 MB / 310.6 MB, free: 3.301 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadReal_m,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadReal_m",fmuType="cs",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.001981/0.001981, allocations: 68.52 kB / 431.3 MB, free: 40.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08481/0.0868, allocations: 53.53 MB / 484.8 MB, free: 18.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.002095/0.08889, allocations: 1.222 MB / 486 MB, free: 17.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002798/0.09169, allocations: 2.198 MB / 488.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.239e-05/0.09171, allocations: 1.062 kB / 488.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.28e-05/0.09173, allocations: 0 / 488.2 MB, free: 15.66 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.001233/0.09297, allocations: 0.5034 MB / 488.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.056e-06/0.09297, allocations: 1.406 kB / 488.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.519e-05/0.09302, allocations: 9.656 kB / 488.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.09305, allocations: 3.984 kB / 488.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.624e-05/0.09307, allocations: 4.469 kB / 488.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.09333, allocations: 20.45 kB / 488.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.09334, allocations: 0 / 488.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007549/0.0941, allocations: 0.5515 MB / 489.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.462e-06/0.0941, allocations: 1.406 kB / 489.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.846e-05/0.09412, allocations: 14.11 kB / 489.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005049/0.09463, allocations: 407.2 kB / 489.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.09463, allocations: 0 / 489.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09463, allocations: 1.344 kB / 489.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.09464, allocations: 0 / 489.7 MB, free: 14.8 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.0003919/0.09504, allocations: 442.8 kB / 490.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.09508, allocations: 9.688 kB / 490.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.195e-05/0.0951, allocations: 76.59 kB / 490.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.519e-05/0.09513, allocations: 106 kB / 490.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.09517, allocations: 77.38 kB / 490.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.09529, allocations: 259 kB / 490.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.09532, allocations: 154.7 kB / 490.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.09534, allocations: 159.7 kB / 491 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.282e-05/0.09539, allocations: 101 kB / 491.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.0954, allocations: 76.41 kB / 491.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.09543, allocations: 150.6 kB / 491.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.09545, allocations: 150.6 kB / 491.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.5e-05/0.09547, allocations: 159.4 kB / 491.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.09565, allocations: 449.4 kB / 492 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.213e-05/0.09571, allocations: 170.1 kB / 492.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.09572, allocations: 84.08 kB / 492.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.09574, allocations: 75.28 kB / 492.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.09576, allocations: 110.9 kB / 492.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.09576, allocations: 1.094 kB / 492.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.653e-05/0.09583, allocations: 38.72 kB / 492.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.09586, allocations: 126.7 kB / 492.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.777e-05/0.09594, allocations: 102.2 kB / 492.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.15e-06/0.09595, allocations: 25.7 kB / 492.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.882e-05/0.09597, allocations: 89.94 kB / 492.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.09597, allocations: 0 / 492.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.672e-05/0.09599, allocations: 10.81 kB / 492.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.374e-05/0.09603, allocations: 316.1 kB / 493.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-06/0.09603, allocations: 0 / 493.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.414e-06/0.09604, allocations: 0 / 493.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.195e-05/0.09605, allocations: 76.69 kB / 493.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.09606, allocations: 83.22 kB / 493.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.563e-05/0.0961, allocations: 32.02 kB / 493.3 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.09613, allocations: 87.06 kB / 493.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.09614, allocations: 76.62 kB / 493.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-05/0.09617, allocations: 155.6 kB / 493.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.061e-05/0.09618, allocations: 79.22 kB / 493.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/0.0962, allocations: 152 kB / 493.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.664e-05/0.09626, allocations: 80.56 kB / 494 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.09627, allocations: 79.28 kB / 494 MB, free: 10.31 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 5.533e-05/0.09632, allocations: 267 kB / 494.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.09636, allocations: 106 kB / 494.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.09638, allocations: 113.6 kB / 494.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/0.09641, allocations: 177.6 kB / 494.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-05/0.09643, allocations: 184.2 kB / 494.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-05/0.09646, allocations: 181.5 kB / 495 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.09658, allocations: 408.3 kB / 495.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.0966, allocations: 101 kB / 495.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.515e-05/0.09661, allocations: 110.3 kB / 495.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-05/0.09663, allocations: 185.2 kB / 495.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.09666, allocations: 185.3 kB / 496 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.191e-05/0.09668, allocations: 181.1 kB / 496.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.311e-05/0.0967, allocations: 177.4 kB / 496.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.295e-05/0.09678, allocations: 316.3 kB / 496.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.0968, allocations: 183.3 kB / 496.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.09683, allocations: 181.6 kB / 497 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.694e-05/0.09689, allocations: 102.3 kB / 497.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.09693, allocations: 188.3 kB / 497.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.09694, allocations: 113.9 kB / 497.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.97e-05/0.09697, allocations: 80.84 kB / 497.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.09697, allocations: 4 kB / 497.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006457/0.09762, allocations: 165.9 kB / 497.7 MB, free: 6.578 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.001401/0.09902, allocations: 1.201 MB / 498.9 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.913e-05/0.09907, allocations: 5.125 kB / 498.9 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.09907, allocations: 0 / 498.9 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.994e-06/0.09907, allocations: 1.188 kB / 498.9 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.09935, allocations: 464.8 kB / 499.3 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.1006, allocations: 1.66 MB / 0.4892 GB, free: 3.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.1007, allocations: 0.672 MB / 0.4899 GB, free: 2.801 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.017e-05/0.1008, allocations: 5.375 kB / 0.4899 GB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.1008, allocations: 20.95 kB / 0.4899 GB, free: 2.781 MB / 350.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1008, allocations: 0 / 0.4899 GB, free: 2.781 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.1319, allocations: 4.6 MB / 0.4944 GB, free: 88 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.16, allocations: 0 / 0.4944 GB, free: 88 kB / 350.1 MB " [Timeout remaining time 652] (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: 10.765128412051126] Failed to read output from testmodel.py, exit status != 0: 8.446403712034225 8.307768455 8.209104546 Calling exit ...