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.001012/0.001012, allocations: 178.9 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.004775/0.004775, allocations: 0.9673 MB / 9.042 MB, free: 8 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 221.5 MB / 231.2 MB, free: 6.371 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.0009263/0.0009265, allocations: 90.39 kB / 282.3 MB, free: 3.914 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.752e-05/1.763e-05, allocations: 4 kB / 339.2 MB, free: 8.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1184, allocations: 50.64 MB / 389.9 MB, free: 5.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3977/0.5162, allocations: 78.38 MB / 468.2 MB, free: 14.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.5165, allocations: 67.97 kB / 468.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01684/0.5333, allocations: 6.123 MB / 474.4 MB, free: 7.871 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5334, allocations: 3.938 kB / 474.4 MB, free: 7.867 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.5334, allocations: 0 / 474.4 MB, free: 7.867 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.0005096/0.5339, allocations: 438.4 kB / 474.9 MB, free: 7.395 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.534, allocations: 12.03 kB / 474.9 MB, free: 7.383 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.5341, allocations: 75.28 kB / 475 MB, free: 7.309 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.5342, allocations: 246.3 kB / 475.2 MB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.5343, allocations: 150.6 kB / 475.3 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.411e-05/0.5344, allocations: 150.6 kB / 475.5 MB, free: 6.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.862e-05/0.5344, allocations: 150.6 kB / 475.6 MB, free: 6.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.86e-05/0.5345, allocations: 108.9 kB / 475.7 MB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.5345, allocations: 79.28 kB / 475.8 MB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-05/0.5346, allocations: 154.6 kB / 476 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-05/0.5346, allocations: 150.6 kB / 476.1 MB, free: 6.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.5349, allocations: 430.4 kB / 476.5 MB, free: 5.633 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.014e-05/0.535, allocations: 173.1 kB / 476.7 MB, free: 5.453 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.535, allocations: 80.14 kB / 476.8 MB, free: 5.371 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.535, allocations: 75.28 kB / 476.9 MB, free: 5.297 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.5351, allocations: 105.8 kB / 477 MB, free: 5.184 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.5351, allocations: 4 kB / 477 MB, free: 5.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 7.17e-05/0.5352, allocations: 25.7 kB / 477 MB, free: 5.148 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.5352, allocations: 55.34 kB / 477 MB, free: 5.082 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.806e-05/0.5353, allocations: 108.9 kB / 477.2 MB, free: 4.969 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.5353, allocations: 25.7 kB / 477.2 MB, free: 4.938 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/0.5354, allocations: 80.14 kB / 477.3 MB, free: 4.855 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.162e-06/0.5354, allocations: 0 / 477.3 MB, free: 4.855 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-06/0.5354, allocations: 0 / 477.3 MB, free: 4.855 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.5355, allocations: 315.6 kB / 477.6 MB, free: 4.539 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.196e-06/0.5355, allocations: 8 kB / 477.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-06/0.5355, allocations: 0 / 477.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.362e-05/0.5355, allocations: 75.28 kB / 477.6 MB, free: 4.457 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.277e-05/0.5356, allocations: 75.28 kB / 477.7 MB, free: 4.383 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.982e-05/0.5356, allocations: 34.48 kB / 477.8 MB, free: 4.344 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.5356, allocations: 79.28 kB / 477.8 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-05/0.5357, allocations: 79.22 kB / 477.9 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.571e-05/0.5357, allocations: 158.5 kB / 478.1 MB, free: 4.031 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.264e-05/0.5358, allocations: 79.22 kB / 478.1 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.067e-05/0.5358, allocations: 158.5 kB / 478.3 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.5359, allocations: 75.28 kB / 478.4 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.5359, allocations: 79.23 kB / 478.4 MB, free: 3.645 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 0.0001023/0.536, allocations: 251.5 kB / 478.7 MB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.379e-05/0.5361, allocations: 150.6 kB / 478.8 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.5362, allocations: 109 kB / 478.9 MB, free: 3.117 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.154e-05/0.5362, allocations: 108.7 kB / 479.1 MB, free: 3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.567e-05/0.5363, allocations: 176.3 kB / 479.2 MB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.888e-05/0.5364, allocations: 180.2 kB / 479.4 MB, free: 2.637 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-05/0.5364, allocations: 188.2 kB / 479.6 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.5366, allocations: 381.8 kB / 480 MB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.554e-05/0.5367, allocations: 105 kB / 480.1 MB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.5367, allocations: 109.9 kB / 480.2 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.562e-05/0.5368, allocations: 180.3 kB / 480.3 MB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-05/0.5368, allocations: 176.3 kB / 480.5 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.207e-05/0.5369, allocations: 184.2 kB / 480.7 MB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.851e-05/0.5369, allocations: 176.3 kB / 480.9 MB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.5371, allocations: 311.7 kB / 481.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.5372, allocations: 182.5 kB / 481.3 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.467e-05/0.5372, allocations: 180.2 kB / 481.5 MB, free: 368 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.557e-05/0.5373, allocations: 112.9 kB / 481.6 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.5374, allocations: 180.3 kB / 481.8 MB, free: 60 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/0.5374, allocations: 105 kB / 481.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.761e-05/0.5375, allocations: 83.28 kB / 482 MB, free: 15.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5375, allocations: 0 / 482 MB, free: 15.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000634/0.5381, allocations: 163.8 kB / 482.2 MB, free: 15.71 MB / 362.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.001283/0.5394, allocations: 1.208 MB / 483.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.096e-05/0.5395, allocations: 11.94 kB / 483.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5395, allocations: 0 / 483.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.5395, allocations: 0 / 483.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.5398, allocations: 0.5193 MB / 483.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.5402, allocations: 252.6 kB / 484.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.5405, allocations: 0.6729 MB / 484.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.127e-05/0.5405, allocations: 7.938 kB / 484.8 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.5405, allocations: 15.42 kB / 484.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5405, allocations: 0 / 484.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.5672, allocations: 3.39 MB / 488.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002476/0.5675, allocations: 154.8 kB / 488.4 MB, free: 9.406 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.213, allocations: 0 / 488.4 MB, free: 9.406 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)