Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealParameter.conf.json 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/KeyWordIO 0.11.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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) Running command: "" <> buildModelFMU(KeyWordIO.Examples.ReadRealParameter,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadRealParameter,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealParameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001902/0.001903, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.007845/0.007845, allocations: 0.9744 MB / 14.23 MB, free: 1.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 221.3 MB / 236.3 MB, free: 2.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008946/0.0008946, allocations: 90.38 kB / 287.5 MB, free: 5.691 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.711e-05/3.722e-05, allocations: 0 / 346.1 MB, free: 6.059 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1066, allocations: 50.62 MB / 396.7 MB, free: 3.391 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4038/0.5105, allocations: 79.06 MB / 475.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/0.5108, allocations: 69.83 kB / 475.9 MB, free: 13.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01613/0.5269, allocations: 6.27 MB / 482.1 MB, free: 9.605 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5269, allocations: 0 / 482.1 MB, free: 9.605 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.527, allocations: 0 / 482.1 MB, free: 9.605 MB / 346.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.0005163/0.5275, allocations: 437.2 kB / 482.6 MB, free: 9.141 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.5276, allocations: 12.03 kB / 482.6 MB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.464e-05/0.5276, allocations: 105.8 kB / 482.7 MB, free: 9.016 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.5277, allocations: 83.27 kB / 482.8 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.5278, allocations: 244.5 kB / 483 MB, free: 8.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.5279, allocations: 150.6 kB / 483.1 MB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.5279, allocations: 150.6 kB / 483.3 MB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.906e-05/0.5279, allocations: 101.5 kB / 483.4 MB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.528, allocations: 79.22 kB / 483.5 MB, free: 8.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.528, allocations: 158.2 kB / 483.6 MB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.528, allocations: 154.6 kB / 483.8 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.548e-05/0.5281, allocations: 152.9 kB / 483.9 MB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.5283, allocations: 444.7 kB / 484.4 MB, free: 7.246 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.891e-05/0.5284, allocations: 173.1 kB / 484.5 MB, free: 7.066 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/0.5285, allocations: 84.08 kB / 484.6 MB, free: 6.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.5285, allocations: 78.22 kB / 484.7 MB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.5285, allocations: 105.8 kB / 484.8 MB, free: 6.793 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.5285, allocations: 0 / 484.8 MB, free: 6.793 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001022/0.5287, allocations: 33.64 kB / 484.8 MB, free: 6.754 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.5287, allocations: 134.7 kB / 485 MB, free: 6.609 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.5289, allocations: 93.28 kB / 485 MB, free: 6.516 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.5289, allocations: 25.7 kB / 485.1 MB, free: 6.484 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.5289, allocations: 80.14 kB / 485.1 MB, free: 6.402 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-06/0.5289, allocations: 0 / 485.1 MB, free: 6.402 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.4e-07/0.529, allocations: 4 kB / 485.2 MB, free: 6.398 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.363e-05/0.5291, allocations: 313.5 kB / 485.5 MB, free: 6.086 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.963e-06/0.5291, allocations: 7.875 kB / 485.5 MB, free: 6.078 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.519e-06/0.5291, allocations: 0 / 485.5 MB, free: 6.078 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.624e-05/0.5291, allocations: 79.28 kB / 485.5 MB, free: 6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.202e-05/0.5291, allocations: 81.89 kB / 485.6 MB, free: 5.922 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.306e-05/0.5292, allocations: 29.7 kB / 485.7 MB, free: 5.887 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.5293, allocations: 79.28 kB / 485.7 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.5293, allocations: 79.22 kB / 485.8 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.359e-05/0.5294, allocations: 154.6 kB / 486 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.265e-05/0.5294, allocations: 78.59 kB / 486 MB, free: 5.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-05/0.5294, allocations: 162.5 kB / 486.2 MB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.341e-05/0.5295, allocations: 75.33 kB / 486.3 MB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.5296, allocations: 91.39 kB / 486.4 MB, free: 5.18 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.075e-05/0.5297, allocations: 251.5 kB / 486.6 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.5297, allocations: 101.8 kB / 486.7 MB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.5298, allocations: 121.4 kB / 486.8 MB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/0.5298, allocations: 180.2 kB / 487 MB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.366e-05/0.5299, allocations: 180.2 kB / 487.2 MB, free: 4.336 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.565e-05/0.5299, allocations: 184.2 kB / 487.4 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.5301, allocations: 400.4 kB / 487.7 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.737e-05/0.5301, allocations: 109 kB / 487.8 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.338e-05/0.5302, allocations: 104.9 kB / 488 MB, free: 3.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-05/0.5302, allocations: 185 kB / 488.1 MB, free: 3.297 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/0.5303, allocations: 183.3 kB / 488.3 MB, free: 3.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.709e-05/0.5303, allocations: 176.3 kB / 488.5 MB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.295e-05/0.5304, allocations: 180.2 kB / 488.7 MB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.5305, allocations: 315.2 kB / 489 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.5305, allocations: 186 kB / 489.1 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.615e-05/0.5306, allocations: 184.7 kB / 489.3 MB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.5307, allocations: 101 kB / 489.4 MB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.5307, allocations: 191.8 kB / 489.6 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.5308, allocations: 105 kB / 489.7 MB, free: 1.621 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.567e-05/0.5308, allocations: 81.16 kB / 489.8 MB, free: 1.543 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5308, allocations: 0 / 489.8 MB, free: 1.543 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008232/0.5317, allocations: 170 kB / 490 MB, free: 1.387 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001673/0.5333, allocations: 1.206 MB / 491.2 MB, free: 16.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.488e-05/0.5334, allocations: 7.938 kB / 491.2 MB, free: 16.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5334, allocations: 4 kB / 491.2 MB, free: 16.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.5334, allocations: 0 / 491.2 MB, free: 16.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.5338, allocations: 0.5146 MB / 491.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006372/0.5344, allocations: 252 kB / 491.9 MB, free: 15.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.5347, allocations: 0.677 MB / 492.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.401e-05/0.5348, allocations: 4 kB / 492.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.5348, allocations: 17.2 kB / 492.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5348, allocations: 0 / 492.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.5522, allocations: 3.735 MB / 496.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.5525, allocations: 178.3 kB / 496.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.265, allocations: 0 / 496.5 MB, free: 10.94 MB / 362.7 MB (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealParameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadRealParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadRealParameter.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1)