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-master/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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.001173/0.001173, allocations: 108 kB / 15.6 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.001156/0.001156, allocations: 193 kB / 16.53 MB, free: 6.391 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006264/0.006264, allocations: 1.01 MB / 291.4 MB, free: 1.262 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.91 kB / 352.2 MB, free: 6.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0804/0.08163, allocations: 49.65 MB / 401.8 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002019/0.08368, allocations: 1.175 MB / 403 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002702/0.08639, allocations: 2.03 MB / 405 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.782e-05/0.08642, allocations: 0 / 405 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.585e-05/0.08645, allocations: 0 / 405 MB, free: 1.832 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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-master/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.001016/0.08748, allocations: 462 kB / 405.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.206e-06/0.08749, allocations: 0 / 405.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.177e-05/0.08753, allocations: 11.92 kB / 405.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.08758, allocations: 4 kB / 405.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.51e-05/0.0876, allocations: 3.938 kB / 405.5 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01053/0.09813, allocations: 7.984 kB / 405.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.09815, allocations: 4 kB / 405.5 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008187/0.09898, allocations: 447.5 kB / 405.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.482e-06/0.099, allocations: 0 / 405.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.09902, allocations: 3.938 kB / 405.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004991/0.09953, allocations: 351.5 kB / 406.3 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.09954, allocations: 0 / 406.3 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.09955, allocations: 0 / 406.3 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.09956, allocations: 0 / 406.3 MB, free: 0.5664 MB / 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.0003739/0.09994, allocations: 411.7 kB / 406.7 MB, free: 120 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.09998, allocations: 12.03 kB / 406.7 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001106/0.1001, allocations: 106 kB / 406.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.36e-05/0.1002, allocations: 76.22 kB / 406.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.1003, allocations: 251.5 kB / 407.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/0.1004, allocations: 158.9 kB / 407.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.1004, allocations: 154.5 kB / 407.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.054e-05/0.1005, allocations: 101 kB / 407.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.1005, allocations: 75.28 kB / 407.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.1005, allocations: 150.6 kB / 407.8 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.234e-05/0.1006, allocations: 154.6 kB / 407.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.683e-05/0.1006, allocations: 158.5 kB / 408.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002412/0.1009, allocations: 449.9 kB / 408.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.933e-05/0.101, allocations: 169.1 kB / 408.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.01e-05/0.101, allocations: 88.14 kB / 408.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.101, allocations: 75.28 kB / 408.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.1011, allocations: 109.8 kB / 408.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.1011, allocations: 0 / 408.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.572e-05/0.1012, allocations: 33.69 kB / 409 MB, free: 13.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.1012, allocations: 130.6 kB / 409.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.445e-05/0.1013, allocations: 105.8 kB / 409.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.1013, allocations: 29.7 kB / 409.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.1014, allocations: 80.14 kB / 409.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-06/0.1014, allocations: 0 / 409.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/0.1014, allocations: 13.72 kB / 409.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.1016, allocations: 314.8 kB / 409.6 MB, free: 13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-06/0.1016, allocations: 0 / 409.6 MB, free: 13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-06/0.1016, allocations: 0 / 409.6 MB, free: 13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.324e-05/0.1016, allocations: 75.28 kB / 409.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.788e-05/0.1017, allocations: 79.28 kB / 409.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.466e-05/0.1018, allocations: 37.58 kB / 409.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.1018, allocations: 79.28 kB / 409.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.163e-05/0.1019, allocations: 83.27 kB / 410 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.038e-05/0.1019, allocations: 158.5 kB / 410.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.981e-05/0.102, allocations: 75.28 kB / 410.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-05/0.102, allocations: 158.5 kB / 410.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.1021, allocations: 79.22 kB / 410.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.1022, allocations: 79.28 kB / 410.5 MB, free: 12.1 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 0.0001224/0.1023, allocations: 264.3 kB / 410.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.301e-05/0.1023, allocations: 104.9 kB / 410.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.779e-05/0.1024, allocations: 108.1 kB / 411 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-05/0.1025, allocations: 184.2 kB / 411.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-05/0.1025, allocations: 184.2 kB / 411.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-05/0.1026, allocations: 176.5 kB / 411.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.1028, allocations: 413.1 kB / 411.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.661e-05/0.1029, allocations: 105 kB / 412 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.275e-05/0.1029, allocations: 109 kB / 412.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.779e-05/0.103, allocations: 184.2 kB / 412.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.915e-05/0.103, allocations: 184.2 kB / 412.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.112e-05/0.1031, allocations: 184.2 kB / 412.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.473e-05/0.1031, allocations: 180.3 kB / 412.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.1033, allocations: 312.1 kB / 413.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.1034, allocations: 182.1 kB / 413.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.1035, allocations: 180.2 kB / 413.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.1036, allocations: 101 kB / 413.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.2e-05/0.1036, allocations: 184.3 kB / 413.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.41e-05/0.1037, allocations: 108.9 kB / 413.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.28e-05/0.1038, allocations: 87.27 kB / 414 MB, free: 8.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1038, allocations: 0 / 414 MB, free: 8.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004434/0.1042, allocations: 124 kB / 414.1 MB, free: 8.293 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.001259/0.1055, allocations: 1.186 MB / 415.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 3.209e-05/0.1055, allocations: 7.938 kB / 415.3 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1055, allocations: 0 / 415.3 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.1055, allocations: 4 kB / 415.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.1059, allocations: 455.7 kB / 415.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.1072, allocations: 1.626 MB / 417.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.1074, allocations: 0.6805 MB / 418 MB, free: 4.277 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.934e-06/0.1075, allocations: 3.938 kB / 418 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.1075, allocations: 15.5 kB / 418 MB, free: 4.258 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1075, allocations: 0 / 418 MB, free: 4.258 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.1289, allocations: 3.961 MB / 422 MB, free: 348 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.672/7.801, allocations: 2.25 kB / 422 MB, free: 348 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)