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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo", uses=false) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008119/0.008125, allocations: 99.44 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 195.2 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.006957/0.006957, allocations: 1.013 MB / 291.6 MB, free: 1.172 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 59.91 kB / 402.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2384, allocations: 49.65 MB / 452.1 MB, free: 22.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001792/0.2403, allocations: 1.215 MB / 453.3 MB, free: 21.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.2426, allocations: 2.073 MB / 455.4 MB, free: 19.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.2426, allocations: 0 / 455.4 MB, free: 19.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.2426, allocations: 3.469 kB / 455.4 MB, free: 19.85 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.001017/0.2437, allocations: 492.5 kB / 455.9 MB, free: 19.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.797e-06/0.2437, allocations: 4 kB / 455.9 MB, free: 19.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.837e-05/0.2437, allocations: 9.281 kB / 455.9 MB, free: 19.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.223e-05/0.2438, allocations: 0 / 455.9 MB, free: 19.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.466e-05/0.2438, allocations: 6.656 kB / 455.9 MB, free: 19.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.2439, allocations: 13.39 kB / 455.9 MB, free: 19.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.904e-06/0.2439, allocations: 2.688 kB / 455.9 MB, free: 19.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005734/0.2445, allocations: 0.5204 MB / 456.5 MB, free: 19.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.71e-06/0.2445, allocations: 0 / 456.5 MB, free: 19.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.2445, allocations: 6.969 kB / 456.5 MB, free: 19.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004303/0.245, allocations: 384.3 kB / 456.8 MB, free: 19.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.245, allocations: 0 / 456.8 MB, free: 19.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.245, allocations: 0 / 456.8 MB, free: 19.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.245, allocations: 0 / 456.8 MB, free: 19.32 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.000322/0.2453, allocations: 431.2 kB / 457.3 MB, free: 18.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2454, allocations: 9.281 kB / 457.3 MB, free: 18.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.47e-05/0.2454, allocations: 106.7 kB / 457.4 MB, free: 18.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.2454, allocations: 79.34 kB / 457.5 MB, free: 18.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.971e-05/0.2455, allocations: 245.7 kB / 457.7 MB, free: 18.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.2456, allocations: 150.9 kB / 457.8 MB, free: 18.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.2456, allocations: 158.5 kB / 458 MB, free: 18.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.458e-05/0.2456, allocations: 109.7 kB / 458.1 MB, free: 18.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2457, allocations: 78.47 kB / 458.2 MB, free: 17.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.2457, allocations: 150.6 kB / 458.3 MB, free: 17.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.2457, allocations: 150.6 kB / 458.5 MB, free: 17.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/0.2457, allocations: 151.5 kB / 458.6 MB, free: 17.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.2459, allocations: 453 kB / 459.1 MB, free: 17.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.039e-05/0.2459, allocations: 177 kB / 459.2 MB, free: 16.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.307e-05/0.2459, allocations: 80.14 kB / 459.3 MB, free: 16.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.246, allocations: 78.47 kB / 459.4 MB, free: 16.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.246, allocations: 109.8 kB / 459.5 MB, free: 16.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.246, allocations: 0 / 459.5 MB, free: 16.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.026e-05/0.2461, allocations: 29.66 kB / 459.5 MB, free: 16.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.2461, allocations: 133 kB / 459.7 MB, free: 16.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.886e-05/0.2462, allocations: 107.2 kB / 459.8 MB, free: 16.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.529e-06/0.2462, allocations: 29.64 kB / 459.8 MB, free: 16.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.676e-05/0.2462, allocations: 87.23 kB / 459.9 MB, free: 16.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.232e-06/0.2462, allocations: 0 / 459.9 MB, free: 16.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/0.2462, allocations: 13.72 kB / 459.9 MB, free: 16.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.969e-05/0.2463, allocations: 310.8 kB / 460.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.737e-06/0.2463, allocations: 0 / 460.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.597e-06/0.2463, allocations: 7.203 kB / 460.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.106e-05/0.2463, allocations: 75.28 kB / 460.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.2463, allocations: 75.28 kB / 460.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.402e-05/0.2464, allocations: 35.97 kB / 460.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.2464, allocations: 78.44 kB / 460.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.2464, allocations: 86.31 kB / 460.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/0.2464, allocations: 150.6 kB / 460.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.478e-06/0.2464, allocations: 87.16 kB / 460.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.2465, allocations: 153.7 kB / 460.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.18e-05/0.2465, allocations: 78.81 kB / 461 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.2465, allocations: 79.22 kB / 461.1 MB, free: 14.95 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 4.435e-05/0.2466, allocations: 269 kB / 461.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.2466, allocations: 105 kB / 461.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.158e-05/0.2467, allocations: 115.2 kB / 461.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.2467, allocations: 179.5 kB / 461.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.981e-05/0.2467, allocations: 176.3 kB / 461.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/0.2467, allocations: 187.4 kB / 462.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.2468, allocations: 404.1 kB / 462.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.2469, allocations: 107.9 kB / 462.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.314e-05/0.2469, allocations: 104.4 kB / 462.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.817e-05/0.2469, allocations: 176.3 kB / 462.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.2469, allocations: 187.4 kB / 463 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.805e-05/0.247, allocations: 180.3 kB / 463.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.059e-05/0.247, allocations: 187.6 kB / 463.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.583e-05/0.247, allocations: 302 kB / 463.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.2471, allocations: 186 kB / 463.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.2471, allocations: 183.5 kB / 464.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.404e-05/0.2472, allocations: 108.5 kB / 464.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.2472, allocations: 176.3 kB / 464.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.2472, allocations: 101 kB / 464.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.731e-05/0.2472, allocations: 92.91 kB / 464.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2472, allocations: 0 / 464.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004155/0.2477, allocations: 144.3 kB / 464.7 MB, free: 11.29 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.001163/0.2488, allocations: 1.225 MB / 465.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 3.646e-05/0.2489, allocations: 4 kB / 465.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2489, allocations: 0 / 465.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.746e-06/0.2489, allocations: 3.938 kB / 465.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.2492, allocations: 458.7 kB / 466.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008262/0.25, allocations: 1.655 MB / 468 MB, free: 8.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.437e-05/0.2501, allocations: 0.6792 MB / 468.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.518e-06/0.2501, allocations: 3.156 kB / 468.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.2501, allocations: 13.66 kB / 468.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2501, allocations: 3.938 kB / 468.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03159/0.2817, allocations: 4.197 MB / 472.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/8.109, allocations: 3.938 kB / 472.9 MB, free: 6.875 MB / 350.1 MB (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 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadReal_m.fmu > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1)