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/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.11.0+X/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 108 kB / 15.63 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 194.9 kB / 16.55 MB, free: 6.637 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.448/1.448, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005974/0.005974, allocations: 0.9982 MB / 291.4 MB, free: 1.277 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 71.91 kB / 352.2 MB, free: 6.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09601/0.09716, allocations: 49.64 MB / 401.8 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002116/0.09931, allocations: 1.19 MB / 403 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002606/0.1019, allocations: 2.026 MB / 405.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.63e-05/0.102, allocations: 0 / 405.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.102, allocations: 0 / 405.1 MB, free: 1.801 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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.11.0+X/readRealParameter.mo:2:1-99:22:writable] Warning: Pure function 'KeyWordIO.readRealParameter' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.0009924/0.103, allocations: 453.3 kB / 405.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.276e-06/0.103, allocations: 3.938 kB / 405.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.529e-05/0.103, allocations: 11.92 kB / 405.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.505e-05/0.1031, allocations: 4 kB / 405.5 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.486e-05/0.1031, allocations: 7.938 kB / 405.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.1033, allocations: 4 kB / 405.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.893e-06/0.1033, allocations: 0 / 405.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006935/0.104, allocations: 499.5 kB / 406 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.13e-06/0.104, allocations: 0 / 406 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.104, allocations: 7.875 kB / 406 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.1045, allocations: 351.5 kB / 406.4 MB, free: 500 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1045, allocations: 0 / 406.4 MB, free: 500 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1045, allocations: 0 / 406.4 MB, free: 500 kB / 334.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1045, allocations: 0 / 406.4 MB, free: 500 kB / 334.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.0003718/0.1049, allocations: 411.7 kB / 406.8 MB, free: 40 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1049, allocations: 12.03 kB / 406.8 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.782e-05/0.105, allocations: 106 kB / 406.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.105, allocations: 80.22 kB / 407 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.1052, allocations: 247.6 kB / 407.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.1052, allocations: 150.9 kB / 407.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/0.1053, allocations: 162.4 kB / 407.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.238e-05/0.1053, allocations: 101 kB / 407.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.1054, allocations: 79.22 kB / 407.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.1054, allocations: 150.6 kB / 407.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.968e-05/0.1055, allocations: 154.5 kB / 408 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.562e-05/0.1056, allocations: 154.6 kB / 408.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002576/0.1059, allocations: 449.9 kB / 408.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.75e-05/0.106, allocations: 177 kB / 408.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.292e-05/0.106, allocations: 84.14 kB / 408.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.1061, allocations: 75.28 kB / 408.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.048e-05/0.1061, allocations: 109.8 kB / 409 MB, free: 13.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.1061, allocations: 0 / 409 MB, free: 13.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.296e-05/0.1062, allocations: 29.75 kB / 409 MB, free: 13.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.1062, allocations: 130.6 kB / 409.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.672e-05/0.1063, allocations: 105.8 kB / 409.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.1064, allocations: 25.7 kB / 409.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.613e-05/0.1064, allocations: 80.14 kB / 409.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.313e-06/0.1064, allocations: 0 / 409.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/0.1064, allocations: 17.72 kB / 409.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1066, allocations: 318.8 kB / 409.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.317e-06/0.1066, allocations: 0 / 409.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-06/0.1066, allocations: 0 / 409.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.484e-05/0.1066, allocations: 75.28 kB / 409.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.048e-05/0.1066, allocations: 79.22 kB / 409.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.361e-05/0.1067, allocations: 33.64 kB / 409.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.1067, allocations: 79.28 kB / 410 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/0.1067, allocations: 83.22 kB / 410.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.291e-05/0.1068, allocations: 154.6 kB / 410.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.132e-05/0.1068, allocations: 79.22 kB / 410.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.585e-05/0.1069, allocations: 150.6 kB / 410.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.802e-05/0.107, allocations: 79.27 kB / 410.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.107, allocations: 87.22 kB / 410.6 MB, free: 12.02 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 9.152e-05/0.1071, allocations: 264.3 kB / 410.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.1071, allocations: 101 kB / 410.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.1072, allocations: 112 kB / 411.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-05/0.1073, allocations: 180.2 kB / 411.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.737e-05/0.1073, allocations: 184.2 kB / 411.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.474e-05/0.1074, allocations: 184.3 kB / 411.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.1076, allocations: 409.1 kB / 412 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-05/0.1076, allocations: 108.9 kB / 412.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-05/0.1077, allocations: 105 kB / 412.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.612e-05/0.1077, allocations: 184.2 kB / 412.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.645e-05/0.1078, allocations: 180.3 kB / 412.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-05/0.1078, allocations: 180.2 kB / 412.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.516e-05/0.1079, allocations: 184.2 kB / 412.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.108, allocations: 304.1 kB / 413.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.1081, allocations: 186.1 kB / 413.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.1082, allocations: 180.3 kB / 413.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.836e-05/0.1083, allocations: 104.9 kB / 413.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.1084, allocations: 188.3 kB / 413.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.1084, allocations: 104.9 kB / 414 MB, free: 8.426 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1085, allocations: 83.27 kB / 414 MB, free: 8.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1085, allocations: 0 / 414 MB, free: 8.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000416/0.109, allocations: 128 kB / 414.2 MB, free: 8.219 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.001305/0.1103, allocations: 1.196 MB / 415.4 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 3.733e-05/0.1103, allocations: 3.938 kB / 415.4 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1103, allocations: 0 / 415.4 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.496e-06/0.1103, allocations: 4 kB / 415.4 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.1107, allocations: 459.6 kB / 415.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.1119, allocations: 1.63 MB / 417.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.1122, allocations: 0.6766 MB / 418.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.017e-05/0.1123, allocations: 4 kB / 418.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.1123, allocations: 11.44 kB / 418.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1123, allocations: 0 / 418.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.1345, allocations: 3.959 MB / 422.1 MB, free: 272 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.418/5.553, allocations: 3.938 kB / 422.1 MB, free: 268 kB / 350.1 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/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)